RosClient icon indicating copy to clipboard operation
RosClient copied to clipboard

How to subscribe /map?

Open DavidHan008 opened this issue 7 years ago • 5 comments

my ubnutu 14.04 and ROS indigo I run the app want to subscribe the map but no data can you help me? how to use ? please thanks

DavidHan008 avatar Jul 01 '17 07:07 DavidHan008

Do you install rosbridge-suite and start rosbridge_server? you can see my blog

hibernate2011 avatar Jul 05 '17 08:07 hibernate2011

大神,我是这样做的,我启动小车的地盘,URDF模型,和激光雷达的节点,然后用gmapping构建的地图。我订阅到的/map的数据全是-1,没有你博客那个地图界面,这个地图的界面是怎么弄呢/。

DavidHan008 avatar Jul 06 '17 00:07 DavidHan008

那估计你的 /map Topic 有问题

hibernate2011 avatar Jul 06 '17 02:07 hibernate2011

大神,那是我下载啊安卓程序的问题,还是我的用rosrun gmapping slamgmapping 这个节点的问题呢?我在rviz当中吧map点开是有地图的

DavidHan008 avatar Jul 06 '17 12:07 DavidHan008

大神,你的这个通信协议是 我在github上面看到的,ros java android app 链接如下:https://github.com/rosjava/android_apps。有什么不同,我能否在安卓设备上面,点击一个button。运行一个节点。 我原来在QT当中实现过,点击button 然后运行一个ROS节点。说白了就是 std::sysyem()函数,不知道在JAva当中能不能实现同样的功能?

DavidHan008 avatar Aug 05 '17 02:08 DavidHan008