rosjava / android_apps

Applications built on top of the rosjava android libraries.
132 stars 112 forks source link

error such service /save_map of type world_canvas_msgs/SaveMap #65

Open DavidHan008 opened 7 years ago

DavidHan008 commented 7 years ago

my android is 4.4.3 API 19. I use the make a map want to save map but no map and no way save map can you help me ? screenshot_2017-08-06-19-58-17

adamantivm commented 7 years ago

@DavidHan008 could you please post a link to the tutorial that you are following? These apps are supposed to be used with a given Turtlebot desktop configuration, which I am not very familiar with. But I am almost sure that this service is something that should be running on a desktop somewhere. Are you properly following the instructions to do that?

DavidHan008 commented 7 years ago

@adamantivm HI I just want to use the app in my car pioneer3DX I use rosaria and lms100 lidar. my lidar toplic is /scan I use gmapping the topic is /map the robot frame is /base_link but is not view anything in the app when I want to save map. the error will happpen. do you have the tutorial use the app in turtlebot?

adamantivm commented 7 years ago

@DavidHan008 unfortunately these apps are unsupported. They were created by a group that is no longer working or maintaining these apps and I am not familiar enough to make them work.

I think these were originally meant to use with android_remocons, which is even less maintained: http://wiki.ros.org/android_remocons

My suggestion is that you try to either search for old information on android_remocons to see if you can make it work on your own (but note it will not be easy and I don't think we will be able to provide much support), or alternatively look into the source code for the applications here in android_apps that you want to use and see if you can disable the parts that you don't use.

jubeira commented 7 years ago

@DavidHan008 as @adamantivm points out, you will have to do some work to make these apps work. As the message says, you need to have a node advertising the save_map service of type world_canvas_msgs/SaveMap. I understand that the node that provides that service is here: https://github.com/corot/world_canvas/tree/master/world_canvas_server. Try downloading that code and starting the node that has that service. If you are able to get that service running, you should be able to save the map. I once tried that out and found that it depends on a mongo database to save the maps. The code to do that is around here: https://github.com/ros-planning/warehouse_ros_mongo. I can't ensure that all this will work out of the box in ROS Kinetic.

I'm sorry that this doesn't provide a clean solution for your problem; you will need to work a bit on that, but at least you can get started and hopefully get it working.

gurpreet433 commented 4 years ago

@DavidHan008 did you get it to work? I am having same issue and already wasted more than 2 days on it :(