DaniGarciaLopez / ros2_explorer

In this repo we use Turtlebot 3 along with ROS 2 and Gazebo to explore an unknown csv environment, navigate through it and create a map
88 stars 21 forks source link

Invalid frame ID "map" passed to canTransform argument target_frame - frame does not exist #6

Closed cataclism closed 5 months ago

cataclism commented 1 year ago

I have a problem when I launch the map. I get this error:

[rviz2-7] Warning: Invalid frame ID "map" passed to canTransform argument target_frame - frame does not exist

[rviz2-7] at line 156 in /tmp/binarydeb/ros-galactic-tf2-0.17.4/src/buffer_core.cpp

What happens is that the robot goes straight and then it crashes on the wall as it was not "sensing it"

I've downloaded the package as said. I'm using ROS2 Galactic

DaniGarciaLopez commented 1 year ago

If the frame "map" is not being published most likely there is a problem with cartographer. Check if you didn't receive any other warnings or errors and all nodes are running. I've not personally tried this repo in galactic, but it should work fine as we didn't detected any major incompatibilities in humble.