Robotics StackExchange | Archived questions

A Multi Map Navigation Question: "set_map" service

Hello there,

My question pertains to the multimapnavigation package. I pulled it from http://jks-ros-pkg.googlecode.com/svn/trunk/pr2_coffee

Question:

Why is it that I do not see "setmap" as a ROS service when I tried to follow the wiki here: http://www.ros.org/wiki/multimap_navigation

Context

I am building an Autonomous Underwater Vehicle and getting it to path plan with EKF'ed odometery. I managed to tune "move_base" parameters to give reasonably good motion in the X-Y plane. The depth PID also gives fairly stable depth control.

I am exploring the use of multi map navigation to hack out a system that would allow the AUV navigate in the X-Y plane of a few depth setpoints.

Prelude

*I actually have a few other qs about multimapnavigation but it seems to be the practice here to ask 1 qs per post so I'll just ask one here.

Thank you for your time. appreciate any answers, insight or directions.

have a good day.

Asked by Lure_Angler on 2013-01-28 04:56:40 UTC

Comments

Sorry for the late response. This most likely means that multi-map navigation can't start up for some reason. Here are a set of steps to troubleshoot, based on the source code.

Asked by tpratkanis_wg on 2013-04-01 12:58:54 UTC

  1. Is the launch file that starts the multi_map_navigation node actually getting run? See if it is in the results of 'rosnode list'. If not, then roslaunch is for some reason not getting to that file.

Asked by tpratkanis_wg on 2013-04-01 12:59:24 UTC

  1. Are all map_store services there? The system won't advertise set_map until map_store/list_maps, map_store/publish_map, and map_store/dynamic_map are connected up.

Asked by tpratkanis_wg on 2013-04-01 13:00:58 UTC

  1. What is your transition_types parameter set to? If there is no transition_types then it will default to requesting a bunch of transition actions to be present. Add to your node launch if it is not there.

Asked by tpratkanis_wg on 2013-04-01 13:02:46 UTC

Do you get "You must specify a definition_file" in any of your logs (check ~/.ros/logs/ with grep)? If so, then you have not properly specified a file for definitions of the map - the yaml file that links them all together.

Asked by tpratkanis_wg on 2013-04-01 13:04:13 UTC

Do you get "Waiting for position" in your logs (check with grep)? If so, then AMCL or another localization system needs to be running - the robot is not getting its position.

Asked by tpratkanis_wg on 2013-04-01 13:05:08 UTC

Answers