ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

The only ROS specific thing in roslisp that I see at the moment is loading of asdf files inside ROS packages. For finding the path to a ROS package, it calls rospack. The corresponding code can be found in load-manifest.lisp. I assume if you comment out the following lines (line 276) in load-manifest.lisp, you should get it independent from all other ROS dependencies.

(setq asdf:*system-definition-search-functions* 
      (append asdf:*system-definition-search-functions*
              '(asdf-ros-search)))

roslisp will still search your ROS_PACKAGE_PATH for asd files but this shouldn't interfere with your normal asdf configuration. When you want to communicate over topics, make sure that you copy the message asd files that can be found in msg_gen/lisp of each package that defines messages.

The only ROS specific thing in roslisp that I see at the moment is loading of asdf files inside ROS packages. For finding the path to a ROS package, it calls rospack. The corresponding code can be found in load-manifest.lisp. I assume if you comment out the following lines (line 276) in load-manifest.lisp, you should get it independent from all other ROS dependencies.

(setq asdf:*system-definition-search-functions* 
      (append asdf:*system-definition-search-functions*
              '(asdf-ros-search)))

roslisp will still search your ROS_PACKAGE_PATH for asd files but this shouldn't interfere with your normal asdf configuration. When you want to communicate over topics, make sure that you copy the message asd files that can be found in msg_gen/lisp of each package that defines messages.

Update: after thinking about it for a while, I don't think any ROS infrastructure is required for using roslisp. You even don't need to load load-manifest so if you remove the dependency on it in roslisp.asd, everything should still work fine. I have to double-check that though. I'm thinking about factoring out load-manifest into a separate package now since it is only used for loading asd files in ros packages.