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

Installing rosclj

asked 2012-05-09 15:13:55 -0500

Hi,

I am at beginner level in ROS.

I am trying to explore hierarchical_planning (www.ros.org/wiki/hierarchical_planning) and thus needed to install rosjava and rosclj,

I was able to install rosjava quite easily using http://docs.rosjava.googlecode.com/hg/rosjava_core/html/installing.html

but couldn't figure out how to install rosclj. (from http://www.ros.org/wiki/rosclj). Looks very silly, please help.

It seems that http://ros.berkeley.edu/svn/berkeley-ros-pkg/stacks/clj_planning/trunk/clj_planning/rosclj is temporarily down, or is there any other issue? I guess I will download it from here only.

Also

I followed http://www.ros.org/wiki/rosclj and installed Clojure from synaptic, should I set CLJ_HOME to point to /usr/share/java, or should I copy relevent jars from /usr/share/java to a folder and point CLJ_HOME over there?

In the tutorial immediately after this (in section 2.1 Creating, building, and running rosclj packages) instructions are there to add rosclj package in a newly created package.

Kindly also tell me what should be the right sequence of tutorial etc to be read so that I be able to (in simulation) :- navigate avoiding obstacle, and then, pick and place objects from one point to other.

Thanks in advance.

edit retag flag offensive close merge delete

Comments

I am using ros-electric on ubuntu 11.10 , 64 bit (guess thats not relevant here)

aknirala gravatar image aknirala  ( 2012-05-09 16:08:55 -0500 )edit

I get 404 Not found, in fact link : http://ros.berkeley.edu/svn/ itself does not exist.May be its moved to somewhere else. Any pointers would be helpful.

aknirala gravatar image aknirala  ( 2012-05-10 00:49:55 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted
0

answered 2012-05-10 03:40:20 -0500

Lorenz gravatar image

Wow. You found a really old package. I'm actually not sure if ROS' Clojure support is still maintained and it looks like it has never been ported to Google's new rosjava. I guess berkley-ros-pkg is down because it doesn't exist anymore.

Since rosclj is pretty old, probably not maintained anymore and incompatible with the rosjava version you installed, I don't think it's a good idea to still try to use it unless you want to invest a lot of time porting it. You might be able to find the rosclj sources in an old revision of one of Willow Garage's ROS repositories if you really want to try.

As far as I know, rosclj was just a wrapper around rosjava plus a few utility functions to control the robot. Not that much code I think. If you want to use Clojure together with ROS and it should be fairly simple to use Java libraries in Clojure, you should be able to communicate through ROS without rosclj but by just using Clojure and the new rosjava. TF integration and an action client library are still not finished, but will come in the near future.

If you want to use ROS together with Common Lisp, you can use roslisp. It is still maintained and we provide a native implementation of tf and actionlib.

edit flag offensive delete link more
0

answered 2012-05-10 05:07:11 -0500

Hi Lorenz,

Thanks for the explanation. I thought that this might be the case, however could you also please tell me:-

what should be the right sequence of tutorial etc to be followed so that I be able to (in simulation) :-

navigate PR2 avoiding obstacle,

and then,

pick and place objects from one point to other.

Ultimately this is what I need to start with. I am using electric on Ubuntu 11.10.

Thanks.

p.s. Is there a way to write this such that it appears as a comment in your reply?

edit flag offensive delete link more

Comments

Generally, you should open a new question for this since it is not really related to your original question and this is not a forum or something. Anyway, you'll find the tutorials you want here: http://ros.org/wiki/pr2_simulator/Tutorials The comment functionality requires a certain amount of karma.

Lorenz gravatar image Lorenz  ( 2012-05-10 05:18:19 -0500 )edit

Ok, thanks for the link, I thought directly going through the hierarchal planning package will be better. Actually this was the thing why I needed rosclj, so posted here. In future I'll open a new question if questions are different.

aknirala gravatar image aknirala  ( 2012-05-10 05:48:22 -0500 )edit

Question Tools

Stats

Asked: 2012-05-09 15:13:55 -0500

Seen: 418 times

Last updated: May 10 '12