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

roslisp without ROS?

asked 2012-06-15 03:53:06 -0600

liborw gravatar image

updated 2014-04-20 14:09:46 -0600

ngrennan gravatar image

Is it possible to have only roslisp package without the ROS distribution on one machine, and communicate wit roscore running on different machine?

Thanks

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
3

answered 2012-06-15 05:04:35 -0600

Lorenz gravatar image

updated 2012-06-17 08:59:18 -0600

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.

edit flag offensive delete link more
1

answered 2012-06-15 04:32:57 -0600

dornhege gravatar image

You obviously need some very basic ROS things that roslisp depends on, but not "the ROS distribution" if with that you mean something like ros-...-desktop-full.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-06-15 03:53:06 -0600

Seen: 279 times

Last updated: Jun 17 '12