Hi All,
I want to use the SHOP2 from inside ROS. Ideally, we can think of it completely as a black box.
So far, after merely creating a link (under ./lispturtles_pkg/asdf) to shop2.asd, the shop2 can be loaded manually from an REPL.
* (ros-load:load-system "lispturtles_pkg" "shop2")
How to make a roslisp node do that?
I have tried this:
(defun load-shop2 ()
(with-ros-node ("mynode")
(ros-load:load-system "lispturtles_pkg" "shop2")
))
It compiled successfully, but:
$ rosrun lispturtles_pkg load-shop2
...
Roslisp exiting due to condition: Error while trying to load definition for
system shop2 from pathname
/home/me/shop2-2.8.0/shop2.asd:
Component "shop-asd" not found
[(ROSLISP EVENT-LOOP) INFO] 1346726523.266: Terminating ROS Node event loop
[(ROSLISP TOP) INFO] 1346726523.303: Shutdown complete
Any ideas why? Should we adjust the shop2.asd? How? In which way?
Thank you.
Originally posted by tor on ROS Answers with karma: 277 on 2012-09-03
Post score: 0