Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tutorials:robocup:robocup [2023/06/29 10:33] – vanessa | tutorials:robocup:robocup [2023/06/29 10:48] (current) – vanessa | ||
---|---|---|---|
Line 14: | Line 14: | ||
<code lisp> | <code lisp> | ||
(defun make-cml-constraint (drive-back laser-distance-threshold) | (defun make-cml-constraint (drive-back laser-distance-threshold) | ||
- | ;; (declare | ||
(roslisp: | (roslisp: | ||
' | ' | ||
Line 32: | Line 31: | ||
+ | <code lisp> | ||
+ | (defun make-cml-action-goal (drive-back laser-distance-threshold) | ||
+ | (giskard:: | ||
+ | : | ||
+ | </ | ||
+ | |||
+ | Within cram_external_interfaces/ | ||
+ | <code lisp> | ||
+ | ... | ||
+ | |||
+ | (cram-common-designators: | ||
+ | | ||
+ | :drive-back argument-1 | ||
+ | : | ||
+ | )) | ||
+ | ... | ||
+ | |||
+ | |||
+ | </ | ||
+ | |||
+ | Within cram_common/ | ||
+ | <code lisp> | ||
+ | (<- (motion-grounding ?designator (carry-my-luggage ?drive-back ? | ||
+ | (property ?designator (:type : | ||
+ | (once (or (desig: | ||
+ | (equal ?drive-back nil))) | ||
+ | (once (or (desig: | ||
+ | (equal ? | ||
+ | </ | ||
+ | |||
+ | Now add your function into the defpackage description to make it jucy | ||
+ | |||
+ | <code lisp> | ||
+ | #: | ||
+ | </ | ||
+ | Finally add the motion designator type into the matching process module, for suturo this is sadly in cram_hsrb/ | ||
+ | <code lisp> | ||
+ | |||
+ | | ||
+ | (or (desig: | ||
+ | (desig: | ||
+ | (...) | ||
+ | (desig: | ||
+ | * (...) | ||
+ | </ |