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
1
vote
0 answers

Resolve Python Modules of a Catkin Workspace in CLion

I have a catkin workspace that consists of both C++ and Python packages. I have problems in resolving python modules in CLion and I need help with configuring that. I have already copied the top level CMakeLists.txt to my workspace source directory…
T-800
  • 1,543
  • 2
  • 17
  • 26
1
vote
1 answer

CMAKE linker does not find library; but library is found with find_library

I have a catkin library under the Name mylib which I build with catkin build Furthermore, I have a node in which uses functions from this library. I enabled this link as I usually do in the CMakeLists.txt of the node: find_package(catkin REQUIRED…
Felix
  • 79
  • 5
1
vote
1 answer

cmake error with catkin_make, ROS installation

I have created a workspace as catkin_ws. Then, catkin_make was run successful. After I type catkin_create_pkg ros_basics_tutorials std_msgs rospy roscpp and then the all folders and files created in ros_basics_tutorials folder. However After…
Selcuk
  • 109
  • 2
  • 11
1
vote
0 answers

name 'rospy' is not defined

I am trying to run a ros package named - SpartonCompassIMU using rosrun. i do the following : catkin_make source /.../devel/setup.bash rosrun SpartonComapssIMU SpartonCompassIMU.py it gives the following…
Harshit Nagar
  • 368
  • 3
  • 16
1
vote
0 answers

Catkin seperate compilers for different packages

I have two packages in a catkin workspace, one of which must be built with clang and the other must be built with gcc. From what I've read online, changing the compiler inside CmakeLists.txt with set(CMAKE_C_COMPILER "gcc") is frowned upon (and can…
David
  • 252
  • 3
  • 11
1
vote
2 answers

catkin build fails to compile

I am trying to compile a build file for a sample tutorial in ROS packages. The following shows up in the Terminal, Errors << catkin_tools_prebuild:cmake /home/comet/mybot_ws/logs/catkin_tools_prebuild/build.cmake.009.log CMake Error at…
D.0417
  • 13
  • 1
  • 7
1
vote
1 answer

cmake : failing to link against google profiler (gperftools)

I am on ubuntu 16.04. Here what I did: installed gperftools : sudo apt-get install google-perftools libgoogle-perftools-dev downloaded FindGperftools.cmake from: https://github.com/vast-io/vast/blob/master/cmake/FindGperftools.cmake renamed…
Vince
  • 3,979
  • 10
  • 41
  • 69
1
vote
1 answer

ROS Python Script is not executable when catkin build is done

I'm new to ROS. I have developed a ROS python project. : https://github.com/ildoonet/ros-video-recorder After cloning the repo into my ros workspace, It is not executed since scripts don't have a permission to run. It is working fine if I add a…
Ildoo Kim
  • 21
  • 4
1
vote
1 answer

Catkin Workspace is not on the current folder

I am trying to initialize a catkin workspace: create a folder and inside it I created /src then $catkin init, but then the workspace path is shown somewhere else: ABC:~ xxl$ cd spoc_lite_ws/ ABC:spoc_lite_ws xxl$ catkin config Profile: …
MsLate
  • 149
  • 2
  • 10
1
vote
1 answer

how to create Docker image from ROS packges?

I want to create a Docker Image, which includes my ROS packages that I created in catkin_workspace. I have already tried: create a container form official ros-kinetic-xenial. Create a catkin_workspace and send my packages into it. And create a image…
cenk
  • 51
  • 3
1
vote
0 answers

CAP_V4L is not a member of cv in cap_.open

I'm trying launch cv_camera with ros but I couldn't compile this package in ros, I launched this command: catkin_make --only-pkg-with-deps rossumo cv_camera…
jedijs
  • 563
  • 5
  • 14
1
vote
1 answer

ROS catkin_make: rebuild package(s)

I found out that I incorrectly named a dependency "std_msgs" as "std_msg". So I fixed!, but wait, catkin still thinks that lawnbot_description is wants "std_msg" as a dependency even though I fixed the dependency:
Josiah L.
  • 302
  • 1
  • 4
  • 21
1
vote
1 answer

Linking external headers file in ROS package

I am trying to use the Kilobot simulator Kilombo with a ROS package. I am installing Kilombo as normal and then trying to include the Kilombo header file inside the ROS package. The CMakeLists.txt of Kilombo looks like this add_library(sim…
Rabee
  • 637
  • 5
  • 19
1
vote
1 answer

Is it possible run an installing script to download and install all requirements of a ROS package?

I have a ROS package that I want to distribute. It brings some dependencies that can't be installed via pip or package manager. They should be downloaded and installed manually. I wrote an installation script which is working fine, but I want all…
cagatayodabasi
  • 762
  • 11
  • 34
1
vote
1 answer

CMake: How an item in find_package may break a program?

My c++ program was having runtime errors (crash on mutex lock). Exceptions that were not coming directly from my code but from some libraries it used. I started to track down the problem and found out that I had a library (giskard_core, but that…
Lubiluk
  • 704
  • 5
  • 12