Why can't amcl subcribe /map topic and call static_map service in a rapp [closed]

asked 2014-05-09 04:30:06 -0600

scopus gravatar image

updated 2014-05-09 16:24:43 -0600

As the instruction of amcl in ros wiki. The amcl node should call static_map service. When "use_map_topic " is set to be true. “AMCL will subscribe to the map topic rather than making a service call to receive its map”

But after I create a rapp which I have stated in the question here, the info of /sotbot/amcl is listed as follows. it doesn't call service /softbot/static_map which is provided by /softbot/map_sever. Why this happen and how to sovle it?

Node [/softbot/amcl]
Publications: 
 * /softbot/amcl/parameter_updates [dynamic_reconfigure/Config]
 * /softbot/particlecloud [geometry_msgs/PoseArray]
 * /softbot/softbot_amcl_pose [geometry_msgs/PoseWithCovarianceStamped]
 * /tf [tf2_msgs/TFMessage]
 * /rosout [rosgraph_msgs/Log]
 * /softbot/amcl/parameter_descriptions [dynamic_reconfigure/ConfigDescription]

Subscriptions: 
 * /tf [tf2_msgs/TFMessage]
 * /tf_static [unknown type]
 * /softbot/initialpose [unknown type]
 * /softbot/scan [unknown type]

Services: 
 * /softbot/amcl/set_parameters
 * /softbot/request_nomotion_update
 * /softbot/amcl/get_loggers
 * /softbot/global_localization
 * /softbot/amcl/set_logger_level
edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by scopus
close date 2014-05-11 00:02:21