ROS Tests: catkin_add_executable_with_gtest does not rebuild target
Basically, when I switched from `catkin_add_gtest` to `add_executable_with_gtest` to make sure the test is invoked only from a .test file, catkin_make no longer recompiles my cpp file with the tests....
View ArticleJetBrains CLion IDE setup for ROS
I've downloaded it a couple of days ago, but I still have not figure out how to configure it correctly to work with ROS. If I import a simple ROS project it gives me the following error, but I can...
View ArticleEquivalent of "catkin_make -DCMAKE_BUILD_TYPE=Release" with catkin build?
Dear All, For a release configuration with optimizations and no debugging symbols, I can use the Release build type: catkin_make -DCMAKE_BUILD_TYPE=Release I would like to know if there is something...
View ArticleCommit generated CMakeLists.txt in Git?
When I build the ROS project I'm working on, I have a generated `CMakeLists.txt` in my root folder that points to `/opt/ros/melodic/share/catkin/cmake/toplevel.cmake`. We already have it committed,...
View ArticleBuilding a project in my catkin workspace : Dependency error
I want to build my project in catkin workspace. After executing `catkin_make` i got this error: add_subdirectory(openni_tracker) -- Using these message generators:...
View ArticleCompilling library using catkin
I am new at ROS. I want to use this library (https://github.com/littlevgl/lvgl) in my project and it contains many headers and .c files, so what better way to add it into my package. Maybe there is a...
View ArticleShared library not found when run from install space
I am trying to install ROS packages on a system using the `catkin_make install` command. Everything builds just fine. Also, when running from the devel space, everything works as expected. However,...
View ArticleMoveIt Tutorials not building on ROS Kinetic
I cloned the `kinetic-devel` repository for `moveit_tutorials` having made no modifications whatsoever but when go to build with `catkin build`, I get this error: In file included from...
View ArticleDetermine (sourced) catkin workspace path
After sourcing a Catkin workspace, what is the best way to determine the root path of the sourced workspace? I'm aware of `catkin locate`, however this doesn't have the desired behavior because it does...
View ArticleDetermine path of (sourced) catkin workspace?
After sourcing a Catkin workspace, what is the best way to determine the root path of the sourced workspace? I'm aware of `catkin locate`, however this doesn't have the desired behavior because it does...
View ArticleTreat catkin_package() version mismatch as error
Hello everyone, I wanted to know whether it is possible to treat a version mismatch in my catkin packages as an error. Right now I'm getting a warning like: CMake Warning at...
View ArticleExtend colcon workspace without sourcing setup.sh
Using colcon, is there a way to [Explicitly Specifying Workspace Chaining](https://catkin-tools.readthedocs.io/en/latest/verbs/catkin_config.html#explicitly-specifying-workspace-chaining) without...
View ArticleCatkin EmPY variables
I'm trying to create an env-hook for Catkin, and the common approach seems to be to use EmPY templates of shell scripts. I'm basically following the example of...
View ArticleWhat is the difference between two setup.bash files ?
In both wiki-ros tutorials and some ros programming textbooks, the first step is to add environment variables of ROS. To do this, we execute the following command: `source /opt/ros/indigo/setup.bash`....
View ArticleThe differences between dependency tags
I am new to Robotic Operating System, so this can be fundamental question. When I was investigating dependency tags of `package.xml` file of my newly-created package, I faced two dependency tags that I...
View ArticleRelative Names and Default Namespace
As you know, nodes, topics, services and parameters have an identification name. By using these names, we can access and reference them. Generally, there are two main name concepts: `global names` and...
View ArticleHow to catkin_package to bloom Debian library packages?
How does one configure a `catkin_package` such that, when bloomed, it produces a Debian library pair? More exactly, for some declared `catkin_package` as part of the `foobar` project, I want... * a...
View ArticleHow to test the private functions inside a ROS node?
Hello, I have a package that contains a single executable which relies on the messages implemented in another three packages and I would like to test this executable. So far I think I understand how...
View ArticleNode Unit test: can't find message headers
I am trying to prepare some UTs for a package I have, which contains an executable that relies on messages defined on other packages I created. The node compiles and works nicely, and the empty gtest...
View ArticleConvert pcap to bag using ROS Jade
I am trying to convert a pcap file into a .bag file. I am using ROS Jade on Ubuntu 14.04. I am not good at working with catkin workspaces. I found a question that had been asked before here...
View Article