ROSLisp Tutorial Error [closed]

asked 2016-08-25 19:26:08 -0500

toddcpierce gravatar image

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}&gt;:="" 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.

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by jarvisschultz
close date 2016-09-02 10:40:16.365121

Comments

This thread is obsolete.

toddcpierce gravatar imagetoddcpierce ( 2016-09-02 08:10:52 -0500 )edit