Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
tutorials:advanced:new-robot [2019/02/23 08:37] – [Spawn the robot in Bullet] vanessa | tutorials:advanced:new-robot [2019/02/23 08:47] – [Create a CRAM robot description package] vanessa | ||
---|---|---|---|
Line 260: | Line 260: | ||
(cram-robot-interfaces: | (cram-robot-interfaces: | ||
(assert (btr:object ?world :urdf ?robot ((0 0 0) (0 0 0 1)) :urdf , | (assert (btr:object ?world :urdf ?robot ((0 0 0) (0 0 0 1)) :urdf , | ||
- | (cram-robot-interfaces: | ||
(assert (btr: | (assert (btr: | ||
(assert (btr: | (assert (btr: | ||
Line 272: | Line 271: | ||
{{: | {{: | ||
- | + | The '' | |
- | At this moment the command: | + | |
<code lisp> | <code lisp> | ||
(defvar *robot-base-frame* nil | (defvar *robot-base-frame* nil | ||
Line 289: | Line 287: | ||
"Tool frame of the right arm. Initialized from CRAM robot desciption." | "Tool frame of the right arm. Initialized from CRAM robot desciption." | ||
</ | </ | ||
- | Usually u will define those parameters in the ROBOT_description package. For now to simply test the beginning | + | Usually u will define those parameters in the ROBOT_description package. For now to simply test the beginning |
Line 304: | Line 302: | ||
(btr:object btr: | (btr:object btr: | ||
</ | </ | ||
- | 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: | ||
Line 378: | Line 376: | ||
</ | </ | ||
- | If no **gripper_tool_joint** is defined for your robot you need to add one in the URDF it self. It is important that the parent will be the wrist_palm_link and the joint is fixed. The origin you will need to change yourself it should be directly in the middle of the gripper. However since we dont want to change the original URDF we decided that there will be a setup-urdf.lisp file for the hsr that takes care of this. | + | If no **gripper_tool_joint** is defined for your robot you need to add one in the URDF it self. It is important that the parent will be the wrist_palm_link and the joint is fixed. The origin you will need to change yourself it should be directly in the middle of the gripper. However since we dont want to change the original URDF we decided that there will be a setup-urdf.lisp file for the HSR that takes care of the necessary URDF changes. |
<code lisp> | <code lisp> |