Robotics StackExchange | Archived questions

fail to call service /get_planning_scene

Dear all,

What I am doing is receiving depth and rgb images and converting them into pointcloud which will be used by moveit to generate actomap. I have successfully used freenect to build octomap in moveit. Everything worked fine.

Since I need to receive images from another camera, I wrote code to receive images and publish on certain topics to let depthimageproc to subscribe and do the process. I have finished all the things about generating pointcloud and it did have pointcloud published on the certain topic. But when I ran move_group and rviz, there were one warning and error. Warning is

Failed to call service /get_planning_scene, have you launched move_group?.

Error is

Unable to connect to move_group action server within allotted time.

But I did run movegroup node since I can see movegroup node was subscribing the topic that published pointcloud. Does it relate with tf? Since before I ran static transform publisher for my world and camera frames, rviz won't crash because of failure to call service.

Thanks for any help in advance.

Asked by Oh233 on 2018-02-22 20:22:37 UTC

Comments

This error is typically seen if move_group doesn't load (or can't successfully initialise) some particular plugins. Are there any additional errors or warnings? Did you change anything in the MoveIt configuration package for your robot?

Asked by gvdhoorn on 2018-02-23 04:46:57 UTC

There was no other warnings and errors and I did change somethings in MoveIt package but it is not related with scene but with planning context. Any suggestions of how or where to start to debug this problem?

Asked by Oh233 on 2018-02-23 16:26:48 UTC

can you please post the output of : rosservice list | grep get_planning_scene?

Asked by Oscar Lima on 2018-10-17 14:09:44 UTC

i am facing similar problem and my output to this cmd shows "/get_planning_scene"

Asked by dharmendra on 2020-03-31 04:59:30 UTC

this is not a solution, but if you click "reset" button on the bottom bar in RViz, everything is refreshed and planning stuff appear...

Asked by roberto colella on 2020-05-17 11:00:54 UTC

Answers