Installing and setting up ROS 0.6 on an ASUS eeePC

Installing and setting up ROS 0.6 on an ASUS eeePC

07/01/09 | by Gheric Speiginer [mail] | Categories: 2009 Summer REU

1. Installation

A couple weeks ago we installed ROS 0.5 on an ASUS eeePC. For the most part the installation ran very smoothly.

The only hiccup in the installation that we had was a problem with apt-get, which was resolved by running the following command:

sudo apt-get update

After this, ROS installed for us without any errors.

Since we first installed ROS 0.5 a couple weeks ago on the laptops, there has already been several updates to ROS. ROS 0.6 was released last Friday. The installation process for ROS 0.6 is now (pretty much) fully automated and has been simplified down to three steps:

Step 1: pre-install

The pre-install just makes sure you have everything you need to run the “ROS grand-unified-installer", and varies slightly depending on the operating system.

Step 2: install

ROS now uses a rosconfig tool to automatically install a ROS configuration on your machine. The steps are os-nuetral:

wget http://ros.sf.net/rosconfig -O ~/rosconfig
chmod 755 ~/rosconfig
~/rosconfig bootstrap http://ros.sf.net/config/stable.rosconfig ~/ros move_base_stage

P.S. It will take about two hours or so to install, but at least its a hands-free installation!

Step 3: enjoy

Basically, the installation is done now, but to make things more convenient, you can set the ROS environment variables automatically whenever you open a new shell:

~/rosconfig setup ~/ros > ~/.bashrc.ros
echo "source ~/.bashrc.ros" >> ~/.bashrc

2. Troubleshooting

When we first tried running a network of ROS nodes on more than one computer, it appeared that the eeePC would only receive messages, and was not sending out any messages.

After hours of frustration and searching through message boards, we finally learned what
the problem was. ROS requires that all machines involved in the network be able to ping each other by host name.

The easiest way to do this on Ubuntu is by using Zeroconf, which is analogous to Apple’s Bonjour technology. Zeroconf should already be installed and configured if you are using Ubuntu 9.04.

If you are unsure whether or not Zeroconf is installed and working, you can test it by pinging your machine from another computer like this:

ping hostname.local

Make sure you include .local suffix after the hostname. If it works, then Zeroconf is already setup and running.

After you confirm that Zeroconf is setup properly, the only thing you need to do is tell ROS that you want to use hostname.local instead of hostname to identify your machine. You can do this by setting up the following environment variable in your .bashrc file:

export ROS_HOSTNAME=hostname.local

Once you do this on all the machines that could not be pinged by name, ROS should work fine.

https://help.ubuntu.com/community/HowToZeroconf

Trackback address for this post:

http://artsialliance.org/b2blog/htsrv/trackback.php?tb_id=86

Comments, Trackbacks, Pingbacks:

No Comments/Trackbacks/Pingbacks for this post yet...

This post has 13516 feedbacks awaiting moderation...

Leave a comment:

Your email address will not be displayed on this site.
Your URL will be displayed.

Allowed XHTML tags: <p, ul, ol, li, dl, dt, dd, address, blockquote, ins, del, span, bdo, br, em, strong, dfn, code, samp, kdb, var, cite, abbr, acronym, q, sub, sup, tt, i, b, big, small>
(Line breaks become <br />)
(Set cookies for name, email and url)
(Allow users to contact you through a message form (your email will NOT be displayed.))

Gheric Speiginer's Blog

December 2017
Sun Mon Tue Wed Thu Fri Sat
 << <   > >>
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31            

Categories

Archives

Misc

XML Feeds

What is RSS?

powered by b2evolution free blog software