Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
tutorials:advanced:new-robot [2019/02/23 08:38] – [Spawn the robot in Bullet] vanessatutorials:advanced:new-robot [2019/02/23 08:44] – [Spawn the robot in Bullet] vanessa
Line 271: Line 271:
 {{:tutorials:advanced:hsr_in_bullet_world.png?700|}} {{:tutorials:advanced:hsr_in_bullet_world.png?700|}}
  
- +The ''(cram-tf::init-tf)''command initalized some variables:
-At this moment the command: ''(cram-tf::init-tf)'' loads some variables:+
 <code lisp> <code lisp>
 (defvar *robot-base-frame* nil (defvar *robot-base-frame* nil
Line 288: Line 287:
   "Tool frame of the right arm. Initialized from CRAM robot desciption.")   "Tool frame of the right arm. Initialized from CRAM robot desciption.")
 </code> </code>
-Usually u will define those parameters in the ROBOT_description package. For now to simply test the beginning it is okay that this parameters got filled from the PR2_description package. But be aware that some joint and links does not have the same name. For example the hsr does not contain any joint or links with the name gripper like the PR2 does.+Usually u will define those parameters in the ROBOT_description package. For now to simply test the beginning its not necessry that this parameters got filled from the PR2_description package. But be aware that some joint and links does not have the same name. For example the HSR does not contain any joint or links with the name gripper like the PR2 does.
  
  
Line 303: Line 302:
 (btr:object btr:*current-bullet-world* 'my-robot) (btr:object btr:*current-bullet-world* 'my-robot)
 </code> </code>
-To get the instance of the spawned Bullet object there is a function.+
  
 After lifting the torso the HSR should looks like this:  After lifting the torso the HSR should looks like this: