O'Reilly logo

Robot Operating System Cookbook by Kumar Bipin

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

See also…

Until now, you've been working using the PointCloud that is generated by the 3D sensor, which is incorporated in the fetch robot. But, we've previously seen that this is not the only way that we can add perception to MoveIt.

In the following experiment, we will see how we can also add perception without using the PointCloud.

We have to make sure that there is an object in front of the robot. If there isn't, we will execute the following command in order to spawn another object right in front of the fetch robot:

$ rosrun gazebo_ros spawn_model -file /home/user/catkin_ws/src/object.urdf -urdf -x 1 -model my_object  

Next, we have to modify the configuration files in order to use the DepthImageUpdater plugin, instead of the one we are ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required