turtlebot / turtlebot4

Turtlebot4 common packages.
Apache License 2.0
96 stars 43 forks source link

Nav2 map frame does not exist #274

Closed mbergman257 closed 11 months ago

mbergman257 commented 11 months ago

Please provide the following information:

To Reproduce Provide the steps to reproduce:

  1. Successfully generate and save map with slam_sync (ref: https://turtlebot.github.io/turtlebot4-user-manual/tutorials/generate_map.html) Turned off TB4...
  2. Turn on Turtlebot4
  3. ssh into rpi, run: ros2 launch turtlebot4_navigation nav_bringup.launch.py slam:=off localization:=true map:=/home/ubuntu/lab.yaml (ref: https://turtlebot.github.io/turtlebot4-user-manual/tutorials/navigation.html)
  4. Open desktop terminal and run: ros2 launch turtlebot4_viz view_robot.launch.py

Errors

tb4_debug2

Other notes I've tried a lot of things, but I'm not sure what to do now. Looks like the map needs to be published and a tf between map and base_link is needed? Thanks-

hilary-luo commented 11 months ago

After launching localization did you set the 2d Pose Estimate? If you are not sure what I am referring to see this section of the navigation tutorial.

mbergman257 commented 11 months ago

facepalm yes I forgot to do this step. I should go to bed. Thanks!