ROSLisp Tutorial Error
Hi All,
I was loading the ROSLisp tutorials package (just with asdf, not through a ROS package manager) and I got this error:
ASDF could not load roslisp-tutorials-basics because Component ASDF/USER::ROSLISP not found, required by
.
I didn´t really care about not loading the package, but the ROSLISP user not being there creeped me out a bit. I´m wondering if I should do something about that.
Then I decided to just copy and paste the four functions for the addtwoints service) and I got yet another error. Is this just SBCL being all particular?
Open to ideas here. The error follows. -Todd
- (def-service-callback AddTwoInts (a b) (ros-info (roslisp-tutorials) "Returning [~a + ~a = ~a]" a b (+ a b)) (make-response :sum (+ a b))) ; in: DEF-SERVICE-CALLBACK ADDTWOINTS ; (ROS-INFO (ROSLISP-TUTORIALS) "Returning [~a + ~a = ~a]" A B (+ A B)) ; ; caught WARNING: ; undefined variable: A
; (DEF-SERVICE-CALLBACK ADDTWOINTS (A B) ; (ROS-INFO (ROSLISP-TUTORIALS) "Returning [~a + ~a = ~a]" A B (+ A B)) ; (MAKE-RESPONSE :SUM (+ A B))) ; ; caught WARNING: ; undefined variable: ADDTWOINTS
; (A B) ; ; caught WARNING: ; undefined variable: B ; ; compilation unit finished ; Undefined variables: ; A ADDTWOINTS B ; caught 3 WARNING conditions
debugger invoked on a UNBOUND-VARIABLE in thread
:
The variable ADDTWOINTS is unbound.
Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL.
restarts (invokable by number or by possibly-abbreviated name): 0: [ABORT] Exit debugger, returning to top level.
Asked by toddcpierce on 2016-08-25 19:26:08 UTC
Comments
This thread is obsolete.
Asked by toddcpierce on 2016-09-02 08:10:52 UTC