Native installation of the MRS UAV System
Native installation
- Install the Robot Operating System (Noetic):
curl https://ctu-mrs.github.io/ppa-stable/add_ros_ppa.sh | bash
sudo apt install ros-noetic-desktop-full
-
Configure your ROS environment according to http://wiki.ros.org/ROS/Tutorials/InstallingandConfiguringROSEnvironment
-
Add the stable PPA into your apt-get repository:
curl https://ctu-mrs.github.io/ppa-stable/add_ppa.sh | bash
-
Special instructions for the MRS System developers
- Instead of the stable PPA, you can add the unstable PPA, for which the packages are build immediatelly after being pushed to master.
- If you have both PPAs, the unstable has a priority.
- Beware! The unstable PPA might be internally inconsistent, buggy and dangerous!
- Install the MRS UAV System:
sudo apt install ros-noetic-mrs-uav-system-full
- Start the example Gazebo simulation session:
roscd mrs_uav_gazebo_simulation/tmux/one_drone
./start.sh
How to update the MRS UAV System
Issue the following command to update the MRS UAV System:
sudo apt update && rosdep update && sudo apt upgrade --with-new-pkgs --allow-downgrades
What does it do?
sudo apt update
will refresh the available debian packages from the archives.rosdep update
will refresh the rosdep depedency tree >sudo apt upgrade
will download the new versions of packages.--with-new-pkgs
will ensure that if new dependency appears for an already installed package, it will be installed as well.--allow-downgrades
will allow to downgrade a package version. This happens when installing our forks of official ROS packages.