ROVIO detailed installation steps from scrach

来源:互联网 发布:php导入excel到数据库 编辑:程序博客网 时间:2024/06/07 20:39

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 distributionmkdir -p ~/ros_tutorials_ws/src                       # Create workspacecd ~/ros_tutorials_ws/src                             # Navigate to source spacerosinstall_generator --deps ros_tutorials > .rosinstall  # Get list of pakcageswstool update                                            # Checkout all packagescd ~/ros_tutorials_ws                                 # Navigate to ros workspace rootcatkin 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
   

1 0
原创粉丝点击