Commit Graph

69 Commits

Author SHA1 Message Date
Peter Barker afadb7e6c0 ArduSub: make SRV_Channels::cork non-static
for symmetry with the push function
2024-11-13 19:47:49 +11:00
Peter Barker a8b07a854f ArduSub: create and use a singleton for SRV_Channels
avoid creation of static pointers to objects held within SRV_Channels
2024-11-13 19:47:49 +11:00
Willian Galvani 2b60e93410 Sub: move servo calc logic to motors_output() and cork SRV_Channels for improved performance 2024-06-28 13:10:15 -03:00
Peter Barker daf427f6d6 Sub: accept MAV_CMD_DO_MOTOR_TEST as both command-int and command-long 2023-09-27 17:39:55 +10:00
Willian Galvani 9b70ac1286 Sub: big mode refactor 2023-07-13 14:56:40 -03:00
Willian Galvani d5ec5f1dfc Sub: Motor-test: change disarm method on motor test timeout 2021-10-11 17:56:06 -03:00
Leonard Hall 74d22594db Sub: integrate AC_PosControl::get_roll_cd rename 2021-05-12 17:16:00 +10:00
Willian Galvani 2e9bd43c49 Sub: rate-limit init_motor_test() calls 2019-12-03 10:50:38 -05:00
Willian Galvani 2b0773c18b Sub: Create MOTOR_DETECT mode
This mode attempts to detect the direction of all motors and adjust parameters appropriately.
2019-09-26 09:39:50 -07:00
Willian Galvani 0e4366d540 Sub: improve motor test message 2019-09-16 13:56:32 -07:00
Justin 3dfaa5f021 Sub: Changed the MAV_SEVERITY of the motor test timed out message to INFO so that it wont be read out loud everytime the user ends the motor test 2019-07-10 12:19:27 -04:00
Peter Barker b25acb4d22 Sub: move Arming functions into AP_Arming file 2019-05-30 16:02:10 +09:00
Peter Barker 8566a17a1d Sub: move arming-related functionality into parent classes
Logging moves up
arming via mavlink moves up
arming via switch moves up

arming switch may be forced off using BRD parameter
2019-05-30 07:37:30 +09:00
Tom Pittenger 2dc766556d Sub: rename dataflash to logger 2019-03-28 16:40:57 +11:00
Jacob Walser ad67511f46 Sub: bugfix fail condition in motor test initialization 2019-03-25 09:00:26 +11:00
Peter Barker c48042424b Sub: use enum class for ArmingMethod and ArmingRequired 2019-03-12 19:48:14 +11:00
Peter Barker 8937ef3190 Sub: make setting of home boolean in preparation for sanity checks 2019-02-15 08:28:45 +11:00
Peter Barker 6fc76a32af GLOBAL: use AP::logger() and strip redundant Log_ from methods 2019-01-18 18:08:20 +11:00
Peter Barker b47733142f GLOBAL: rename DataFlash_Class to AP_Logger 2019-01-18 18:08:20 +11:00
Peter Barker 3cfdcb1f2c ArduSub: use ArmingMethod enumeration 2018-07-03 15:16:38 +10:00
Jacob Walser f4da0215d1 Sub: add motor test implementation 2018-07-02 11:31:58 -04:00
Peter Barker 69d8980608 Sub: split home-set and home-locked state 2018-05-29 14:38:45 +10:00
Peter Barker 3af4806d38 Sub: move home state into AP_AHRS 2018-03-19 10:32:37 +09:00
Peter Barker 7313d9e7a7 Sub: use AP_Scheduler's loop() function 2018-02-13 17:15:05 +11:00
Peter Barker ecb805768b Sub: remove shims used in scheduler table 2018-02-12 10:37:21 -08:00
Peter Barker 901dc46708 Sub: use AP::PerfInfo library 2017-11-16 15:31:53 +00:00
dheideman 69be1725b6 Sub: Disable input hold on disarm 2017-10-26 10:52:53 -04:00
Andrew Tridgell aeb2a628c4 Sub: fix for AP_Motors API change 2017-10-22 15:52:50 +11:00
Peter Barker 342d95ad2f Sub: move starting of new logs into DataFlash 2017-07-19 16:37:28 +01:00
Peter Barker 279072cf25 Sub: use send_text method on the GCS singleton 2017-07-09 17:17:29 -04:00
Peter Barker 32d02b1f18 Sub: eliminate calls to manipulate _writes_enabled 2017-06-11 20:34:12 +01:00
Randy Mackay 7bae493138 Sub: consolidate set_home functions
added lock argument instead of having twice as many functions
no functional change
2017-06-07 13:01:38 +09: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 01e01d1df9 Sub: Fix logging bug where only one log was created after first arm 2017-04-14 13:43:35 -04:00
Jacob Walser c16046aadf Sub: Remove unused motor emergency stop and interlock 2017-04-14 13:26:37 -04:00
Jacob Walser 3e471e808a Sub: Refactor methods in navigation.cpp 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 4349eaba32 Sub: Clean up radio.cpp 2017-04-06 14:11:12 -04:00
Jacob Walser d794bf88cb Sub: Remove old/unused motor test code and motor_test.cpp 2017-04-06 14:11:12 -04:00
Jacob Walser bc5d9b1a19 Sub: Remove unused lost_vehicle_check 2017-03-24 16:31:09 -04:00
Jacob Walser 1a68fce2d0 Sub: Remove auto_disarm_check
There isn't a good set of conditions to determine if we should
automatically disarm
2017-03-24 16:31:09 -04:00
Jacob Walser 7859f6426e Sub: Implement battery failsafe 2017-03-24 16:31:09 -04:00
Jacob Walser 6886952438 Sub: Remove simple mode 2017-03-22 23:39:37 -04:00
Jacob Walser 7c552d3545 Sub: Remove unsused aux switch code 2017-03-10 15:46:30 +11:00
Jacob Walser 8dc09440d8 Sub: Implement guided mode 2017-03-08 15:58:28 -05:00
jaxxzer 1ec592a2c5 Sub: Implement NAV_CMD_LOITER_TURNS 2017-03-07 09:35:41 +11:00
Jacob Walser ca38a344f8 Sub: Remove unsupported autotune 2017-03-07 09:35:41 +11:00
Jacob Walser a62d728933 Sub: Move arming checks under AP_Arming_Sub 2017-03-01 10:57:27 -05:00
Jacob Walser 1990aa7829 Sub: Update stale references to Copter 2017-02-21 11:26:14 +11:00