Skip to content

Instantly share code, notes, and snippets.

@tstellanova
Last active October 1, 2019 17:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tstellanova/149e5744e24ec27149e6db77c05fabd2 to your computer and use it in GitHub Desktop.
Save tstellanova/149e5744e24ec27149e6db77c05fabd2 to your computer and use it in GitHub Desktop.
Script for setting up ubuntu development environment for PX4
#!/bin/bash
# allow ssh to this box
sudo apt-get install openssh-server
# Gazebo simulator
sudo apt-get install protobuf-compiler libeigen3-dev libopencv-dev -y
sudo sh -c 'echo "deb http://packages.osrfoundation.org/gazebo/ubuntu-stable `lsb_release -cs` main" > /etc/apt/sources.list.d/gazebo-stable.list'
## Setup keys
wget http://packages.osrfoundation.org/gazebo.key -O - | sudo apt-key add -
## Update the debian database:
sudo apt-get update -y
## Install Gazebo9
sudo apt-get install gazebo9 -y
## For developers (who work on top of Gazebo) one extra package
sudo apt-get install libgazebo9-dev -y
# need git n stuff for px4 builds
sudo apt-get install git python-jinja2 -y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment