Andrew Tridgell
3128d71aac
HAL_ChibiOS: display uart even when not initialised
...
don't rely on thread allocation for uart info display
2021-06-05 18:52:33 +10:00
Andrew Tridgell
c34d8e80e9
HAL_ChibiOS: fixed serial info indexing for EMPTY uarts
2021-06-05 18:52:33 +10:00
Andrew Tridgell
6fab8feeae
HAL_ChibiOS: implement uart_info per-uart
...
this allows for some UARTs to be of EMPTY type
2021-06-05 18:52:33 +10:00
Andrew Tridgell
23cf128541
HAL_Empty: implement uart_info()
2021-06-05 18:52:33 +10:00
Andrew Tridgell
d8a6d9c5c4
AP_HAL: added uart_info() method
2021-06-05 18:52:33 +10:00
Andrew Tridgell
135a4d2c83
HAL_ChibiOS: fixed order and labelling of @SYS/uarts.txt
2021-06-05 18:52:33 +10:00
Andrew Tridgell
f970735d47
Plane: fixed handling of NAV_LOITER_TIME with Q_GUIDED_MODE=1
...
and made logic of in_vtol_mode() easier to read
2021-06-05 13:05:30 +10:00
Andrew Tridgell
aa904d6bbc
Plane: fixed guided mode handling with new approach code
...
ensure we treat guided approach as not a vtol mode
2021-06-05 13:05:30 +10:00
Andrew Tridgell
71f207403e
AP_Common: make angles in degrees end in _deg
...
to make it obvious it is not radians
2021-06-05 13:05:30 +10:00
Andrew Tridgell
1165fcab99
Plane: removed incorrect URL
2021-06-05 13:05:30 +10:00
Andrew Tridgell
fd19ff3bea
Plane: offset guided start point when using Q_GUIDED_MODE
2021-06-05 13:05:30 +10:00
Andrew Tridgell
f15497c6a9
Plane: only do fwd thrust loss detection in SLT vehicles
...
on tilt rotors and tailsitters it doesn't make sense to switch to
POSITION1 at low speeds when in APPROACH
2021-06-05 13:05:30 +10:00
Andrew Tridgell
0232fa7456
Plane: cope with fwd thrust loss in Q approach
...
if throttle is saturated and descending and low airspeed then declare
thrust loss
2021-06-05 13:05:30 +10:00
Andrew Tridgell
fbf5083e6a
Plane: avoid transition in QRTL
...
if close to home and already in a VTOL mode then don't transition
2021-06-05 13:05:30 +10:00
Andrew Tridgell
3bb840f794
Plane: implement slow descent in QRTL approach
...
this approaches in QRTL at ALT_HOLD_RTL alt, then descends to
Q_RTL_ALT close to the destination
2021-06-05 13:05:30 +10:00
Andrew Tridgell
eba1d499d4
AP_SpdHgtControl: added get_max_sinkrate()
2021-06-05 13:05:30 +10:00
Andrew Tridgell
a789bb372b
AP_TECS: added get_max_sinkrate() API
2021-06-05 13:05:30 +10:00
Andrew Tridgell
77ee922473
Plane: fixed NAV_CONTROLLER_OUTPUT in QRTL
2021-06-05 13:05:30 +10:00
Andrew Tridgell
245ded2f2d
Plane: fixed handling of loss of fwd thrust in QRTL
2021-06-05 13:05:30 +10:00
Andrew Tridgell
a895bc1846
HAL_ChibiOS: reduce flash on VRBranin-v51
2021-06-05 13:05:30 +10:00
Andrew Tridgell
c7a14a5da1
Plane: disable cross-track in Q approach modes and QRTL
2021-06-05 13:05:30 +10:00
Andrew Tridgell
46722500b0
Plane: default Q_TRANS_DECEL to 6 for tailsitters
2021-06-05 13:05:30 +10:00
Andrew Tridgell
a7b809d5d4
Plane: added approach and airbrake options
...
this defaults VTOL landings to have an approach and airbraking stage,
allowing for more efficient landings. Can be disabled by setting
Q_OPTIONS bit 16
2021-06-05 13:05:30 +10:00
Andrew Tridgell
154ae64e63
AP_Math: support either polarity in linear_interpolate()
2021-06-05 13:05:30 +10:00
Andrew Tridgell
ddfc9e8300
Plane: improved quadplane auto-land into wind
...
when heading is strong we need to ramp up pitch limit slowly to
prevent a big dive
2021-06-05 13:05:30 +10:00
Andrew Tridgell
b4992cc226
Plane: added accessors for poscontrol state
...
allows for time since state entered
2021-06-05 13:05:30 +10:00
Andrew Tridgell
f1f7f01300
Plane: slave fixed wing desired rate to multicopter desired rate
...
this ensures that the two rate controllers don't fight each other when
in a VTOL mode
2021-06-05 13:05:30 +10:00
Peter Barker
d77d258442
AP_Math: add tests for the sqrt_controller
2021-06-04 23:00:19 +10:00
Peter Barker
0bd9610687
autotest: add trivial test for BodyFrameOdom
2021-06-04 15:09:51 +10:00
Peter Barker
584e24d613
Tools: build mRoControlZeroClassic and mRoControlZeroH7{,-bdshot} on build server
2021-06-04 14:39:56 +10:00
yaapu
c615706971
AP_Frsky_Telem: added a parameter to set the default FRSky sensor ID for passthrough telemetry
2021-06-03 13:58:55 +10:00
honglang
847ce3b311
AP_HAL_ChibiOS: CUAV X7/Nora: use icm42688 instead of bmi088
2021-06-03 13:57:27 +10:00
Randy Mackay
e8947dfb47
Tools: reduce copter autotest rate yaw P and I gains
...
affects quad, hexa, octa, octa-quad, deca, tri, y6, dodeca-hexa
2021-06-03 12:20:43 +09:00
Randy Mackay
3f77c52720
AP_BoardConfig: minor change to BRD_IMU_TARGTEMP param desc
...
Users should reboot if the param is changed to -1 because the heater pin could be left on
2021-06-02 18:17:59 +10:00
yaapu
b14dcf1df5
Tools:autotest: updated FRSky SPort test to use new 2 byte data IDs
2021-06-02 17:33:15 +10:00
yaapu
870c280946
AP_Frsky_Telem: upgraded SERIAL_PROTOCOL 4 telemetry to 2 bytes data IDs
...
This upgrades standard SPort telemetry from older 1byte IDs to newer 2bytes IDs.
Older 1 byte data IDs are not supported by the FRSky ETHOS ecosystem so this
migration is required to allow ArduPilot to seamlessly work with ETHOS.
This migration requires users to do a new sensor discovery in OpenTX.
2021-06-02 17:33:15 +10:00
yaapu
a5e1a45e7a
AP_Frsky_Telem: added hud throttle [-100,100] to frame 0x5001 scaled to [-63,63] on 7bits
2021-06-02 17:30:09 +10:00
Siddharth Purohit
cd5b764fd8
AP_NavEKF3: use first usable compass index to set magSelectIndex
2021-06-02 17:10:19 +10:00
Siddharth Purohit
124eaf1a38
AP_NavEKF2: use first usable compass index to set magSelectIndex
2021-06-02 17:10:19 +10:00
Siddharth Purohit
a52f04ddde
AP_DAL: add interface for first usable compass
2021-06-02 17:10:19 +10:00
Siddharth Purohit
1d29619e51
Revert "AP_Arming: check for only first compass being disabled"
...
This reverts commit d343c569c2
.
2021-06-02 17:10:19 +10:00
Siddharth Purohit
8590bfea63
AP_Compass: use first available compass in priority list
2021-06-02 17:10:19 +10:00
James O'Shannessy
1794eefd33
AP_Mission: Fixes crash in copter when uploading MAV_CMD_NAV_LAND with NaN as p4
...
Uploading a mission created in QGC with MAV_CMD_NAV_LAND (instead of return to launch) results in crash of copter because p4 is not set.
2021-06-02 17:04:38 +10:00
Andrew Tridgell
606c248e69
AP_HAL: fixed build on boards with no PWM
...
this impacts mRoNexus builds
2021-06-02 15:39:30 +10:00
Pierre Kancir
cf350a52e9
Tools: Autotest: add --coverage option
2021-06-02 14:42:59 +10:00
Pierre Kancir
870eaac839
Tools: correct some coverage utilities
2021-06-02 14:42:59 +10:00
Pierre Kancir
d1cc8d2bf3
Waf: add coverage flags
2021-06-02 14:42:59 +10:00
Paul Riseborough
a5a25411da
AP_NavEKF3: Remove unnecessary baro limiting
2021-06-02 11:13:16 +09:00
Paul Riseborough
124f016e5b
AP_NavEKF3: Use parameter to set baro ground effect dead-zone
2021-06-02 11:13:16 +09:00
Paul Riseborough
76d0dcc25c
AP_NavEKF3: Use common method for handling baro ground effect
2021-06-02 11:13:16 +09:00