Commit Graph

174 Commits

Author SHA1 Message Date
Peter Barker aae9dc55e3 Sub: move responsibility for logging into library 2019-04-23 10:06:17 +10:00
Peter Barker c6a9130d84 Sub: call compass cal routine directly from sched table 2019-04-23 10:06:17 +10:00
Peter Barker b1c4a5ade7 Sub: move enabled parameter into compass library 2019-04-02 10:24:49 +11:00
Tom Pittenger 2dc766556d Sub: rename dataflash to logger 2019-03-28 16:40:57 +11:00
Peter Barker 5b618fb582 Sub: fill Notify flag for flying 2019-03-19 14:39:14 +11:00
Peter Barker 97792d1774 Sub: AHRS set_orientation renamed to update_orientation 2019-02-26 10:28:09 +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
Andrew Tridgell 25c659822a Sub: changed Log_Write_Rate to use AHRS_View 2018-12-21 22:17:52 +11:00
Francisco Ferreira 6f01073786 Sub: fix error in task scheduled rate 2018-12-14 09:17:02 +09:00
Peter Barker 2e58eb1d46 Sub: call GCS update_send at main loop rate 2018-12-10 12:52:41 +09:00
Peter Barker b31ce6ae69 Sub: adjust for new update entry points into GCS 2018-12-10 12:52:41 +09:00
Peter Barker 27405f9dd7 Sub: remove pointless wrappers around gcs functions 2018-11-23 10:56:17 +11:00
Peter Barker 376a422cff Sub: OpticalFlow takes care of its own logging 2018-11-13 10:40:23 +11:00
Andrew Tridgell a8f5079df9 Sub: enable in-flight compass learning 2018-10-24 07:25:42 +10:00
Randy Mackay 012dd57246 Sub: rename gcs_check_input to gcs_update 2018-08-24 15:30:50 +09:00
Randy Mackay 54df7ad88d Sub: remove compass accumulate 2018-08-06 11:05:34 +10:00
Peter Barker 1ba0901e51 Sub: minimal support for inheritting from RC_Channel 2018-08-01 12:11:30 +09:00
Peter Barker d183847aa3 Sub: use compass singleton for logging 2018-07-04 20:11:27 +01:00
Patrick José Pereira dcd3f83539 Sub: Remove void as parameter
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-07-02 11:25:03 -04:00
Peter Barker 4cc236b8a7 Sub: use AP_RTC
Sub: AP_GPS now sets the system time directly

Sub: use AP_RTC for delays in missions
2018-06-15 08:01:22 +10:00
Peter Barker 0a0e11ba21 Sub: correct compilation when features disabled
Gripper
Mount
2018-05-10 17:55:13 +09:00
Patrick José Pereira e62b560095 Sub: Move SITL barometer check to control_check_barometer
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-05-07 17:28:51 -04:00
Michael du Breuil 6642b9e585 Sub: Support new RC_Channels::read_input() 2018-04-26 08:00:09 +10:00
Patrick José Pereira 0878f5044c Sub: Send a clear message if depth sensor is not connected
Fix bluerobotics/ardusub#151

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-04-19 07:45:00 -07:00
Peter Barker a10c843e6e Sub: GPS now logs its own data 2018-04-18 13:50:55 +09:00
Michael du Breuil 6ebe954d51 Sub: Support new battery failsafes 2018-03-27 22:12:21 +01:00
Peter Barker 78ca188dc3 Sub: use ins singleton 2018-03-16 00:37:35 -07:00
Randy Mackay c857f8332b Sub: replace NTUN with PSC logging 2018-03-16 13:50:57 +09:00
Andrew Tridgell 59868f425e Sub: use scheduler.get_last_loop_time_s() 2018-02-13 17:15:05 +11:00
Peter Barker 44a1553535 Sub: eliminate perf_update scheduler table shim 2018-02-13 17:15:05 +11:00
Andrew Tridgell 832a96d29f Sub: use filtered loop time 2018-02-13 17:15:05 +11:00
Peter Barker ae958632ec Sub: pass log-performance-bit at init time rather than update time 2018-02-13 17:15:05 +11:00
Peter Barker 980fbf6cfb Sub: move logging of PM messages to AP_Scheduler 2018-02-13 17:15:05 +11:00
Peter Barker 3e6ba8d96e Sub: move PERF: statustext sending into AP_Scheduler 2018-02-13 17:15:05 +11:00
Peter Barker 7313d9e7a7 Sub: use AP_Scheduler's loop() function 2018-02-13 17:15:05 +11:00
Peter Barker 9bb1224cef Sub: use scheduler ticks in place of mainloop_count 2018-02-13 17:15:05 +11:00
Peter Barker 044bc9adf0 Sub: tell PerfInfo the configured loop rate 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
Andrew Tridgell 58dfca8ccd Sub: pass loop rate to perf_info 2018-02-08 17:36:33 +11:00
Randy Mackay 6a701b2412 Sub: move pos-control pids to pos-control library 2018-01-23 12:00:43 +09:00
Randy Mackay f01b483657 Sub: move barometer_accumulate to sensors.cpp
non-functional change
2017-11-22 17:13:14 +09:00
Peter Barker fc3721c123 Sub: add average and stddev time to SCHED_DEBUG output 2017-11-16 15:31:53 +00:00
Peter Barker 901dc46708 Sub: use AP::PerfInfo library 2017-11-16 15:31:53 +00:00
Peter Barker 6d32fb7f2a Sub: call ins's periodic function 2017-10-27 16:33:45 +11:00
Jacob Walser 15658f1526 Sub: rework camera tilt input and slew limiting 2017-10-26 10:44:23 -04:00
Peter Barker b1516cc6e8 Sub: base loop time remaining on variable loop rate 2017-08-26 09:33:45 +09:00
Peter Barker ee6969939b Sub: fix underflow in scheduler
4eee3b1317 fixed this in Copter
2017-07-31 15:51:30 +01:00
Peter Barker b299772a75 Sub: camera is responsible for taking distance-based-images and logging 2017-07-28 14:27:53 +01:00
Peter Barker f82fa22833 Sub: eliminate gcs_end_message wrapper 2017-07-11 23:45:16 +01:00
Peter Barker 279072cf25 Sub: use send_text method on the GCS singleton 2017-07-09 17:17:29 -04:00
Peter Barker 7cd794201e Sub: use DataFlash should_log to determine raw IMU logging 2017-06-29 15:26:27 +01:00
Randy Mackay 5936fc1ff8 Sub: compass set-initial-location uses ahrs location
Previously it could attempt to use a gps location even if gps was not being used
Also compass-accumulate moved to sensors.cpp
2017-06-07 13:01:38 +09:00
Peter Barker b3ce03bfb0 Sub: stop appending lf to PERF message 2017-05-01 16:21:55 +01:00
Jacob Walser e24fef70f6 Sub: Workaround for more graceful servo mount initialization 2017-04-16 20:14:23 -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 b7de1eb88a Sub: failsafe.manual_control -> failsafe.pilot_input
reset pilot input failsafe timer when RC_CHANNELS_OVERRIDE is received
2017-04-16 14:25:13 -04:00
Jacob Walser b28c3584d4 Sub: Add ekf failsafe check 2017-04-16 14:25:13 -04:00
Jacob Walser 0b1a2c3959 Sub: Remove ekf_check.cpp and unused ekf failsafe methods 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 c599ba8c97 Sub: Disable Camera object by default and rework guards
Camera object hasn't been tested on Sub yet
2017-04-14 13:26:37 -04:00
Jacob Walser 2fac49a163 Sub: Remove unused pre_arm_check()
This is performed by AP_Arming now
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 ea8dbbf96c Sub: Remove HIL_MODE stuff 2017-04-06 14:11:12 -04:00
Jacob Walser 8634fb47ea Sub: re-arrange fast_loop for minimum latency
match Copter changes @72923277
2017-04-06 14:11:12 -04:00
Jacob Walser b32b552d1e Sub: Implement crash failsafe check/action 2017-03-24 16:31:09 -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 45328f220c Sub: set_leak_status() -> failsafe_leak_check() 2017-03-24 16:31:09 -04:00
Jacob Walser 5b4ec88f11 Sub: Remove one layer of abstraction for ServoRelayEvents.update_events
call
2017-03-23 01:36:17 -04:00
Jacob Walser cb38c66479 Sub: Move Notify update to ArduSub.cpp
No need for a separate file
2017-03-23 01:36:17 -04:00
Jacob Walser 2fa9d31787 Sub: Remove auto-trim
Sub vehicles usually have some static stability
2017-03-23 01:36:17 -04:00
Jacob Walser 15a117dfb4 Sub: Remove ch6 tuning 2017-03-23 01:36:17 -04:00
Jacob Walser 6886952438 Sub: Remove simple mode 2017-03-22 23:39:37 -04:00
Jacob Walser fae6c084ac Sub: Add camera slew rate parameter 2017-03-22 15:53:38 -04:00
Jacob Walser 7c552d3545 Sub: Remove unsused aux switch code 2017-03-10 15:46:30 +11:00
Jacob Walser c1959952b3 Sub: Bug fix for camera_tilt_smooth() conflict with RC_CHANNELS_OVERRIDE 2017-03-10 15:46:30 +11:00
Jacob Walser 0ce2896e22 Sub: Remove rc receiver code 2017-03-10 15:46:30 +11:00
Jacob Walser 5acfc164df Sub: Implement crash check 2017-03-10 15:46:30 +11:00
Jacob Walser 4a3917a349 Sub: Run rate controllers before AHRS/EKF update 2017-03-07 09:35:41 +11:00
Jacob Walser 1bc1e3faeb Sub: Update Notify pre_arm_gps_flag 2017-03-02 15:12:31 -05:00
Jacob Walser a62d728933 Sub: Move arming checks under AP_Arming_Sub 2017-03-01 10:57:27 -05:00
Andrew Tridgell 053f0b4ce7 Sub: fixed AHRS_View update 2017-02-24 15:51:11 -05:00
Jacob Walser 88b3e7e11d Sub: Use default StorageManager layout instead of copter layout 2017-02-21 11:26:14 +11:00
Jacob Walser 1990aa7829 Sub: Update stale references to Copter 2017-02-21 11:26:14 +11:00
Jacob Walser 9c0ddf2808 Sub: Remove stale comments and devlist from ArduSub.cpp 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 029cf3b388 Sub: Update to library changes 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 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 7e1c63aba3 Sub: Remove sprayer 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 a430f5a7ae Sub: Remove land/landed code 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