Questions tagged [catkin]

catkin is the official build system of ROS. It combines CMake macros and Python scripts to provide some functionality on top of CMake's normal workflow.

254 questions
4
votes
1 answer

Best way to use ROS/catkin with github

I just started working with ROS and want to save my files on github. Unfortunately creates catkin quite a complex file system. How can I manage my own written code on github, since it is quite hidden in the catkin workspace and I don't want to add…
Natjo
  • 2,005
  • 29
  • 75
4
votes
2 answers

CMake External Project for Git Project

I have problems to add an external github project in Cmake. The aim is to use the github package ACADO in a ROS (Catkin) project. The installation instructions can be found here: http://acado.github.io/install_linux.html Please download the toolkit…
DentOpt
  • 77
  • 1
  • 6
3
votes
1 answer

How to completely erase/delete a catkin workspace?

I created a catkin workspace (catkin_ws) as required for ROS (robot operating system). I want to delete/erase the entire workspace since I will be removing ROS. How do I do it?
Vishwad
  • 251
  • 3
  • 18
3
votes
1 answer

CUDA catkin/cmake - undefined reference to `curandCreateGenerator`

I've got an issue with what I believe is a linker error when compiling a CUDA project with catkin. A snippet of the source code is below. When I try to run catkin build I get an error: error In function `curand_init(double*, int,…
Ethan Shafer
  • 68
  • 2
  • 16
3
votes
1 answer

cmake version in catkin_make different from global cmake version?

I'm trying to build some package in ROS using catkin. When I run catkin_make in the top level directory, I got complaint about cmake version: CMake Error at /usr/lib/x86_64-linux-gnu/cmake/ignition-math4/ignition-math4-config.cmake:26…
Kevin Mao
  • 121
  • 1
  • 7
3
votes
1 answer

Cross-Compiling ROS Melodic on RaspberryPi 3B+ Problem

After doing some research, I found that there isn't a single "tried-and-true" way of cross-compiling ROS for RaspberryPi. The best I could come up with was downloading /usr, /lib, and /opt from the target device onto my development machine…
jhill515
  • 894
  • 8
  • 26
3
votes
1 answer

catkin / ROS: How-to specify include path correctly when using submodules

I am building a project using ROS and thus, catkin_make to build my ROS nodes and libraries. The problem I'm facing is: I am using a git submodule in one package (package A) (and thus, I have a hierarchical include folder structure) and I have…
Kai Neumann
  • 351
  • 4
  • 8
3
votes
1 answer

How to solve "rospkg.common.ResourceNotFound" in ros-indigo-ubuntu (14.04)?

I am doing face detection robot using ros. I'm having trouble running the face detection node and am getting the error below: arun@arun-Aspire-V5-121:~$ source /usr/share/setup.launch arun@arun-Aspire-V5-121:~$ source…
Arun Sarathy
  • 31
  • 1
  • 3
3
votes
1 answer

Failure to link Qhull C++ interface in ROS catkin project

I'm having some trouble getting the QHull C++ interface working in a catkin project. My project compiles fine and I've specified the library to be used by the linker, however it fails to link with the following error…
3
votes
1 answer

Not able to run image_transport from cpp code: `Segmentation fault (core dumped)`

I included well image_transport in both my CMake file and packake.xml. Am using ROS Kineltic on ubuntu 16, though I got the same issue on ubuntu 14 with ros indigo and jade. My CMake file is as follows: find_package(catkin REQUIRED COMPONENTS …
Courier
  • 920
  • 2
  • 11
  • 36
3
votes
2 answers

Error setting up catkin workspace

I am following these tutorials: ROS installation in Ubuntu Create your ROS workspace. In step catkin_make i'm getting error: -- The C compiler identification is unknown CMake Error at /usr/share/cmake-2.8/Modules/CMakeDetermineCCompiler.cmake:186…
Manoj
  • 314
  • 1
  • 2
  • 12
3
votes
0 answers

CMAKE with ROS to create external projects locally?

I am working with ROS and wanted to modify the ardrone driver of autonomy lab. Unfortunately I have problems to build external libraries with CMake. The problem is following: The compiling original CMakeLists includes an external…
DentOpt
  • 77
  • 1
  • 6
3
votes
2 answers

QtCreator not indexing include files of a catkin package

I created a ros catkin package and successfully imported it to QtCreator. Despite there is no problem with the compilation, the include directories mentioned in the CMakeLists file of my package are not indexed. What might be the problem? Please…
in4001
  • 656
  • 6
  • 24
2
votes
1 answer

Failed to process package 'rosconsole':

I have installed ROS noetic on raspian buster but it get gives error when this command is implemented as per the procedure mentioned in http://wiki.ros.org/noetic/Installation/Source ./src/catkin/bin/catkin_make_isolated --install…
lari
  • 21
  • 2
2
votes
0 answers

Want Clang to ignore multiple directories when performing diagnostics

I have the problem that clang not only checks my code but also 3rd party lib's and automatic generated code for the diagnostic flags which I provided. How can I tell not to do so? I use catkin-tools and clang to build my c++ project where I use a…
Westranger
  • 1,308
  • 19
  • 29
1
2
3
16 17