Commit Graph

26387 Commits

Author SHA1 Message Date
Rustom Jehangir ef53455e2d Sub: Implement joystick button actions 2017-02-21 11:26:14 +11:00
Rustom Jehangir 44904760cc Sub: Add JSButton parameters to necessary places 2017-02-21 11:26:14 +11:00
Rustom Jehangir 9d3bf13cff Sub: Add JSButton library to makefile for Sub 2017-02-21 11:26:14 +11:00
Rustom Jehangir 116f166a78 AP_JSButton: New library to map joystick buttons to vehicle functions 2017-02-21 11:26:14 +11:00
Rustom Jehangir 1a28ba3762 Sub: Add AP_JButtonMapper to wscript 2017-02-21 11:26:14 +11:00
Rustom Jehangir af3807bc57 Sub: Move joystick interpretation to joystick.cpp 2017-02-21 11:26:14 +11:00
Rustom Jehangir 5ee68aee42 Sub: Fix compile error in control_althold 2017-02-21 11:26:14 +11:00
Rustom Jehangir 85f972ec65 Sub: Update to match Copter changes. 2017-02-21 11:26:14 +11:00
jaxxzer bd596c8ead Sub: Increase depth update rate from 10Hz to 25Hz 2017-02-21 11:26:14 +11:00
jaxxzer cd31451eb5 Sub: Refactor userhooks 2017-02-21 11:26:14 +11:00
jaxxzer 39fd3054c9 Sub: Make ap.land_complete always false
This flag should eventually be removed completely from the code.
2017-02-21 11:26:14 +11:00
jaxxzer 577240b8d4 Sub: Fix units for surface_depth parameter (cm) 2017-02-21 11:26:14 +11:00
jaxxzer 0c73ad5f4b Sub: Fix units for surface depth 2017-02-21 11:26:14 +11:00
Rustom Jehangir 9fabd7ced7 Sub: Changes to match Copter 2017-02-21 11:26:14 +11:00
jaxxzer ceab2ae759 Sub: land mode will surface the craft 2017-02-21 11:26:14 +11:00
jaxxzer fa4adee7a0 Sub: fix surface units for alt_hold 2017-02-21 11:26:14 +11:00
Rustom Jehangir d159320ac0 Sub: Add throw mode to match Copter.
This is probably never going to be used for Sub unless there is some crazy situation I can't think of. However, we are continuing to maintain Copter changes for now to minimize divergence of the code and make maintenance easy.
2017-02-21 11:26:14 +11:00
jaxxzer bde64bc919 Sub: top and bottom detection working well
althold makes good use of the information and will refuse to attempt to
fly out of the water or dig underground
2017-02-21 11:26:14 +11:00
jaxxzer b36300135a Sub: Add surface and bottom detection capabilities 2017-02-21 11:26:14 +11:00
jaxxzer 66ff7844c2 Sub: change surface/bottom message severity to INFO 2017-02-21 11:26:14 +11:00
jaxxzer 8cd41d305d Sub: Make surface_depth a parameter 2017-02-21 11:26:14 +11:00
Rustom Jehangir 19bac9a265 Sub: Config change to match Copter 2017-02-21 11:26:14 +11:00
jaxxzer 58d1e18614 Sub: update the surface/bottom detector 2017-02-21 11:26:14 +11:00
jaxxzer 8ff479ca1e Sub: Enable altitude fences for sub 2017-02-21 11:26:14 +11:00
jaxxzer 00e1c847a6 Sub: top and bottom detection working well
althold makes good use of the information and will refuse to attempt to
fly out of the water or dig underground
2017-02-21 11:26:14 +11:00
Rustom Jehangir de669c1d41 Sub: Change M_PI to match Copter. 2017-02-21 11:26:14 +11:00
Jacob Walser 584171cf3c Sub: Change gamepad controls for light brightness 2017-02-21 11:26:14 +11:00
jaxxzer 48983c38f8 Sub: Top and bottom detection working for alt hold 2017-02-21 11:26:14 +11:00
jaxxzer 8b337a9c7e Sub: Do nothing for update_throttle_thr_mix 2017-02-21 11:26:14 +11:00
Rustom Jehangir e8b27b9d19 Sub: Removed unneeded control_rov.cpp. 2017-02-21 11:26:14 +11:00
jaxxzer b6a0237a63 Sub: Add surface and bottom detection capabilities 2017-02-21 11:26:14 +11:00
Rustom Jehangir 3869ce55e8 Sub: Changes to match Copter updates. 2017-02-21 11:26:14 +11:00
David Ingraham 473016b41d Sub: Add support for Vectored 6DOF ROV
Sub: Various defines for vectored-6dof configuration

Sub: fix compile errors for vector6dof rov

More fixes
2017-02-21 11:26:14 +11:00
Rustom Jehangir 6cf24c2770 Sub: Remove heli support from sub. 2017-02-21 11:26:14 +11:00
Rustom Jehangir 105eae0e86 Sub: Remove ADSB support 2017-02-21 11:26:14 +11:00
Rustom Jehangir 5d78cacd58 Sub: Remove old file to match Copter 2017-02-21 11:26:14 +11:00
jaxxzer ccb6434831 AP_Scheduler: Set main loop rate to 400hz for Sub 2017-02-21 11:26:14 +11:00
jaxxzer c7bd04966a Sub: Temporary fix for nav check arming failure 2017-02-21 11:26:14 +11:00
jaxxzer 6a12ff1f27 Sub: Revert MAV_TYPE to HEXAROTOR for mavros compatibility 2017-02-21 11:26:14 +11:00
jaxxzer 94c7de36e1 Sub: ensure that gcs and crash failsafes always happen 2017-02-21 11:26:14 +11:00
Rustom Jehangir 1d0ddcc270 Sub: Changes to match Copter updates 2017-02-21 11:26:14 +11:00
Rustom Jehangir 65a1d4fca1 Sub: Update build script and added to build_ci.sh 2017-02-21 11:26:14 +11:00
jaxxzer 0e2f0321f9 Sub: Address safety issues and ensure motors disarm during gcs failsafe 2017-02-21 11:26:14 +11:00
Jacob Walser eb76fc7a3c Sub: Add light control to joystick 2017-02-21 11:26:14 +11:00
Rustom Jehangir fb64195cc7 Sub: Change default build frame type 2017-02-21 11:26:14 +11:00
Rustom Jehangir 59926f99b9 Sub: Add solo shot message fixes 2017-02-21 11:26:14 +11:00
Rustom Jehangir 1d627a23ed Sub: Added COMMAND_INT message type 2017-02-21 11:26:14 +11:00
Rustom Jehangir 1853935b71 Sub: Fixed ROV motor parameters 2017-02-21 11:26:14 +11:00
Rustom Jehangir 771ce2f607 Sub: Separated motor files and frame types 2017-02-21 11:26:14 +11:00
Rustom Jehangir 321e92cf4c Sub: Minor bug fix in radio. 2017-02-21 11:26:14 +11:00