Difference between revisions of "Raspberry ROS"

From wikidb
Jump to: navigation, search
(Fuerte Install Failed)
(Fuerte Install Failed)
Line 33: Line 33:
 
[http://www.raspberrypi.org/phpBB3/viewtopic.php?f=37&t=6552&start=25 help]
 
[http://www.raspberrypi.org/phpBB3/viewtopic.php?f=37&t=6552&start=25 help]
  
== Fuerte Install Failed ==
+
== Fuerte Install ==
  
 
Followed instructions in fuerte link above. Got an error on this step.
 
Followed instructions in fuerte link above. Got an error on this step.
Line 94: Line 94:
 
* [http://answers.ros.org/question/34501/how-to-setting-up-ros-on-raspberrypi/ hints]
 
* [http://answers.ros.org/question/34501/how-to-setting-up-ros-on-raspberrypi/ hints]
 
* [http://www.raspberrypi.org/phpBB3/viewtopic.php?f=37&t=6552 Another fix]
 
* [http://www.raspberrypi.org/phpBB3/viewtopic.php?f=37&t=6552 Another fix]
 +
 +
  sudo pip install -U rosdep
  
  
 
* [http://wiki.jigsawrenaissance.org/ROS_on_RaspberryPi experience]
 
* [http://wiki.jigsawrenaissance.org/ROS_on_RaspberryPi experience]

Revision as of 18:51, 28 December 2012

Debian Choices

Debian Squeeze

Squeeze doesn't appear to be a good choice

Electric Install Failed

First step

 sudo apt-get update

Then follow Electric link above.

pi@raspberrypi ~ $ rosinstall ~/ros "http://packages.ros.org/cgi-bin/gen_rosinstall.py? rosdistro=electric&variant=desktop-full&overlay=no"
rosinstall operating on /home/pi/ros from specifications in rosinstall files  http://packages.ros.org/cgi-bin/gen_rosinstall.py? rosdistro=electric&variant=desktop-full&overlay=no
(Over-)Writing /home/pi/ros/.rosinstall
(Over-)Writing setup.sh, setup.bash, and setup.zsh in /home/pi/ros
ERROR in rosinstall: 
No 'ros' stack detected in candidates [].
Please add the location of a ros distribution to this command.

See http://ros.org/wiki/rosinstall.

help

Fuerte Install

Followed instructions in fuerte link above. Got an error on this step.

rosinstall --catkin ~/ros-underlay http://ros.org/rosinstalls/fuerte-ros-full.rosinstall

The error:


pi@raspberrypi ~ $ rosinstall --catkin ~/ros-underlay http://ros.org/rosinstalls/fuerte-ros-full.rosinstall
rosinstall operating on /home/pi/ros-underlay from specifications in rosinstall files  http://ros.org/rosinstalls/fuerte-ros-full.rosinstall
(Over-)Writing /home/pi/ros-underlay/.rosinstall
[actionlib] Installing git://github.com/wg-debs/actionlib-release.git (version debian/ros-fuerte-actionlib_1.8.6_lucid) to /home/pi/ros-underlay/actionlib
WARNING [vcstools] Command failed: 'git clone --recursive git://github.com/wg-debs/actionlib-release.git /home/pi/ros-underlay/actionlib'
 errcode: 128:
fatal: remote error: 
  Repository not found.
[/vcstools]
[catkin] Updating /home/pi/ros-underlay/catkin
[catkin] Done.
...
[rx] Updating /home/pi/ros-underlay/rx
[rx] Done.
Exception caught during install: Error processing 'actionlib' : [actionlib] Checkout of git://github.com/wg-debs/actionlib-release.git version debian/ros-fuerte-actionlib_1.8.6_lucid into /home/pi/ros-underlay/actionlib failed.

ERROR in config: Error processing 'actionlib' : [actionlib] Checkout of git://github.com/wg-debs/actionlib-release.git version debian/ros-fuerte-actionlib_1.8.6_lucid into /home/pi/ros-underlay/actionlib failed.

See:

If someone is having the same issue. This is how I fixed it. I downloaded the file from here: http://ros.org/rosinstalls/fuerte-ros-base.rosinstall and then changed the first package:

- git:
    local-name: actionlib
    uri: git://github.com/ros-gbp/actionlib-release.git
    version: debian/ros-fuerte-actionlib_1.8.7_precise
Then you should be able to run:

rosinstall --catkin ~/ros-underlay file://path_to/fuerte-ros-base.rosinstall

I did a:

 rosinstall --catkin ~/ros-underlay ros-fix/fuerte-ros-full.rosinstall 

I did a:

 sudo cp -r /swig /usr/local/share

I did a:

 make

not

 make -j8

The change will limit the number of parallel compiles to 1.

 sudo pip install -U rosdep