Cannot get ros2 navigation2 example to display collision

asked 2021-11-20 01:39:29 -0500

Hello, I'm new to ROS. I am currently trying out ROS2 Nav2 for a project. Currently on Ubuntu 20.04.3 LTS, and ROS2 Foxy. I can't seem to get the example listed here (https://navigation.ros.org/setup_guid...) to work, even when copying and pasting the exact same code. Here is the code for my urdf: https://pastebin.com/1fT9pMEg, launch file: https://pastebin.com/XMxihsng, rviz: https://pastebin.com/9wQGSHBp, package.xml: https://pastebin.com/uu2vZq7U. I have built it using colcon build in the relevant project workspace folder, and sourced the setup file (both after changing the code), however when I run ros2 launch sam_bot_description display.launch.py , I can't seem to see the collision even if I checked it under robot model. If it helps, rviz2 also gives a warning: [rviz2-3] Warning: Invalid frame ID "drivewhl_l_link" passed to canTransform argument source_frame - frame does not exist [rviz2-3] at line 133 in /tmp/binarydeb/ros-foxy-tf2-0.13.12/src/buffer_core.cpp

edit retag flag offensive close merge delete