Browse Source

remove ROS install scripts, they are now in PX4/containers

sbg
Andreas Antener 10 years ago
parent
commit
e2d27ade2e
  1. 41
      Tools/ros/px4_ros_installation_ubuntu.sh
  2. 9
      Tools/ros/px4_workspace_create.sh
  3. 28
      Tools/ros/px4_workspace_setup.sh

41
Tools/ros/px4_ros_installation_ubuntu.sh

@ -1,41 +0,0 @@ @@ -1,41 +0,0 @@
#!/bin/sh
# License: according to LICENSE.md in the root directory of the PX4 Firmware repository
# main ROS Setup
# following http://wiki.ros.org/indigo/Installation/Ubuntu
# also adding drcsim http://gazebosim.org/tutorials?tut=drcsim_install
# run this file with . ./px4_ros_setup_ubuntu.sh
## add ROS repository
sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu trusty main" > /etc/apt/sources.list.d/ros-latest.list'
## add key
wget https://raw.githubusercontent.com/ros/rosdistro/master/ros.key -O - | \
sudo apt-key add -
## Install main ROS pacakges
sudo apt-get update
sudo apt-get -y install ros-indigo-desktop-full
sudo rosdep init
rosdep update
## Setup environment variables
echo "source /opt/ros/indigo/setup.bash" >> ~/.bashrc
. ~/.bashrc
# get rosinstall
sudo apt-get -y install python-rosinstall
# additional dependencies
sudo apt-get -y install ros-indigo-octomap-msgs ros-indigo-joy ros-indigo-mavros ros-indigo-mavros-extras
## drcsim setup (for models)
### add osrf repository
sudo sh -c 'echo "deb http://packages.osrfoundation.org/drc/ubuntu trusty main" > /etc/apt/sources.list.d/drc-latest.list'
### add key
wget http://packages.osrfoundation.org/drc.key -O - | sudo apt-key add -
### install drcsim
sudo apt-get update
sudo apt-get -y install drcsim

9
Tools/ros/px4_workspace_create.sh

@ -1,9 +0,0 @@ @@ -1,9 +0,0 @@
#!/bin/sh
# this script creates a catkin_ws in the current folder
# License: according to LICENSE.md in the root directory of the PX4 Firmware repository
mkdir -p catkin_ws/src
cd catkin_ws/src
catkin_init_workspace
cd ..
catkin_make

28
Tools/ros/px4_workspace_setup.sh

@ -1,28 +0,0 @@ @@ -1,28 +0,0 @@
#!/bin/bash
# License: according to LICENSE.md in the root directory of the PX4 Firmware repository
# run this script from the root of your catkin_ws
source devel/setup.bash
cd src
# PX4 Firmware
git clone https://github.com/PX4/Firmware.git
# euroc simulator
git clone https://github.com/PX4/euroc_simulator.git
# mav comm
git clone https://github.com/PX4/mav_comm.git
# gflags catkin
git clone https://github.com/ethz-asl/gflags_catkin.git
# glog catkin
git clone https://github.com/ethz-asl/glog_catkin.git
# catkin simple
git clone https://github.com/catkin/catkin_simple.git
cd ..
catkin_make
Loading…
Cancel
Save