-
Notifications
You must be signed in to change notification settings - Fork 5
E Debug ROS node
horverno edited this page Mar 19, 2021
·
1 revision
Build your nodes with :
catkin build [package(optional)] -DCMAKE_BUILD_TYPE=Debug
Run it from the catkin workspace base:
valgrind --leak-check=yes devel/lib/[ros_package_name]/[node_name]
Use roslaunch prefix, add this to your launchfile:
launch-prefix="valgrind"
More tricks with roslaunch prefix:
- https://github.com/facontidavide/cpp_swiss_army_knife/blob/master/profiling_roslaunch_prefix.md
- http://wiki.ros.org/roslaunch/Tutorials/Roslaunch%20Nodes%20in%20Valgrind%20or%20GDB
A tool for diagnosing issues with a running ROS system or launchfiles
Run general checks:
roswtf
Examine a launch file
roswtf mylaunchfile.launch
More about roswtf:
ROS - Visual Studio Marketplace
Debug ROS nodes with VS Code extension (started as rosrun or roslaunch):
English
- Wiki home
ROS2
migration- Version handling processes
- Xavier installation
- Startup Nissan Leaf
- Debug ROS
- Autoware universe
- Autoware msgs
- How to open rosbag files
ROS 2
humble jeston dockerROS 2
DDSROS 2
joystick WSL
Hungarian
- Topics
- Transforms, frames
- Cheatsheet 🔥
- SSH no password
- Boot, systemd
- Diagnostics
- NDT basics
- NDT comparison
- CUDA install
- Szimulátor indítása parkolási feladathoz
- WSL-el kapcsolatos hasznos infók
- GPS-based pointcloud map
- Rviz video
- LIDAR detekció topicjai
Further: