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

Kinect with arm_navigation

asked 2011-08-16 04:02:15 -0500

Jake gravatar image

updated 2016-10-24 09:03:25 -0500

ngrennan gravatar image

Does anyone have any sample code for adding a kinect sensor to the arm_navigation code that is generated by the planning_environment wizard in Electric? I had it working in diamondback but I am having problems getting the collision map to show up.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2011-08-18 10:29:47 -0500

Matt Klingensmith gravatar image

I forgot, you might also want to look at collider:

http://www.ros.org/wiki/collider

In fact, collider might do exactly what you're asking.

edit flag offensive delete link more
6

answered 2011-08-16 09:50:16 -0500

Matt Klingensmith gravatar image

The arm navigation wizard uses the new environment server code released with electric. This tutorial explains in detail how the environment server works:

http://www.ros.org/wiki/arm_navigation/Tutorials/Understanding%20the%20Planning%20Scene%20architecture

Basically, what you'll eventually want to do is generate a collision map from your kinect point cloud, and then publish a new planning scene containing the collision map to the environment server. After this, the collision map will be visible in the Planning Components Visualizer and Warehouse Viewer.

You will want to publish one of these messages: http://www.ros.org/doc/electric/api/arm_navigation_msgs/html/msg/PlanningScene.html

And filling in the CollisionMap member of the message with one of these messages: http://www.ros.org/doc/electric/api/arm_navigation_msgs/html/msg/CollisionMap.html

I believe that the pr2_arm_navigation_perception package has examples of how to do this.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2011-08-16 04:02:15 -0500

Seen: 609 times

Last updated: Aug 18 '11