ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Parameters to be included in the following rosservice call:rosservice call /re_comm/request_2d_map

asked 2013-08-22 02:19:26 -0500

Devasena Inupakutika gravatar image

updated 2013-11-18 19:22:51 -0500

tfoote gravatar image

Could anyone please let me know what parameters have to included in the following service call to get 2d map from roboearth: rosservice call /re_comm/request_2d_map

I didn't get any result when I enter this way:

rosservice call /re_comm/request_2d_map "envUID: 'octomap.octomap3343'
srdl: 'turtlebot_roomba.owl'
baseScannerLink: 'kinect_depth_frame'
targetMapName: 'my_map'" 
success: False
map: 
  name: ''
  data: []
meta: 
  name: ''
  data: []

Please let me know what should be included in srdl and baseScannerLink fields.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2013-08-22 22:35:35 -0500

moritz gravatar image

The SRDL has to be the complete OWL file content as a string, not only the file name (the server uses this content to compute the pose of the laser scanner to be used for generating the 2D map, so the local file name does not work). The baseScannerLink also needs to be a full OWL IRI of the respective link in the SRDL file, e.g. 'http://ias.cs.tum.edu/kb/pr2.owl#pr2_base_laser_link'.

You can have a look at the file re_comm/src/roboearth/wp5/REclients.java for examples how the services are used.

edit flag offensive delete link more

Comments

Thank you!

Devasena Inupakutika gravatar image Devasena Inupakutika  ( 2013-08-31 08:21:10 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2013-08-22 02:19:26 -0500

Seen: 167 times

Last updated: Aug 22 '13