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

motion planning with kinect

asked 2014-12-12 07:14:34 -0600

bridos gravatar image

Hello, I would like to generate plans for my robot with rviz using the kinect for environment representation. Can somebody mention the necessary steps in order to do that? Up to now I have set up my urdf with the kinect in it, I visualize pointclouds in rviz but when I ask for a plan, the robot joints move through the pointcloud image. I have created the config files according to tutorials, any ideas and suggestions are welcome, thank you in advance for your time.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2014-12-12 09:29:43 -0600

Rabe gravatar image

I guess you are using MoveIt (Not because I'm good at guessing, but because that's the only one I know the answer for)

In case you are using MoveIt, you need to set up the Kinect the way described in this tutorial. This will generate an octomap, representing your obstacles.

In case you are using another framework for motion planning, you should say which one, since the answer depends on that fact

edit flag offensive delete link more



@bridos said: Hello, thank you for your reply. Yes I am using Moveit. I have set up the files according to the tutorial. Is there anything else that needs to be done? Like remapping incoming clouds from one topic to another (as I have seen in other tutorials) or should rviz be good to go?

William gravatar image William  ( 2014-12-15 13:47:57 -0600 )edit

@bridos, please use comments, not answers, to iterate with other people.

William gravatar image William  ( 2014-12-15 13:48:36 -0600 )edit

Depends on your setup. You can tell MoveIt the topic of your PointCloud in the sensors_rgbd.yaml file under point_cloud_topic: [your_point_cloud_topic]. It's important that you have transformations available to your camera lens, otherwise nothing will show up.

Rabe gravatar image Rabe  ( 2014-12-16 00:49:57 -0600 )edit

Hello again, I have things showing up on RVIZ from the camera, but the robot ignores them and moves right through them, it doesn't recognise that as a collision environment

bridos gravatar image bridos  ( 2015-03-03 04:27:44 -0600 )edit

Question Tools

1 follower


Asked: 2014-12-12 07:14:34 -0600

Seen: 549 times

Last updated: Dec 12 '14