Commit Graph

53764 Commits

Author SHA1 Message Date
Peter Barker
215842fe82 Tools: add tests for ICE Planes 2022-07-01 19:33:51 +10:00
Peter Barker
db59117b83 SITL: add tests for ICE Planes 2022-07-01 19:33:51 +10:00
Peter Barker
61e65ca5f2 AP_ICEngine: add tests for ICE Planes 2022-07-01 19:33:51 +10:00
François Carouge
84b0f6478c SITL/SIM_RF_MAVLink: fix incomplete initializer clauses 2022-07-01 18:24:43 +09:00
Yuri
f155c1b027 AP_Scripting: add rover-MinFixType and rover-SaveTurns examples 2022-07-01 18:23:31 +09:00
Andrew Tridgell
eefc41fe30 Filter: added a way to plot attenuation and phase lag for complex filters 2022-06-30 20:58:37 +10:00
Andrew Tridgell
50740124fe AP_Vehicle: implement INS_HNTCH_FM_RAT
this allows for a throttle based harmonic notch min frequency ratio,
allowing for the notch to go below the configured frequency at low
throttle

This is important for quadplanes, but will also benefit multirotors
flying at lower throttle due to lower payload or when descending

This also disables the throttle based harmonic notch when motors are
in SHUT_DOWN state
2022-06-30 20:58:37 +10:00
Andrew Tridgell
366aa7154c Filter: added FM_RAT for throttle notch frequency ratio
allow for configurable min frequency ratio for throttle based notches
2022-06-30 20:58:37 +10:00
Andrew Tridgell
9ac3472b47 AP_InertialSensor: add set_inactive() on notch filters 2022-06-30 20:58:37 +10:00
Peter Barker
c085b713ac AP_Common: correct comments on get_alt_cm and change_alt_frame 2022-06-30 20:08:24 +10:00
Ryan Beall
592201d831 CI fix Soaring channel 3 check timeout 2022-06-30 20:06:33 +10:00
Ryan Beall
5a26635aca CI fix Climb before turn Timeout again 2 2022-06-30 20:06:33 +10:00
Ryan Beall
69ffac890f CI fix Climb before turn Timeout again 2022-06-30 20:06:33 +10:00
Ryan Beall
2b9d116274 CI fix Climb before turn Timeout 2022-06-30 20:06:33 +10:00
Ryan Beall
ae6295e11c CI fix RTL Timeout 2022-06-30 20:06:33 +10:00
Ryan Beall
77f922a1ae AP_TECS.cpp: remove line copy error
This was a copy paste error that is duplicated in the correct spot (in line 530)
2022-06-30 20:06:33 +10:00
Peter Barker
043764fbf9 autotest: use set_parameters in rover; fixup tests to use context 2022-06-30 11:55:19 +10:00
Tom Pittenger
1c9c1d7207 AP_Bootloader: add target SkystarsH7HD 2022-06-30 11:08:51 +10:00
Mirko Denecke
463aed4b8f ArduPlane: fix Q_RTL_MODE parameter doc 2022-06-30 10:50:09 +10:00
Peter Barker
bc12a61c9a autotest: use slightly faster recv_msg call in drain_mav
Cuts out some code in pymavlink's recv_match which we don't need here.  We even explicitly don't run the idle hooks which pymavlink supplied when we're running under drain_mav
2022-06-30 09:46:13 +10:00
Peter Barker
208554d402 autotest: correct diagnostic message 2022-06-29 21:03:42 +10:00
Peter Barker
f6816f38dc autotest: add timeout in drain_mav
At large speedups we can create more telemetry than we can consume.  Detect that and raise an exception, assuming we should be able to drain anything within 2 minutes
2022-06-29 21:03:42 +10:00
Peter Barker
ef0f5110cb autotest: set Rover speedup to 30
This is closer to what's achieved on modern CPUs.

Running at 100 can lead to very rapid RC inputs which can cause issues.
2022-06-29 21:02:27 +10:00
Peter Barker
b6f7887182 Tools: remove non-functional FRSKY_TELEM_ENABLED define 2022-06-29 10:59:50 +09:00
Peter Barker
cb591993f8 Rover: remove non-functional FRSKY_TELEM_ENABLED define 2022-06-29 10:59:50 +09:00
Peter Barker
368ad9a06b ArduCopter: remove non-functional FRSKY_TELEM_ENABLED define 2022-06-29 10:59:50 +09:00
Randy Mackay
f03ac3648d AP_Mount: fixup handle do-gimbal-manager-pitchyaw flags 2022-06-29 10:56:48 +09:00
Randy Mackay
3b0869d098 AP_Mount: SToRM32_serial restructure and support for ef/bf angle and rate 2022-06-29 10:56:48 +09:00
Randy Mackay
f14f524ff5 AP_Mount: SToRM32 restructure and support for ef/bf angle and rate 2022-06-29 10:56:48 +09:00
Randy Mackay
18fe1d44b7 AP_Mount: Solo restructure and support for ef/bf angle and rate 2022-06-29 10:56:48 +09:00
Randy Mackay
d59e87ea59 AP_Mount: Servo restructure and support for ef/bf angle and rate 2022-06-29 10:56:48 +09:00
Randy Mackay
80b70dcd66 AP_Mount: Gremsy fixup for support of ef/bf angle and rate 2022-06-29 10:56:48 +09:00
Randy Mackay
d17e1b6fab AP_Mount: Alexmos restructure and support for ef/bf angle and rate 2022-06-29 10:56:48 +09:00
Randy Mackay
0d60e47c68 AP_Mount: backend restructure and support for ef/bf angle and rate 2022-06-29 10:56:48 +09:00
Randy Mackay
f0f95fb812 AP_Mount: frontend adds support for both ef/bf angle and rate 2022-06-29 10:56:48 +09:00
Randy Mackay
d0c489a0be Sub: calls to mount.set_angle_target set earth-frame or body-frame
this is a non-functional change
2022-06-29 10:56:48 +09:00
Randy Mackay
8f54957530 Plane: do-mount-control specifies body-frame targets
this is a non-functional change
2022-06-29 10:56:48 +09:00
Randy Mackay
d61ba6d9d1 Copter: do_mount_control specifies body-frame angle targets
this is not a change in behaviour
2022-06-29 10:56:48 +09:00
Randy Mackay
c22d8b379f AP_Mission: do_gimbal_manager_pitchyaw supports bf/ef angles and rates
also minor bug fix so verify DO_GIMBAL_MANAGER_PITCHYAW returns true
2022-06-29 10:56:48 +09:00
Randy Mackay
33a4efa936 AP_Mount: move mode, yaw_lock, roi_target and sysid target to backend 2022-06-29 10:56:48 +09:00
Randy Mackay
ec07c15e1e AP_Mount: set_roi_target and set_target_sysid lose struct and const before args 2022-06-29 10:56:48 +09:00
Randy Mackay
898bdb864c AP_Mount: fix handle_command_do_mount_configure instance handling 2022-06-29 10:56:48 +09:00
Randy Mackay
e58d72931e AP_Mount: Solo in sysid target sets lockedToBody
Also re-order calls in home-location mode to be consistent with other modes
2022-06-29 10:56:48 +09:00
Randy Mackay
e8ab4eb8b7 AP_Mount: SToRM32_serial provides calc_angle_to_xxx relative_pan argument 2022-06-29 10:56:48 +09:00
Randy Mackay
5958bced0c AP_Mount: SToRM32 provides calc_angle_to_xxx relative_pan argument 2022-06-29 10:56:48 +09:00
Randy Mackay
57a508b037 AP_Mount: Solo provides calc_angle_to_xxx relative_pan argument 2022-06-29 10:56:48 +09:00
Randy Mackay
3c501bb408 AP_Mount: alexmos provides calc_angle_to_xxx relative_pan argument 2022-06-29 10:56:48 +09:00
Randy Mackay
b0a473ee53 AP_Mount: alexmos minor spell fix 2022-06-29 10:56:48 +09:00
Randy Mackay
f426711177 AP_Mount: backend calc_angle_to_xxx requires relative_pan argument 2022-06-29 10:56:48 +09:00
Randy Mackay
3711c362ce AP_Mount: update_rate_and_angle_from_rc fix arg name to match units 2022-06-29 10:56:48 +09:00