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
Last revisionBoth sides next revision
tutorials:beginner:package_for_turtlesim [2019/07/03 11:45] – [Creating an ASDF system] tlippstutorials:beginner:package_for_turtlesim [2019/07/03 11:47] – [Exporting the ASDF system to ROS] tlipps
Line 45: Line 45:
  
 <code lisp> <code lisp>
-(defpackage :cram-beginner-tutorial+(defpackage :cram-my-beginner-tutorial
   (:nicknames :tut)   (:nicknames :tut)
   (:use :cpl))   (:use :cpl))
 </code>   </code>  
      
-We define a package with the name ''cram-beginner-tutorial''. Packages in Common Lisp can have an arbitrary number of nicknames. In our case we nickname ''cram-beginner-tutorial'' as ''tut''. Finally, we define that the package uses another package ''cpl'' which is a nickname of the package  ''cram-language'' from the metapackage ''cram_core''+We define a package with the name ''cram-my-beginner-tutorial''. Packages in Common Lisp can have an arbitrary number of nicknames. In our case we nickname ''cram-my-beginner-tutorial'' as ''tut''. Finally, we define that the package uses another package ''cpl'' which is a nickname of the package  ''cram-language'' from the metapackage ''cram_core''
  
 ==== Exporting the ASDF system to ROS ==== ==== Exporting the ASDF system to ROS ====
Line 66: Line 66:
  
 <code lisp> <code lisp>
-CL-USER> (ros-load:load-system "cram_beginner_tutorial" :cram-beginner-tutorial)+CL-USER> (ros-load:load-system "cram_my_beginner_tutorial" :cram-my-beginner-tutorial)
 </code> </code>
  
-This loads the ''cram-beginner-tutorial'' of the package ''cram_beginner_tutorial''.+This loads the ''cram-my-beginner-tutorial'' of the package ''cram_my_beginner_tutorial''.
 Test it by evaluating Test it by evaluating