------ Getting Started ------
Install the latest version of ROS on your computer.
Make sure to install the following packages to your python environment.
$ pip install pyyaml
$ pip install numpy
$ pip install rospkg
$ pip install pycryptodomex
$ pip install gnupg
$ pip install empy
If you would like to use the keyboard or a joypad to control the multirotor make sure to install pygame.
$ pip install pygame
Clone this repo (ROScopter) and the ROSflight (https://github.com/rosflight/rosflight) repo into your catkin_ws/src.
To use the gazebo simulation package, clone the ROSflight_plugins repo (https://github.com/byu-magicc/rosflight_plugins). If you would like to use the keyboard as a RC controller, clone the rosflight_joy repo as well (https://github.com/rosflight/rosflight_joy).
If you would like to use the rosflight_holodeck simulation package, clone the rosflight_holodeck repo (https://magiccvs.byu.edu/gitlab/lab/rosflight_holodeck) and follow installation instructions on the linked page.
Next install catkin and create a catkin workspace. Build and source the catkin workspace by navigating to the workspace and running these commands.
$ source devel/setup.bash
----- ROScopter Sim -----
This simulation does not simulate the firmware (rosflight) and does not require RC input. It has the same API as the SIL stack, and can be useful for developing high-level algorithms, however it makes some simplifying assumptions in the dynamics which reduces the fidelity of the simulation.
You can run the Gazebo simulator with
$ roslaunch roscopter_sim gazebo.launch
Make sure to push the play button in the Gazebo simulator.
----- Wiki -----
To get more help on how to setup roscopter visit the wiki (https://github.com/byu-magicc/roscopter/wiki).
Develop and document process noise std tuning methods.
Develop and document a tuning procedure for the multirotor. This includes tuning all the gain parameters for the flight vehicle.
Standardize the flight controller board. Board sensor suite needs to include an IMU, barometer and magnetometer. Current board and sensor combination is becoming obsolete.
Implement a trajectory follower control node. Should recieve inertial position, velocity, acceleration and heading, and output angular rate and throttle.
Develop and document a magnetometer calibration routine and incorporate magnetometer measurements to the estimator. This would enable accurate heading estimates at initialization and during hover flight.
Support an additional altitude sensor for landing. Possible options include sonar, laser, or camera.
Create a failsafe mode so the quadrotor can have a safe landing. Use cases include when RC connection is lost.
Improve flight performance in windy conditions. Most accurate solution is to incorporate wind estimation. This is possible without air sensors if you can estimate parameters of the flight vehicle such as drag and thrust coefficients.
Enable Roscopter to fly in reference to the vehicle 1 frame and body fixed frames as well as the inertial frame.