Commit Graph

331 Commits

Author SHA1 Message Date
Jacob Walser 029cf3b388 Sub: Update to library changes 2017-02-21 11:26:14 +11:00
Jacob Walser 098a716d41 Sub: Add TSYS01 'celsius' object 2017-02-21 11:26:14 +11:00
Jacob Walser 6b3610ea70 Sub: Set frame configuration with parameter instead of make target
Now only one firmware is required for ArduSub
2017-02-21 11:26:14 +11:00
Jacob Walser b7e419cf9c Sub: Configure default joystick buttons 2017-02-21 11:26:14 +11:00
Jacob Walser 9ec79ab654 Sub: Remove RC radio failsafe 2017-02-21 11:26:14 +11:00
Jacob Walser 45de3b1163 Sub: Disable Avoidance and Proximity by default 2017-02-21 11:26:14 +11:00
Jacob Walser 8d2203b437 Sub: Remove use of throttle-hover 2017-02-21 11:26:14 +11:00
Jacob Walser 0d575681de Sub: Remove RTL 2017-02-21 11:26:14 +11:00
Jacob Walser 3010114adb Sub: Disable CH6 Tuning 2017-02-21 11:26:14 +11:00
Jacob Walser f10f1a0bae Sub: Remove throw mode 2017-02-21 11:26:14 +11:00
Jacob Walser 4571dbc57c Sub: Fix -Wundef compile warnings 2017-02-21 11:26:14 +11:00
Jacob Walser 6426ceec27 Sub: Disable RCMAP 2017-02-21 11:26:14 +11:00
Jacob Walser ee8670e73d Sub: Disable RPM 2017-02-21 11:26:14 +11:00
Jacob Walser 4cb9ee947b Sub: Disable autotune parameters 2017-02-21 11:26:14 +11:00
Jacob Walser 9c5b304626 Sub: Remove RSSI 2017-02-21 11:26:14 +11:00
Jacob Walser 7e1c63aba3 Sub: Remove sprayer 2017-02-21 11:26:14 +11:00
Jacob Walser 9503e8d140 Sub: Remove ADSB 2017-02-21 11:26:14 +11:00
Jacob Walser 8aebeac6d7 Sub: Remove precision landing 2017-02-21 11:26:14 +11:00
Jacob Walser db56bdf8b0 Sub: Remove landing gear 2017-02-21 11:26:14 +11:00
Jacob Walser 7b5d209aba Sub: Remove parachute 2017-02-21 11:26:14 +11:00
Jacob Walser a430f5a7ae Sub: Remove land/landed code 2017-02-21 11:26:14 +11:00
Jacob Walser b6d76912cf Sub: Remove takeoff code 2017-02-21 11:26:14 +11:00
Jacob Walser 41d892666b Sub: Remove Drift mode 2017-02-21 11:26:14 +11:00
Jacob Walser bc4084931f Sub: Remove Brake mode 2017-02-21 11:26:14 +11:00
Jacob Walser 2959ecc70f Sub: Remove Flip mode 2017-02-21 11:26:14 +11:00
Jacob Walser e2f75d2451 Sub: Remove old RC-style arm and disarm checks 2017-02-21 11:26:14 +11:00
Jacob Walser dd2d0711c0 Sub: Remove baro ground effect compensation 2017-02-21 11:26:14 +11:00
Jacob Walser 6682e93bf3 Sub: Refactor delay()
We don't need a dedicated file only to define a delay function.
This will also provide a preventitive measure for people trying to use
delay() without an understanding of the implications
2017-02-21 11:26:14 +11:00
Jacob Walser cbddc7d814 Sub: Remove control_switch_state struct and reset_control_switch() 2017-02-21 11:26:14 +11:00
Jacob Walser 8367bb4626 Sub: Ditch control mode RC switch logic
Call set_mode() directly from joystick button handler
2017-02-21 11:26:14 +11:00
Jacob Walser eb9aa93486 Sub: Remove dead poshold function declarations 2017-02-21 11:26:14 +11:00
Jacob Walser 5cc1d3293d Sub: Add gain parameters 2017-02-21 11:26:14 +11:00
Jacob Walser 456f5e2e93 Sub: Update Sub to match relevant Copter and Library developments 2017-02-21 11:26:14 +11:00
Jacob Walser 4704faf60d Sub: Revert to 29f8ce95, prior to deadzone PR 2017-02-21 11:26:14 +11:00
Jacob Walser 0b0cda02cc Sub: add method to get throttle channel control_in, while applying
deadzone to center like angle type channels
2017-02-21 11:26:14 +11:00
Jacob Walser dcc96a5705 Sub: First attempts at AUTO mode 2017-02-21 11:26:14 +11:00
Jacob Walser 56207ac284 Sub: AP_WaterDetector -> AP_LeakDetector 2017-02-21 11:26:14 +11:00
Jacob Walser 88e234272f Sub: add params for internal pressure/temperature failsafe actions 2017-02-21 11:26:14 +11:00
Jacob Walser 579f58e9f2 Sub: hold absolute heading in depth hold and poshold 2017-02-21 11:26:14 +11:00
Jacob Walser 1143f98fad Sub: Add GCS warnings for high internal pressure/temperature 2017-02-21 11:26:14 +11:00
Jacob Walser 0085cc8a27 Sub: rename modes loiter->velhold, sport->transect 2017-02-21 11:26:14 +11:00
Jacob Walser 5911785455 Sub: Add leak and gcs failsafe actions 2017-02-21 11:26:14 +11:00
Jacob Walser e2a7ba5b0c Sub: replace land with surface mode 2017-02-21 11:26:14 +11:00
Jacob Walser b364d94c43 Sub: Warn for leak detection 2017-02-21 11:26:14 +11:00
Jacob Walser a811cfe7fb Sub: Add WaterDetector object and parameters 2017-02-21 11:26:14 +11:00
Rustom Jehangir e1882d9596 Sub: Fix camera low pass filter and allow button holding. 2017-02-21 11:26:14 +11:00
Rustom Jehangir e9c2ad9192 Sub: Changes to match upstream Copter changes. 2017-02-21 11:26:14 +11:00
jaxxzer 38be177e47 Sub: Add manual mode functions 2017-02-21 11:26:14 +11:00
jaxxzer e016e906f5 Sub: Create new Vectored 90DEG (6DOF) class 2017-02-21 11:26:14 +11:00
Rustom Jehangir 5adcb2cbef Sub: Changes based on diff with Copter. 2017-02-21 11:26:14 +11:00
Rustom Jehangir 814605c461 Sub: Make changes to match Copter changes 2017-02-21 11:26:14 +11:00
Rustom Jehangir accbbce304 Sub: Turn counter (#23)
* Sub: Add turn counter to avoid tether tangling.

* Sub: Add turn counter.

* Sub: Bug fix in turn counter.
2017-02-21 11:26:14 +11:00
Rustom Jehangir 9198b8cb29 Sub: Changes to match recent Copter updates. 2017-02-21 11:26:14 +11:00
Rustom Jehangir 26d0a922c1 Sub: Changes to match recent Copter updates. 2017-02-21 11:26:14 +11:00
Rustom Jehangir e857f20784 Sub: Changes to match Copter 2017-02-21 11:26:14 +11:00
Rustom Jehangir d628b0d022 Sub: Add 'SimpleROV' frame configuration for 3/4-dof ROVs 2017-02-21 11:26:14 +11:00
Rustom Jehangir 617b439d0e Sub: Match Copter changes 2017-02-21 11:26:14 +11:00
Rustom Jehangir 3b679808f3 Sub: Match Copter changes. 2017-02-21 11:26:14 +11:00
Rustom Jehangir c1f05b9e25 Sub: Match copter mode change stuff 2017-02-21 11:26:14 +11:00
Rustom Jehangir 837f429bf0 Sub: Refactor 'strafe' to 'lateral' 2017-02-21 11:26:14 +11:00
Rustom Jehangir 3a942434e7 Sub: Change to cmath header. 2017-02-21 11:26:14 +11:00
Rustom Jehangir 7e7b7c9afb Sub: Add low pass filter (from Copter) 2017-02-21 11:26:14 +11:00
Rustom Jehangir 684bc249b6 Sub: Update to match upstream, part 1 2017-02-21 11:26:14 +11:00
Rustom Jehangir e0d3eba5a4 Sub: Match Copter changes 2017-02-21 11:26:14 +11:00
Rustom Jehangir 802f4f617f Sub: Clean joystick code with helpers 2017-02-21 11:26:14 +11:00
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 85f972ec65 Sub: Update to match Copter changes. 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 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
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 1d0ddcc270 Sub: Changes to match Copter updates 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 c15d7299fa Sub: Sub changes to match newest Copter changes 2017-02-21 11:26:14 +11:00
Rustom Jehangir 83ff3931b8 Sub: Refactor "Copter" to "Sub". 2017-02-21 11:26:14 +11:00