ROVIO detailed installation steps from scrach
1. Installed Ubuntu 14.04
2. System update:
sudo apt-get update
sudo apt-get install build-essential
2. Prerequisite
sudo apt-get install git-core
sudo apt-get -y install python-pip
2. Installed ROS indigo
http://wiki.ros.org/indigo/Installation/Ubuntu
3. Installed kindr(https://github.com/ethz-asl/kindr)
sudo add-apt-repository ppa:ethz-asl/common
sudo apt-get update
sudo apt-get install ros-indigo-kindr-*
4. Installed catkin-tools
http://catkin-tools.readthedocs.io/en/latest/installing.html
5. python-rosinstall
sudo apt-get update
sudo apt-get install python-rosinstall-generator
6. Init workspace
export ROS_DISTRO=indigo # Set ROS distribution mkdir -p ~/ros_tutorials_ws/src # Create workspace cd ~/ros_tutorials_ws/src # Navigate to source space rosinstall_generator --deps ros_tutorials > .rosinstall # Get list of pakcages wstool update # Checkout all packages cd ~/ros_tutorials_ws # Navigate to ros workspace root catkin init # Initialize workspace
"wstool update" is very slow, takes hours.
5. Download source code to the src folder from git.
src->git clone https://github.com/ethz-asl/rovio.git
src->cd rovio
rovio->git submodule update --init --recursive
6. Open GL
sudo apt-get install freeglut3-dev
sudo apt-get install libglew-dev
7. Install with opengl scene
workspace->catkin build rovio --cmake-args -DCMAKE_BUILD_TYPE=Release -DMAKE_SCENE=ON
8. How to run
every time , run "source roviows/devel/setup.bash".
after that, open three terminals and run the following commmands in each of the three windows.
roscore
rosrun rovio rovio_node
rosbag play path/abc.bag