- Marcelo Jacinto marcelo.jacinto@tecnico.ulisboa.pt 🔱 poseidon
- Professor Rita Cunha rita@isr.tecnico.ulisboa.pt
- Professor António Pascoal antonio@isr.ist.utl.pt
sudo apt-get install libgstreamer-plugins-base1.0-dev python3-empy python3-jinja2 python3-toml python3-pip
sudo apt install python-rosdep python-rosinstall python-rosinstall-generator python-wstool build-essential -y
sudo apt-get install python-catkin-tools python-rosinstall-generator -y
sudo pip install pyliblzma
sudo pip3 install pyliblzma
sudo apt-get install python-lzma
pip3 install ipython numpy scipy pandas matplotlib pyyaml
sudo apt-get install python3-catkin-pkg-modules python3-rospkg-modules
pip3 install ipython numpy scipy pandas matplotlib pyyaml
git clone https://github.com/PX4/PX4-Autopilot.git --recursive
bash ./PX4-Autopilot/Tools/setup/ubuntu.sh
Restart the computer on completion
make px4_sitl jmavsim make px4_sitl gazebo make px4_fmu-v4_default make px4_sitl list_vmd_make_targets
https://docs.qgroundcontrol.com/master/en/getting_started/download_and_install.html
sudo usermod -a -G dialout $USER
sudo apt-get remove modemmanager -y
sudo apt install gstreamer1.0-plugins-bad gstreamer1.0-libav gstreamer1.0-gl -y
Logout and login again to enable the change to user permissions.
Download QGroundControl.AppImage
https://s3-us-west-2.amazonaws.com/qgroundcontrol/latest/QGroundControl.AppImage Install (and run) using the terminal commands:
chmod +x ./QGroundControl.AppImage
./QGroundControl.AppImage
Simple SDK to interface with the already existing PX4 autopilot and EFK Filter
- For python:
pip3 install mavsdk
wget https://github.com/mavlink/MAVSDK/releases/download/v0.39.0/mavsdk_0.39.0_ubuntu18.04_amd64.deb
sudo dpkg -i mavsdk_0.39.0_ubuntu18.04_amd64.deb
which xxd || sudo apt install xxd -y || sudo apt-get install vim-common --no-install-recommends -y
sudo apt-get install python-argparse python-empy python-toml python-numpy python-dev python-pip -y
sudo -H pip install --upgrade pip
sudo -H pip install pandas jinja2 pyserial pyyaml
sudo -H pip install pyulog
We use the Kinetic reference for all ROS distros as it's not distro-specific and up to date
cd $(CATKIN_ROOT)
wstool init src
sudo apt-get install python-catkin-tools python-rosinstall-generator -y
wstool init ~/catkin_ws/src
rosinstall_generator --rosdistro kinetic mavlink | tee /tmp/mavros.rosinstall
rosinstall_generator --upstream mavros | tee -a /tmp/mavros.rosinstall
wstool merge -t src /tmp/mavros.rosinstall
wstool update -t src -j4
#rosdep install --from-paths .
catkin build
sudo apt install python-future python3-future libtool autoconf
git clone https://github.com/intel/mavlink-router ~/ocean/MAVRouter
cd ~/ocean/MAVRouter
git submodule update --init --recursive
./autogen.sh && ./configure CFLAGS='-g -O2' --sysconfdir=/etc --localstatedir=/var --libdir=/usr/lib64 --prefix=/usr
make
sudo make install
mkdir ~/ocean/catkin_ws/src/3rdPartyDrone
cd ~/ocean/catkin_ws/src/3rdPartyDrone
git clone -b kinetic-devel https://github.com/ros-drivers/vrpn_client_ros.git
rosdep install --from-paths .
cd ..
catkin build
sudo apt install geographiclib-tools -y
- Source the install_geographiclib_datasets.sh script directly from github
install_geo=$(wget https://raw.githubusercontent.com/mavlink/mavros/master/mavros/scripts/install_geographiclib_datasets.sh -O
- Source the downloaded bash script
sudo bash -c "$install_geo"
mkdir ~/ocean/MAVSDK-PYTHON
mkdir ~/ocean/MAVSDK-C++
mkdir ~/ocean/MAVRouter