Real-Sim is a Navigation Localisation and Mapping pipeline for Autonomous UAVs. It is based on PX4-Firmware, Mavlink and MavROS. It can be used for integrating your algorithms on a Gazebo Simulation UAV [like IRIS], and directly implement the same on Hardware without any modification to the code.
Work under progress…
- Open the terminal and clone the repository: git clone https://github.com/reyanshsolis/realsim.git
- Select the script you want to use: Installation Groups: A. Git | terminator | openssh | exFAT utils | tmux | Unzip | Sublime B. ROS Melodic - Full C. Required Dependencies D. Ceres-solver E. librealsense F. ROS Packages for - realsense | VINS - Mono and Fusion | MAVROS | Octomap | Geographiclib G. QGroundControl H. OpenCV I. PCL J. PX4-Firmware
a. ubuntu_freshinstallation_melodic.sh
This will install groups A. to I.
b. px4-firmware.sh
This is install and configure PX4/Firmware
Fresh Installation on Ubuntu 18.04: How to use the scripts To use the scripts:
- Make the user a member of the group "dialout" (this only has to be done once):
- Open a terminal and enter the following command: sudo usermod -a -G dialout $USER
- Logout and login again (the change is only made after a new login).
- make sure you are in the package root directory
- Run the script in a bash shell (e.g. to run ubuntu_sim.sh): source ubuntu_sim.sh
- Acknowledge any prompts as the scripts progress.
Never ever fix permission problems by using
sudo
. It will create more permission problems in the process and require a system re-installation to fix them.
The user needs to be part of the group "dialout":
sudo usermod -a -G dialout $USER
Then logout and login again (the change is only made after a new login).
5.1 Configure VINS-Fusion
6.1 Octomap