turtlebot / turtlebot_apps

A group of simple demos and exmaples to run on your TurtleBot to help you get started with ROS and TurtleBot.
http://www.ros.org/wiki/turtlebot_apps
196 stars 225 forks source link

Change map_nav qt map_server node to pull from environment variable #103

Closed kentsommer closed 10 years ago

kentsommer commented 10 years ago

Change to allow users with install from Debs to change which map to load into map_server for Qt map_nav.

kentsommer commented 10 years ago

Do note, since find is not allowed inside optenv I decided to use env instead since there is no way to set a default that makes any sense and using an empty string as the environment variable doesn't make much sense. This forces the user to set a map otherwise the interaction for map_nav will not load.

The tutorial documentation should include setting the MAP_FILE environment variable before doing the map navigation launch.

stonier commented 10 years ago

Closing this one in favour of supporting with environment hooks as indicated in #104.