ROSLisp Tutorial Error [closed]
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 #<system "roslisp-tutorials-basics"="">.
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 #<thread "main="" thread"="" running="" {100399c8f3}>:="" the="" variable="" addtwoints="" is="" unbound.<="" p="">
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.
This thread is obsolete.