Commit Graph

53310 Commits

Author SHA1 Message Date
Andy Piper d3e57be6e5 AP_HAL: save a sliding window array of frequency bins
calculate frequency average from sliding window
2022-06-01 15:49:32 +01:00
Andy Piper f244866329 autotest: add test for FFT continuous averaging 2022-06-01 15:49:32 +01:00
Andy Piper 044aaf3004 AP_HAL_Empty: save a sliding window array of frequency bins 2022-06-01 15:49:32 +01:00
Andy Piper 061ddf7a3f AP_HAL_SITL: save a sliding window of frequency bins 2022-06-01 15:49:32 +01:00
Andy Piper 58b04db242 AP_HAL_ChibiOS: save a sliding window of frequency bins 2022-06-01 15:49:32 +01:00
Andy Piper 684cf996e1 AP_GyroFFT: save a sliding window of output frequency bins
allow configuration of DSP averaging frames via FFT_NUM_FRAMES
2022-06-01 15:49:32 +01:00
Andrew Tridgell c02aef8a50 AP_Logger: allow for new log msgs in Replay
this makes replay tuning and code testing much easier as up to 10 new
log messages can be added in the replay code
2022-06-01 17:07:41 +10:00
Maxim Buzdalov e71ced7984 AP_Scripting: Fix parameter name in find_serial, add description
The argument to find_serial is not the protocol name, but the number of instance that can run the Scripting protocol (28).
The matching doc update is in https://github.com/ArduPilot/ardupilot_wiki/pull/4346.
2022-05-31 15:00:57 +01:00
Andrew Tridgell 6f3b760d0b AP_Filesystem: fixed gets() posix compat function
it needs to stop at end of line
2022-05-31 09:26:43 +10:00
Andrew Tridgell 8f2f770e93 Replay: support set source events 2022-05-31 09:17:37 +10:00
Andrew Tridgell 74c4f3c9a9 AP_NavEKF3: log set source events 2022-05-31 09:17:37 +10:00
Andrew Tridgell 8430fc1002 AP_DAL: added set source events for EKF3 2022-05-31 09:17:37 +10:00
Mark Whitehorn 6f789ead55 AP_Math: add unit test for rc_input_to_roll_pitch 2022-05-31 08:08:17 +09:00
Leonard Hall 0c008fe8a9 Copter: AP_Math: Move rc_input_to_roll_pitch conversion to AP_Math 2022-05-31 08:08:17 +09:00
Leonard Hall 1a21c6da1e AP_Math: Move rc_input_to_roll_pitch conversion 2022-05-31 08:08:17 +09:00
Leonard Hall 08cdde5608 Copter: Clarify get_pilot_desired_lean_angles and fix limit 2022-05-31 08:08:17 +09:00
Randy Mackay fc9a792f88 Copter: minor comment fix to auto mode 2022-05-31 07:50:16 +09:00
Randy Mackay dd0d1d6b3c Copter: minor comment fixes to ekf failsafe
the bad variances can be from the compass, velocity or position estimate
2022-05-31 07:50:16 +09:00
Randy Mackay 5cde018198 Copter: auto does not require GPS during attitude_time commands 2022-05-31 07:50:16 +09:00
Randy Mackay 0f73d705a7 Copter: add failsafe_ekf_recheck
this allows modes to retrigger the EKF failsafe if they move from a sub mode that did not require GPS to one that does
2022-05-31 07:50:16 +09:00
Randy Mackay ecad165f86 Copter: remove Auto mode's rare use of mode() method 2022-05-31 07:50:16 +09:00
Randy Mackay b5c58d5c13 Copter: auto supports NAV_ATTITUDE_TIME command 2022-05-31 07:50:16 +09:00
Randy Mackay 6ac864ec2f AP_Mission: support NAV_ATTITUDE_TIME command 2022-05-31 07:50:16 +09:00
Randy Mackay 84514f58ac mavlink: update to latest to include nav-attitude-time 2022-05-31 07:50:16 +09:00
Andy Piper 1899962175 AP_OSD: update parameter menu flightmodes for plane and copter. 2022-05-30 11:16:39 +09:00
Ruffalo-sunghwan d8dc73289d Tools: add name to GIT_Success.txt
RuffaloLavoisier (Jeon sunghwan)
2022-05-28 15:03:30 -07:00
Randy Mackay 04d11ba93e Rover: 4.2.1-rc1 release notes 2022-05-28 16:31:34 +09:00
Randy Mackay 9014d92a22 Copter: 4.2.1-rc1 release notes 2022-05-28 16:31:22 +09:00
Iampete1 ecc86b6a4b AC_AttitudeControl: reduce alt hold min lean angle to 5deg on plane 2022-05-27 08:17:14 +10:00
Sion Vaughan-Thomas 12e3206ddd Tools: added board IDs for GreenSight boards 2022-05-27 05:51:24 +10:00
TunaLobster 53a5043ac4 AP_ICEngine: Change throttle_override to pass in current throttle value 2022-05-26 11:30:41 -07:00
TunaLobster df0a75a0bb Plane: Change throttle_override to pass in current throttle value 2022-05-26 11:30:41 -07:00
TunaLobster 9e26556408 AP_ICEngine: Add redline governor and RPM filter
Adds a top end governor to protect the engine from exceeding design limits. Similar to idle governor.
Adds a LPF at 0.5 Hz for RPM.
2022-05-26 11:30:41 -07:00
Peter Barker a09e8527ff Tools: build_options.py: disable MSP, UAVCAN, Dummy and ExternalAHRS baro backends by default
Causes build errors as (e.g. ExternalAHRS is disable by default)
2022-05-26 21:45:45 +10:00
Peter Barker deceb1d49a Tracker: update version.h for 4.3 2022-05-26 20:43:44 +10:00
Peter Barker bcaad1f622 Tracker: release notes for Tracker-4.2 beta1 2022-05-26 20:43:44 +10:00
Peter Barker db9228ea3e AP_DAL: correct error path in max_distance_cm_orient 2022-05-26 20:26:50 +10:00
Ryan Beall eb790c6c0b AP_Baro.cpp: Add in notes for standard day model accuracy 2022-05-26 11:32:45 +10:00
Ryan Beall 5dda9ac9d0 AP_Baro.cpp: no need to set and save FIELD_ELV
parameter gets reset on boot
2022-05-26 11:32:45 +10:00
Ryan Beall cfa0690ab1 AP_Baro.cpp: Move parameter to end of list 2022-05-26 11:32:45 +10:00
Ryan Beall 9f1620f346 AP_Baro.cpp: if not define out AP Periph 2022-05-26 11:32:45 +10:00
Ryan Beall f9840386bc AP_Baro.cpp: fix fabsf and use non-fixed temperature for calibration 2022-05-26 11:32:45 +10:00
Ryan Beall 16f0df04dc AP_Baro.cpp: Atmospheric Model Correction 2022-05-26 11:32:45 +10:00
GH6947 9304fa0f52 Sub: roll pitch comments
In ArduSub modes Auto & Guided, direct (not translated to forward/lateral) Roll and Pitch values come from the RC channels, not from wp controller. The existing comments are leftovers from ArduCopter
2022-05-26 10:09:23 +09:00
ES-Alexander f6544ca25a Tools: uploader.py: exit with error on failure
- Script was already exiting at this point anyway, this just sets a non-zero program return code in the case of a failure
- Means programatic callers can detect if flashing fails, without needing to monitor (and parse) stdout
2022-05-26 09:30:27 +10:00
Randy Mackay b60d6348ed Copter: add dead reckon failsafe 2022-05-25 20:05:21 +09:00
Randy Mackay 27b66443b2 AP_Vehicle: mode reason added for dead reckon failsafe 2022-05-25 20:05:21 +09:00
Randy Mackay 86eea9468a AP_Arming: add DEADRECKON_FAILSAFE disarm reason 2022-05-25 20:05:21 +09:00
Randy Mackay 5b40808ee8 AP_Logger: error subsystem added for dead reckon failsafe 2022-05-25 20:05:21 +09:00
Randy Mackay eafb118b47 AP_NavEKF3: set filter status dead_reckoning bit 2022-05-25 20:05:21 +09:00