Robotics StackExchange | Archived questions

Android_tutorial_teleop: visualizationView.addLayer

Hi! I have problems when running the "androidtutorialteleop". 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 mapserver node running that provides "navmsgs/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 "androidtutorialteleop" to works ok??

Thanks a lot!!

Asked by JMata on 2012-09-24 04:02:11 UTC

Comments

Answers