Difference between revisions of "Creating a CRAM Package for the Simple Mobile Manipulation Plan"

From David Vernon's Wiki
Jump to: navigation, search
Line 1: Line 1:
 
In this tutorial we will create a CRAM package for the [http://cram-system.org/tutorials/intermediate/simple_mobile_manipulation_plan Simple Mobile Manipulation Plan] intermediate tutorial.  We will do this in the same way as we created a CRAM package for the [http://cram-system.org/tutorials Beginner Tutorials], by creating a CRAM package and adding the Lisp code for the simple mobile manipulation plan.  However, since the mobile manipulation plan is itself based on the [http://cram-system.org/tutorials/intermediate/bullet_world Bullet World Demonstration] tutorial, after creating the new CRAM package we will first copy the Bullet World Demonstration files and then we will add a new Lisp file for the Mobile Manipulation Plan.
 
In this tutorial we will create a CRAM package for the [http://cram-system.org/tutorials/intermediate/simple_mobile_manipulation_plan Simple Mobile Manipulation Plan] intermediate tutorial.  We will do this in the same way as we created a CRAM package for the [http://cram-system.org/tutorials Beginner Tutorials], by creating a CRAM package and adding the Lisp code for the simple mobile manipulation plan.  However, since the mobile manipulation plan is itself based on the [http://cram-system.org/tutorials/intermediate/bullet_world Bullet World Demonstration] tutorial, after creating the new CRAM package we will first copy the Bullet World Demonstration files and then we will add a new Lisp file for the Mobile Manipulation Plan.
  
==<span style="color:#AB0000">Creating a CRAM Package</span> ==
+
==<span style="color:#AB0000">Creating the CRAM Package</span> ==
  
===Creating a ROS package===
+
===Creating the ROS package===
 
Just as with the beginner tutorial, first we need to create a ROS package that depends on cram_language.   
 
Just as with the beginner tutorial, first we need to create a ROS package that depends on cram_language.   
  
Line 9: Line 9:
  
 
  $ catkin_create_pkg cram_my_intermediate_tutorial cram_language
 
  $ catkin_create_pkg cram_my_intermediate_tutorial cram_language
 +
 +
If you have followed the [http://cram-system.org/installation CRAM installation instructions] faithfully, the src subdirectory will be <code>~/workspace/ros/src</code>:
 +
 +
  ~/workspace/ros/src$ catkin_create_pkg cram_my_intermediate_tutorial cram_language
 +
 +
For the rest of the tutorial, we will leave out the <code>~/workspace/ros/src</code>.

Revision as of 03:58, 12 July 2019

In this tutorial we will create a CRAM package for the Simple Mobile Manipulation Plan intermediate tutorial. We will do this in the same way as we created a CRAM package for the Beginner Tutorials, by creating a CRAM package and adding the Lisp code for the simple mobile manipulation plan. However, since the mobile manipulation plan is itself based on the Bullet World Demonstration tutorial, after creating the new CRAM package we will first copy the Bullet World Demonstration files and then we will add a new Lisp file for the Mobile Manipulation Plan.

Creating the CRAM Package

Creating the ROS package

Just as with the beginner tutorial, first we need to create a ROS package that depends on cram_language.

In the src subdirectory of your ROS workspace execute the following command:

$ catkin_create_pkg cram_my_intermediate_tutorial cram_language

If you have followed the CRAM installation instructions faithfully, the src subdirectory will be ~/workspace/ros/src:

 ~/workspace/ros/src$ catkin_create_pkg cram_my_intermediate_tutorial cram_language

For the rest of the tutorial, we will leave out the ~/workspace/ros/src.