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 [2019/07/03 11:50] – [ROS dependencies] tlipps | tutorials:beginner:controlling_turtlesim_2 [2019/07/03 11:51] – [Updating the Lisp Package] tlipps |
---|
==== ASDF dependencies ==== | ==== ASDF dependencies ==== |
| |
Now open ''cram-beginner-tutorial.asd'' and update the system dependencies to include the system ''roslisp'', ''turtlesim-msg'', ''turtlesim-srv'', ''geometry_msgs-msg'' and ''cl-transforms''. The systems that correspond to the messages of a package are always named like the package name with a ''-msg'' suffix. Your system should now look like this: | Now open ''cram-my-beginner-tutorial.asd'' and update the system dependencies to include the system ''roslisp'', ''turtlesim-msg'', ''turtlesim-srv'', ''geometry_msgs-msg'' and ''cl-transforms''. The systems that correspond to the messages of a package are always named like the package name with a ''-msg'' suffix. Your system should now look 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) | :depends-on (roslisp cram-language turtlesim-msg turtlesim-srv cl-transforms geometry_msgs-msg) |
:components | :components |
We also want to add ''roslisp'' and ''cl-transforms'' to our namespace in the file ''package.lisp'' so that we don't have to specify the namespace each time we use a function from that package in our code. | We also want to add ''roslisp'' and ''cl-transforms'' to our namespace in the file ''package.lisp'' so that we don't have to specify the namespace each time we use a function from that package in our code. |
<code lisp> | <code lisp> |
(defpackage :cram-beginner-tutorial | (defpackage :cram-my-beginner-tutorial |
(:nicknames :tut) | (:nicknames :tut) |
(:use :cpl :roslisp :cl-transforms)) | (:use :cpl :roslisp :cl-transforms)) |