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

Revision history [back]

Your problem doesn't seem to be related to rosjava, but to rosinstall/rosws. On Ubuntu, you should remove the old rosinstall stuff installed via pip and instead use the deb version:

$ sudo rm -rf /usr/local/lib/python2.7/dist-packages/rosinstall*
$ sudo rm -rf /usr/local/lib/python2.7/dist-packages/vcstools*

then

$ sudo apt-get install python-rosinstall

Also, the .rosinstall link in the rosjava doc is out of date. After running the steps above, you should do this:

mkdir ~/my_workspace
cd ~/my_workspace
rosws init
rosws merge /opt/ros/groovy/.rosinstall
rosws merge https://raw.github.com/rosjava/rosjava_core/groovy-devel/.rosinstall
rosws update
source setup.bash

(note the changed .rosinstall URL)

Your problem doesn't seem to be related to rosjava, but to rosinstall/rosws. On Ubuntu, you should remove the old rosinstall stuff installed via pip and instead use the deb version:

$ sudo rm -rf /usr/local/lib/python2.7/dist-packages/rosinstall*
$ sudo rm -rf /usr/local/lib/python2.7/dist-packages/vcstools*

then

$ sudo apt-get install python-rosinstall

Also, the .rosinstall link in the rosjava doc is out of date. After running the steps above, you should do this:

mkdir ~/my_workspace
cd ~/my_workspace
rosws init
rosws merge /opt/ros/groovy/.rosinstall
rosws merge https://raw.github.com/rosjava/rosjava_core/groovy-devel/.rosinstall
set --git --version=groovy-devel rosjava_core 'git://github.com/rosjava/rosjava_core.git'
rosws update
source setup.bash

(note the changed .rosinstall URL)

Your problem doesn't seem to be related to rosjava, but to rosinstall/rosws. On Ubuntu, you should remove the old rosinstall stuff installed via pip and instead use the deb version:

$ sudo rm -rf /usr/local/lib/python2.7/dist-packages/rosinstall*
$ sudo rm -rf /usr/local/lib/python2.7/dist-packages/vcstools*

then

$ sudo apt-get install python-rosinstall

Also, the .rosinstall link in the rosjava doc is out of date. After running the steps above, you should do this:

mkdir ~/my_workspace
cd ~/my_workspace
rosws init
rosws merge /opt/ros/groovy/.rosinstall
rosws set --git --version=groovy-devel rosjava_core 'git://github.com/rosjava/rosjava_core.git'
rosws update
source setup.bash

I've submitted pull requests 161 and 162 to fix the rosjava documentation.