Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
tutorials:beginner:simple_plans [2017/09/07 11:50] – Explained dolist-codebit at the end. cpo | tutorials:beginner:simple_plans [2019/07/11 13:27] – gkazhoya | ||
---|---|---|---|
Line 4: | Line 4: | ||
**Previous Tutorial:** [[tutorials: | **Previous Tutorial:** [[tutorials: | ||
- | **Next Tutorial:** [[tutorials: | + | **Next Tutorial:** [[tutorials: |
Line 28: | Line 28: | ||
(defun relative-angle-to (goal pose-msg) | (defun relative-angle-to (goal pose-msg) | ||
- | "Given a `pose-msg' | + | "Given a `pose-msg' |
calculate the angle by which the pose has to be turned to point toward the goal." | calculate the angle by which the pose has to be turned to point toward the goal." | ||
(let ((diff-pose (cl-transforms: | (let ((diff-pose (cl-transforms: | ||
Line 81: | Line 81: | ||
(def-cram-function move-to (goal & | (def-cram-function move-to (goal & | ||
"Sends velocity commands until `goal' is reached." | "Sends velocity commands until `goal' is reached." | ||
- | | + | (let ((reached-fl (< (fl-funcall #' |
| | ||
#' | #' | ||
Line 123: | Line 123: | ||
- | Moving along predetermined points is all fine and good, but let's have a look at a more flexible way that CRAM provides to specify and reason about parameters ... | + | Moving along predetermined points is all fine and good, but let's have a look at a more flexible way that CRAM provides to specify and reason about parameters. To learn about motion parameter, we, however, first need to understand how the Lisp Prolog works ... |
- | [[tutorials: | + | [[tutorials: |