Android_tutorial_teleop: visualizationView.addLayer [closed]

asked 2012-09-24 04:02:11 -0500

JMata gravatar image

updated 2014-01-28 17:13:44 -0500

ngrennan gravatar image

Hi! I have problems when running the "android_tutorial_teleop". The tutorial uses this commands:

visualizationView.addLayer(new OccupancyGridLayer("map"));
visualizationView.addLayer(new PathLayer("move_base/NavfnROS/plan"));
visualizationView.addLayer(new PathLayer("move_base_dynamic/NavfnROS/plan"));
visualizationView.addLayer(new LaserScanLayer("scan"));
visualizationView.addLayer(new PoseSubscriberLayer("simple_waypoints_server/goal_pose"));
visualizationView.addLayer(new PosePublisherLayer("simple_waypoints_server/goal_pose", this));
visualizationView.addLayer(new RobotLayer("base_footprint"));

but when running on my tablet it doesn't draw nothing. The screen only shows the virtualJoystic node. I have a map_server node running that provides "nav_msgs/OccupancyGrid" messages in "/map" topic but I can't receive the map via this latched topic as the documentation says (http://www.ros.org/wiki/map_server#Parameters).

Does anybody have the same problem?

How do you run the "android_tutorial_teleop" to works ok??

Thanks a lot!!

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2015-04-23 03:29:28.097450