Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
tutorials:beginner:high_level_plans [2017/09/19 14:13] – [Writing plans for the TurtleSim] cpotutorials:beginner:high_level_plans [2019/07/09 20:07] – [Defining the action designators] gkazhoya
Line 21: Line 21:
 ==== Defining the action designators ==== ==== Defining the action designators ====
  
-Let's create new source files for the code in this tutorial (under the ''src'' directory), call them ''action-designators.lisp'' and ''high-level-plans.lisp''. We will need to add the files to the '':components'' of the ''src'' module in your ''cram-beginner-tutorial.asd'', which should now look something like this:+Let's create new source files for the code in this tutorial (under the ''src'' directory), call them ''action-designators.lisp'' and ''high-level-plans.lisp''. We will need to add the files to the '':components'' of the ''src'' module in your ''cram-my-beginner-tutorial.asd'', which should now look something like this:
  
 <code lisp> <code lisp>
-(defsystem cram-beginner-tutorial+(defsystem cram-my-beginner-tutorial
   :depends-on (roslisp cram-language turtlesim-msg turtlesim-srv cl-transforms geometry_msgs-msg cram-designators cram-prolog   :depends-on (roslisp cram-language turtlesim-msg turtlesim-srv cl-transforms geometry_msgs-msg cram-designators cram-prolog
                        cram-process-modules cram-language-designator-support cram-executive)                        cram-process-modules cram-language-designator-support cram-executive)
Line 57: Line 57:
 TUT> (desig:an action (type drawing) (shape rectangle) (width 5) (height 4)) TUT> (desig:an action (type drawing) (shape rectangle) (width 5) (height 4))
  
-#<ACTION-DESIGNATOR ((:TYPE :DRAWING) (:SHAPE :RECTANGLE) (:WIDTH 5) +#<ACTION 
-                     (:HEIGHT 4)) {100B819903}>+    (TYPE DRAWING) 
 +    (SHAPE RECTANGLE) 
 +    (WIDTH 5) 
 +    (HEIGHT 4)>
 </code> </code>