Skip to Content
Robot Operating System Cookbook
book

Robot Operating System Cookbook

by Kumar Bipin
June 2018
Intermediate to advanced
484 pages
11h 36m
English
Packt Publishing
Content preview from Robot Operating System Cookbook

See also

So, now we've seen how to perform grasping in MoveIt. But, what about applying this to the real robot? Well, actually, it's quite easy at this point.

First of all, we will execute the following commands in order to spawn a table and a grasping object into the simulation:

$ rosrun gazebo_ros spawn_model -database table -gazebo -model table -x 1.30 -y 0 -z 0 
$ rosrun gazebo_ros spawn_model -database demo_cube -gazebo -model grasp_cube -x 0.65 -y 0.15 -z 1.07 

We will end up with something like what's shown in the following screenshot:

Simulator robot

Next, we will launch MoveIt with perception:

$ roslaunch myrobot_moveit_config myrobot_planning_execution.launch ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mobile Intelligent Autonomous Systems

Mobile Intelligent Autonomous Systems

Jitendra R. Raol, Ajith K. Gopal
Wheeled Mobile Robotics

Wheeled Mobile Robotics

Gregor Klancar, Andrej Zdesar, Saso Blazic, Igor Skrjanc

Publisher Resources

ISBN: 9781783987443Supplemental Content