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 depth_image_proc 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 move_group node since I can see move_group 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.
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?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?
can you please post the output of :
rosservice list | grep get_planning_scene
?i am facing similar problem and my output to this cmd shows "/get_planning_scene"
this is not a solution, but if you click "reset" button on the bottom bar in RViz, everything is refreshed and planning stuff appear...