-
Maytheewat Aramrattana authoredUnverifieda18a5555
Readme.md 1.36 KiB
Pre-requisite
- Ubuntu 16.04 LTS
- ROS Kinetic
- Gazebo 7.14
- You can use this script here:
- Download or save it somewhere
- Go to the location that you saved it
- source ubuntu_sim_ros_gazebo.sh
OpenUAV
This simulation is based on OpenUAV project.
- In your home directory create a
src
folder by typingmkdir src
in your terminal cd src
- Clone all git repositories in OpenUAV to this folder by
git clone
command - Go to the
Firmware
repository by typingcd Firmware
-
source setup-install.sh
(press Return to continue when asked) - When it finishes, type
make posix_sitl_default
- Then try to run Gazebo by typing
gazebo
in your terminal
FAQ
If after making `posix_sitl`, Gazebo doesn’t launch and gives you a error message regarding `geographiclib`
Do the following: * In your terminal type: `sudo apt-get install ros-kinetic-mavros ros-kinetic-mavros-extras` * When that installation is ready type: * `wget https://raw.githubusercontent.com/mavlink/mavros/master/mavros/scripts/install_geographiclib_datasets.sh` * `./install_geographiclib_datasets.sh` (you might have to make the install_geographiclib_datasets.sh executable.)