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:controlling_turtlesim_2 [2017/09/07 11:41] – [ASDF dependencies] add turtlesim-srv as dependency cpo | tutorials:beginner:controlling_turtlesim_2 [2017/09/07 12:52] – cpo | ||
---|---|---|---|
Line 87: | Line 87: | ||
: | : | ||
- | (defun set-pen (r g b width off) | + | (defun |
" | " | ||
(call-service *pen-srv* ' | (call-service *pen-srv* ' | ||
Line 134: | Line 134: | ||
<code lisp> | <code lisp> | ||
- | TUT> (init-ros-turtle "/turtle1" | + | TUT> (init-ros-turtle " |
</ | </ | ||
Line 240: | Line 240: | ||
We also can change how the turtle writes on the background. Try: | We also can change how the turtle writes on the background. Try: | ||
<code lisp> | <code lisp> | ||
- | TUT> (set-pen 255 0 0 10 0) | + | TUT> (call-set-pen 255 0 0 10 0) |
</ | </ | ||
- | We use the '' | + | We use the '' |