Commit Graph

150 Commits

Author SHA1 Message Date
Andrew Tridgell 36a633bc7a Sub: call BoardConfig.init_safety() at end of startup
this fixes a bug where motors can start on soft reboot
2017-04-30 21:47:04 +10:00
Jacob Walser 287f2e3c56 Sub: Rework log opening/closing logic
We were trying to open logs at >400Hz when logging wasn't available
2017-04-17 10:55:18 -04:00
Jacob Walser 3a501a42fb Sub: Set default param value instead of forcing at boot 2017-04-16 14:25:13 -04:00
Jacob Walser 8c6fa6f651 Sub: Remove unused ap.usb_connected flag 2017-04-16 14:25:13 -04:00
Jacob Walser c093e1c37e Sub: Add failsafe mechanisms for depth sensor error 2017-04-16 14:25:13 -04:00
Jacob Walser 8b3c414ca7 Sub: Remove cliSerial alias for hal.console 2017-04-14 13:26:37 -04:00
Jacob Walser 84527d6e66 Sub: Remove unused auto_armed flag 2017-04-14 13:26:37 -04:00
Jacob Walser 854275459d Sub: Fix compile-time OPTFLOW enabling switch 2017-04-14 13:26:37 -04:00
Jacob Walser 563402c41d Sub: Don't wait for an XBee at boot 2017-04-07 14:47:48 -04:00
Jacob Walser 23c18335a3 Sub: failsafe_xxx -> mainloop_failsafe_xxx 2017-04-06 17:58:26 -04:00
Jacob Walser ea8dbbf96c Sub: Remove HIL_MODE stuff 2017-04-06 14:11:12 -04:00
Jacob Walser 3b1827ca21 Sub: Remove throttle-zero flag
Doesn't help us like in Copter
2017-04-06 14:11:12 -04:00
Jacob Walser 69c9dbc286 Sub: Remove deprecated/unused CLI and AP_Menu 2017-04-05 13:29:06 -04:00
Jacob Walser 7c552d3545 Sub: Remove unsused aux switch code 2017-03-10 15:46:30 +11:00
Jacob Walser ec0b073fbc Sub: Check for BARO_TYPE_WATER before assigning depth sensor 2017-02-21 11:26:14 +11:00
Jacob Walser 68a7534f2c Sub: Use AHRS_VEHICLE_SUBMARINE as AHRS vehicle class 2017-02-21 11:26:14 +11:00
Peter Barker ee07a06fa2 Sub: support for a GCS singleton 2017-02-21 11:26:14 +11:00
Peter Barker 6fb2a6814f Sub: rename gcs[] to gcs_chan[]
Wish to use gcs() to return the gcs singleton
2017-02-21 11:26:14 +11:00
Jacob Walser 65cd28cc6c Sub: Only save baro calibration parameters when user zeros 2017-02-21 11:26:14 +11:00
Jacob Walser 942d6450d2 Sub: AP_Baro library takes care of baro type 2017-02-21 11:26:14 +11:00
Jacob Walser 2d29698df8 Sub: Use AP_Baro::baro_type_t 2017-02-21 11:26:14 +11:00
Jacob Walser 4112fd1316 Sub: Remove mode header 2017-02-21 11:26:14 +11:00
Jacob Walser 5233b25910 Sub: Format all C++ with Tools/CodeStyle/astylerc 2017-02-21 11:26:14 +11:00
Jacob Walser ed87bd9e59 Sub: fixes from rebase on ArduPilot master 2017-02-21 11:26:14 +11:00
Jacob Walser 852374ab4d Sub: Manual control failsafe 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 45de3b1163 Sub: Disable Avoidance and Proximity by default 2017-02-21 11:26:14 +11:00
Jacob Walser ee8670e73d Sub: Disable RPM 2017-02-21 11:26:14 +11:00
Jacob Walser 9c5b304626 Sub: Remove RSSI 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 d75919eadc Sub: Remove deprecated parameters 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 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 579f58e9f2 Sub: hold absolute heading in depth hold and poshold 2017-02-21 11:26:14 +11:00
Jacob Walser 9426849b8d Sub: Change default ATC_ACCEL_Y_MAX to 110k cd/ss 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 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 617b439d0e Sub: Match Copter changes 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 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
Rustom Jehangir 3869ce55e8 Sub: Changes to match Copter updates. 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 077b0283f3 Sub: Update camera mount for changes. 2017-02-21 11:26:14 +11:00
jaxxzer a299528194 Sub: Some more tweaks for water pressure. Change throttle_zero to mid stick. 2017-02-21 11:26:14 +11:00
jaxxzer 3af1dc8c93 Sub: Add support for external pressure sensor in ROV context. 2017-02-21 11:26:14 +11:00
Rustom Jehangir 83ff3931b8 Sub: Refactor "Copter" to "Sub". 2017-02-21 11:26:14 +11:00
Rustom Jehangir 3da7c95e9b Sub: New vehicle type, derived from ArduCopter. 2017-02-21 11:26:14 +11:00