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

How can I use roslisp on Hydro?

asked 2013-09-25 10:18:53 -0600

joq gravatar image

We would like to use roslisp with Hydro. I have not used it before.

It looks like some of the pieces are currently missing. The wiki documentation is not up to date since Fuerte:

http://wiki.ros.org/roslisp

There is a ros-hydro-roslisp Ubuntu package for Precise. But, I don't see any packages like these:

ros-hydro-roslisp-common
ros-hydro-roslisp-support
ros-hydro-roslisp-tutorials

Are those packages still needed?

The tutorial page still points to the code.ros.org SVN repository. Is that correct? I did find a ros/roslisp repo on github that appears to support catkin. Is that the current source? Where are the tutorials now?

I am happy to help with fixing things up, but need some direction to get started.

edit retag flag offensive close merge delete

Comments

@georg-bartels can you help?

tfoote gravatar image tfoote  ( 2013-09-28 21:19:30 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2013-09-29 21:50:13 -0600

Lorenz gravatar image

I think the last release of roslisp was for Groovy. My guess is that nobody really had time to take care of releasing it for Hydro. Anyway, you should be able to use roslisp from source, given lisp messages are still generated.

The only system dependency roslisp requires is sbcl, so make sure that it is installed:

sudo apt-get install sbcl

Then clone the roslisp repo into your Catkin workspace and build it. To use it, you need to start sbcl with a custom init file:

sbcl --load <path to roslisp>/scripts/roslisp-sbcl-init

I definitely suggest to use Slime, a really powerful Emacs mode for Lisp coding (I think nowadays there is also a vim port available). If you have rosemacs installed, you shouldn't need to configure anything. Just start roslisp with M-x slime-ros. rosemacs was hosted on kforge, so I think the official repository is gone by now, but you could check out my clone.

If you don't have rosemacs, make sure to set the lisp binary to load roslisp-sbcl-init as above, e.g. by putting the following line in your emacs config:

(setq inferior-lisp-program "sbcl --load <path to roslisp>/scripts/roslisp-sbcl-init")

Unfortunately I don't know how the state of the tutorials is. They haven't been touched in a while and I don't have time for too much maintenance at the moment. But I guess the code in the tutorial is still valid.

edit flag offensive delete link more

Comments

At least the roslisp package is released for Hydro as far as I can see: https://github.com/ros/rosdistro/blob/master/hydro/release.yaml#L1859

Dirk Thomas gravatar image Dirk Thomas  ( 2013-09-29 21:55:00 -0600 )edit

It is, ros-hydro-roslisp installs on Precise. I was asking about the roslisp_common, roslisp_support and roslisp_tutorials packages. The tutorials refer to them. Are they still needed? Where are the sources?

joq gravatar image joq  ( 2013-09-30 06:06:20 -0600 )edit

Thanks for the slime recommendation, rosemacs is great. For the record, it is installable as a rosemacs-py Debian package.

joq gravatar image joq  ( 2013-09-30 06:13:56 -0600 )edit

roslisp_common and roslisp_support are dry packages in Groovy. Nobody has catkinized them and therefore they are not available in Hydro. roslisp_tutorials seems to be not even in Groovy.

Dirk Thomas gravatar image Dirk Thomas  ( 2013-09-30 07:47:19 -0600 )edit

`roslisp_support` is not required anymore. It contained sbcl and the roslisp tests. In recent Ubuntu versions, SBCL is new enough to be used. `roslisp_common` containts cl_tf and and an action client and server. To use it, you need to install the dry stack from source at the moment.

Lorenz gravatar image Lorenz  ( 2013-09-30 08:20:05 -0600 )edit

OK, where is the current source? Still on code.ros.org?

joq gravatar image joq  ( 2013-09-30 11:54:26 -0600 )edit
Lorenz gravatar image Lorenz  ( 2013-09-30 21:31:03 -0600 )edit

@Lorenz you need to migrate these repos somewhere else asap since the Willow Garage servers can go away at any time (as announced on ros-users before).

Dirk Thomas gravatar image Dirk Thomas  ( 2013-10-01 07:38:13 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2013-09-25 10:18:53 -0600

Seen: 478 times

Last updated: Sep 29 '13