2
votes
Accepted
Cmake error for ROS - cannot find the package
Try installing turtlebot3 messages using the following command
sudo apt install ros-noetic-turtlebot3-msgs
2
votes
How to use arbitrary version of OpenCV
In case someone comes up here looking for how to use the source installed OpenCV installation with Python, look for following.
When you build the OpenCV installation, make sure to add following ...
1
vote
I am trying to make a plugin in ROS but the same error always happear:
Package Visibility
If you are going to build in separate catkin_workspace in your user account, and then use them at the same time, you need to make the package(s) available by executing cmd ...
1
vote
Accepted
Ros2 Link library plugin hardware with other library
The error was that I tried to inherit the robot_library library class from Node.
There is no need to do that)
1
vote
How to add command line tools for math to Gazebo?
The first step I'd take is to completely understand another gz command line tool.
https://github.com/gazebosim/gz-tools/
Each subcommand is implemented in a plugin that belongs to a specific
Gazebo ...
1
vote
How to add wiringPi library with cmake on vscode?
Check the lib installed
sudo apt-get install wiringpi
And try
find_library
and
...
1
vote
ROS 2 cross-compile cannot handle custom dependency
I think packages that you refer to are not installed in correct directory which will be sysroot that your build system refer to.
Actually, there are two header file including, one is including with &...
1
vote
Accepted
Colcon build does not build all of my packages (after I deleted and reinstalled older cmake)
I just solved it myself.
...
1
vote
ROS2 - CMake Error - ament_target_dependencies() the first argument must be a valid target name
Cmake is sequential, you never actually made your library before you try to link it. Switch the order:
...
1
vote
Accepted
Compiler issues using Raspberry Pi 4B
Finally found a solution looking at the source code of colcon_cmake:
colcon is using the number of cpu cores in case there is no MAKEFLAGS
already defining (see code below).
So, in my case the ...
1
vote
How to use libSegFault with ROS node(let)s?
It turns out that (as shown here) I had to set the LD_PRELOAD environment variable prior to starting the nodelet, for example:
...
1
vote
Error: Could not configure catkin workspace: Cannot load environment from resultspace "/opt/ros/humble"
You're installing ROS 2 Humble, but you're following ROS 1 tutorials.
You should clear your workspace and start over following the humble tutorials
https://docs.ros.org/en/humble/Tutorials.html
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
cmake × 521ros × 251
catkin × 127
catkin-make × 50
ros-kinetic × 49
ros2 × 41
c++ × 32
ros-melodic × 32
rosbuild × 19
colcon × 19
ament × 15
opencv × 14
ros-indigo × 13
build × 13
package.xml × 13
pcl × 12
library × 12
gazebo × 10
rosmake × 10
roscpp × 10
ros-groovy × 9
qt × 9
include × 9
make × 9
ros-humble × 8