Difference between revisions of "Ros"

From ArchWiki
Jump to: navigation, search
m (cat up top. i18n.)
(Setup)
Line 10: Line 10:
 
== Setup ==
 
== Setup ==
 
Get dependencies, and create alternate python dir to workaround shebang line in scripts that point to python3. Thanks to [http://evorobo.blogspot.com/2011/07/robotics-operating-system.html DavidS]. Symlink libboost_filesystem.so to libboost_filesystem-mt.so, not an ideal solution, but it works. Then install rosinstall, and ros.
 
Get dependencies, and create alternate python dir to workaround shebang line in scripts that point to python3. Thanks to [http://evorobo.blogspot.com/2011/07/robotics-operating-system.html DavidS]. Symlink libboost_filesystem.so to libboost_filesystem-mt.so, not an ideal solution, but it works. Then install rosinstall, and ros.
  pacman -S python2 cmake wget python-yaml svn python2-distribute boost python-yaml pil python-numpy
+
  pacman -S cmake wget python-yaml svn boost python-yaml pil python-numpy python2-yaml python2-pip python2-distribute python2
  yaourt -S log4cxx
+
  yaourt -S log4cxx  
 
  mkdir /usr/local/bin/alt   
 
  mkdir /usr/local/bin/alt   
 
  ln -s /usr/bin/python2 /usr/local/bin/alt/python
 
  ln -s /usr/bin/python2 /usr/local/bin/alt/python
Line 20: Line 20:
  
 
Follow the [http://www.ros.org/wiki/diamondback/Installation/Arch ROS wiki] afterwards.
 
Follow the [http://www.ros.org/wiki/diamondback/Installation/Arch ROS wiki] afterwards.
 +
 
== Issues ==
 
== Issues ==
 
If package fails to build. You can apply this [http://code.google.com/p/bullet/issues/attachmentText?id=481&aid=-7554332888653313858&name=zero_initialize.patch&token=a338762d74f222c8a20c9170102cf429 patch].
 
If package fails to build. You can apply this [http://code.google.com/p/bullet/issues/attachmentText?id=481&aid=-7554332888653313858&name=zero_initialize.patch&token=a338762d74f222c8a20c9170102cf429 patch].

Revision as of 16:07, 21 February 2012

This template has only maintenance purposes. For linking to local translations please use interlanguage links, see Help:i18n#Interlanguage links.


Local languages: Català – Dansk – English – Español – Esperanto – Hrvatski – Indonesia – Italiano – Lietuviškai – Magyar – Nederlands – Norsk Bokmål – Polski – Português – Slovenský – Česky – Ελληνικά – Български – Русский – Српски – Українська – עברית – العربية – ไทย – 日本語 – 正體中文 – 简体中文 – 한국어


External languages (all articles in these languages should be moved to the external wiki): Deutsch – Français – Română – Suomi – Svenska – Tiếng Việt – Türkçe – فارسی

Tango-view-refresh-red.pngThis article or section is out of date.Tango-view-refresh-red.png

Reason: please use the first argument of the template to provide a brief explanation. (Discuss in Talk:Ros#)
Note: Python3 and gcc46 is not supported in ros yet, might be best to wait for a update.

Originally from the ROS wiki. ROS is an open-source, meta-operating system for your robot. It provides the services you would expect from an operating system, including hardware abstraction, low-level device control, implementation of commonly-used functionality, message-passing between processes, and package management.

Setup

Get dependencies, and create alternate python dir to workaround shebang line in scripts that point to python3. Thanks to DavidS. Symlink libboost_filesystem.so to libboost_filesystem-mt.so, not an ideal solution, but it works. Then install rosinstall, and ros.

pacman -S cmake wget python-yaml svn boost python-yaml pil python-numpy python2-yaml python2-pip python2-distribute python2
yaourt -S log4cxx 
mkdir /usr/local/bin/alt   
ln -s /usr/bin/python2 /usr/local/bin/alt/python
export PATH=/usr/local/bin/alt:$PATH
ln -s /usr/lib/libboost_filesystem.so /usr/lib/libboost_filesystem-mt.so 
sudo easy_install-2.7 -U rosinstall
rosinstall ~/ros "http://packages.ros.org/cgi-bin/gen_rosinstall.py?rosdistro=diamondback&variant=desktop-full&overlay=no"

Follow the ROS wiki afterwards.

Issues

If package fails to build. You can apply this patch.