|Please ask about problems and questions regarding this tutorial on answers.ros.org. Don't forget to include in your question the link to this page, the versions of your OS & ROS, and also add appropriate tags.|
Download and install wifi_commDescription: This tutorial will guide you through the process if downloading and installing wifi_comm as well as olsrd.
Tutorial Level: BEGINNER
Next Tutorial: How to run wifi_comm
Downloading and installing olsrd 0.6.0
WifiComm requires olsrd to work, so before you actualy download and install WifiComm you will download and install olsrd.
Go to http://www.olsr.org/?q=olsrd-0.6.0 and download olsrd 0.6.0. WifiComm might work with newer versions however that has never been tested.
Extract the olsrd 0.6.0 folder into your Desktop, open a new terminal window and run the following commands:
cd Desktop/olsrd-0.6.0 make sudo make install
Now you need to install txtinfo and httpinfo:
cd lib/txtinfo make sudo make install cd .. cd httpinfo make sudo make install
Finally you'll need to change the default port on olsrd which is 2006 to 8080. To do that open the file olsrd.conf:
sudo gedit /etc/olsrd.conf
Find the following line:
Add a new line so that it looks like this:
#PlParam "port" PlParam "port" "8080"
Save the file and close it.
You can test olsrd by running the following command:
sudo olsrd -i ra0
Your interface might be something like ra0 or wlan0. Also, don't forget you must be root to run olsrd hence the sudo.
Downloading and installing wifi_comm
Start by going to a directory that is on your ROS_PACKAGE_PATH where you'll want to install wifi_comm.
svn co https://code.ros.org/svn/ros/stacks/multimaster_experimental/trunk multimaster_experimental
svn co http://isr-uc-ros-pkg.googlecode.com/svn/stacks/lse_communication/trunk/ lse_communication
Finally all you have to do is rosmake wifi_comm:
And that's it! Congratulations on downloading and installing wifi_comm!
You are now ready to proceed to the next tutorial, How to run wifi_comm!