Tom Pittenger
6bf071e6eb
modules: mavlink sim_state integer
2023-09-27 14:14:37 -07:00
Samuel Tabor
40f62949b3
Send lat lon in SIM_STATE as int32_t extensions
2023-09-27 14:14:37 -07:00
Tom Pittenger
8c4d00e6f2
SITL: add a thermal at home
2023-09-27 12:19:00 -07:00
Peter Barker
ad70237013
Tools: handle MAV_CMD_DO_FLIGHTTERMINATION as both long and int
2023-09-27 11:27:45 -07:00
Peter Barker
eb0d421bfc
Blimp: handle MAV_CMD_DO_FLIGHTTERMINATION as both long and int
2023-09-27 11:27:45 -07:00
Peter Barker
2eb5a7b09d
ArduSub: handle MAV_CMD_DO_FLIGHTTERMINATION as both long and int
2023-09-27 11:27:45 -07:00
Peter Barker
a0ca3ffb22
ArduCopter: handle MAV_CMD_DO_FLIGHTTERMINATION as both long and int
2023-09-27 11:27:45 -07:00
Peter Barker
ef8cd449ec
GCS_MAVLink: handle MAV_CMD_DO_FLIGHTTERMINATION as both long and int
2023-09-27 11:27:45 -07:00
Tom Pittenger
eeb7dc26fb
AP_ICEngine: minor OPTIONS param spelling fix
2023-09-27 08:43:27 -07:00
Michael du Breuil
e8deb491de
AP_ICEngine: Add an option to disable starting while disarmed
2023-09-27 08:43:27 -07:00
Michael du Breuil
4381c17cb2
AP_Periph: Fix bad conversion of APD ESC telemetry
...
le16toh() returns an unsigned type, which keeps the number as positive
when cast to float. It needs to be explictly converted to a signed
number first.
Tested with real hardware.
2023-09-27 08:40:10 -07: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
Peter Barker
67b9a50153
autotest: add test for Plane do-go-around
2023-09-27 17:37:55 +10:00
Peter Barker
af3992d795
Plane: handle DO_GO_AROUND as both COMMAND_LONG and COMMAND_INT
2023-09-27 17:37:55 +10:00
Peter Barker
8cfdf10cf1
AP_Vehicle: use AP_GPS_ENABLED to exclude more code when GPS not compiled in
2023-09-27 16:38:15 +10:00
Peter Barker
132b04562d
AP_Notify: use AP_GPS_ENABLED to exclude more code when GPS not compiled in
2023-09-27 16:38:15 +10:00
Peter Barker
e2975a67e7
AP_HAL_ChibiOS: use AP_GPS_ENABLED to exclude more code when GPS not compiled in
2023-09-27 16:38:15 +10:00
Peter Barker
0824eca776
AP_GPS: use AP_GPS_ENABLED to exclude more code when GPS not compiled in
2023-09-27 16:38:15 +10:00
Peter Barker
9a054876ff
AP_Compass: use AP_GPS_ENABLED to exclude more code when GPS not compiled in
2023-09-27 16:38:15 +10:00
Andrew Tridgell
babdb3625a
Plane: moved assign tilt to the run() function
...
this prevents double calling and fixes qhover
2023-09-27 11:43:45 +10:00
Paul Riseborough
2f0bbf14a4
Plane: fix metadata units for Q_FWD_PIT_LIM
2023-09-27 11:43:45 +10:00
Paul Riseborough
acfb5ccc05
Tools: Add test for quadplane forward motor use and pitch limiting
2023-09-27 11:43:45 +10:00
Paul Riseborough
3866f2b4b5
Plane: Rework pitch limiting in QuadPlane::assign_tilt_to_fwd_thr
...
Don't unnecessarily increase the forward pitch limit when position control forward action is saturated.
2023-09-27 11:43:45 +10:00
Paul Riseborough
acf8dbaeee
Plane: Add diagnostics logging to QuadPlane::assign_tilt_to_fwd_thr
2023-09-27 11:43:45 +10:00
Paul Riseborough
fa5aef050c
Plane: Restructure throttle scaling and pitch limiting to enable logging
2023-09-27 11:43:45 +10:00
Paul Riseborough
fb7c383946
Plane: Prevent quadplane.assign_tilt_to_fwd_thr() being called twice
2023-09-27 11:43:45 +10:00
Paul Riseborough
c2d6db13ec
Plane: explicitly type cast pitch limit
2023-09-27 11:43:45 +10:00
Paul Riseborough
90eacaeb88
Plane: fix centi-degree scaling bug
2023-09-27 11:43:45 +10:00
Paul Riseborough
da595bbf88
Plane: Add protection for failed quadplane forward thrust motor
2023-09-27 11:43:45 +10:00
Paul Riseborough
75789bd94d
AC_PosControl: Add monitoring and reporting of forward accel saturation
2023-09-27 11:43:45 +10:00
Andrew Tridgell
e3ce7d966b
Plane: fixes from review
2023-09-27 11:43:45 +10:00
Andrew Tridgell
573de2fc17
Plane: implement methods for aux switch control of vfwd code
...
and use a common function for the active method
2023-09-27 11:43:45 +10:00
Andrew Tridgell
936d6ed378
RC_Channel: added VFWD_THR_OVERRIDE
2023-09-27 11:43:45 +10:00
Andrew Tridgell
9c7c995185
AP_ICEngine: added ICE_DISABLED state
2023-09-27 11:43:45 +10:00
Paul Riseborough
4993dcb814
Plane: Remove duplicated parameter check
2023-09-27 11:43:45 +10:00
Paul Riseborough
f834d4730b
Plane: Add Q_FWD_THR_GAIN to table of transmitter tuning parameters
2023-09-27 11:43:45 +10:00
Paul Riseborough
6ad7588857
Plane: Add arming check for incompatible Q_VFWD_GAIN and Q_FWD_THR_USE
2023-09-27 11:43:45 +10:00
Paul Riseborough
daea00168b
Plane: Use Q_FWD_THR_USE parameter to control modes that use Q_FWD_THR_GAIN
2023-09-27 11:43:45 +10:00
Paul Riseborough
ed91d428e1
Plane: Default Q_FWD_THR_GAIN to 0 and update meta data
2023-09-27 11:43:45 +10:00
Paul Riseborough
7bbd0ed74e
Plane: prevent wind up of Q-mode velocity controller I term
2023-09-27 11:43:45 +10:00
Paul Riseborough
b3a1807349
Plane: Fix use of q_fwd_nav_pitch_lim_cd class variable
2023-09-27 11:43:45 +10:00
Paul Riseborough
16895003df
Plane: if statement cleanup in QuadPlane::assign_tilt_to_fwd_thr
2023-09-27 11:43:45 +10:00
Paul Riseborough
57cfe854b2
Plane: Add Q_FWD_THR_GAIN value arming check for tailsitters
2023-09-27 11:43:45 +10:00
Paul Riseborough
04e5f6b5f6
Plane: use forward tilt instead of forward throttle when close to ground
2023-09-27 11:43:45 +10:00
Paul Riseborough
8988de3c7c
Plane: Allow non positive values of Q_FWD_PIT_LIM to be used
2023-09-27 11:43:45 +10:00
Paul Riseborough
e866998b21
Plane: Rename q_fwd_tilt_lim to q_fwd_pitch_lim
2023-09-27 11:43:45 +10:00
Paul Riseborough
c15bb3f1e3
Plane: remove code that can never run
2023-09-27 11:43:45 +10:00
Paul Riseborough
98220c7315
Plane: Handle reset of q_fwd_throttle in QuadPlane::mode_enter(void)
2023-09-27 11:43:45 +10:00
Paul Riseborough
2d3431a1ac
Plane: Improve use of forward flight motors and tilting rotors in Q modes
2023-09-27 11:43:45 +10:00
Pierre Kancir
01f94e9aa5
AP_Logger: don't virtual out_of_time_for_writing_messages for DF
...
This save use some flash against the solution with override
2023-09-27 08:15:42 +10:00