sea-bass / turtlebot3_behavior_demos

Example repository for autonomous behaviors using TurtleBot3, as well as Docker workflows in ROS based projects.
MIT License
270 stars 53 forks source link

KeyError: 'location_file' #5

Closed RicoJia closed 2 years ago

RicoJia commented 2 years ago

Hi, When I run make demo-behavior, I see KeyError: 'location_file'. In autonomy_node.py, looks like we are loading "location_file" ros parameter. However, I see that it's only being loaded in tb3_world.launch. I think that's probably reason why

sea-bass commented 2 years ago

Good catch! This caused an error in make demo-behavior-cpp as well for the exact same reason.

I added a wait to both nodes so you can actually start the behavior launch files before the world and the nodes will just wait for the world to start up.

Thanks!