Commit Graph

48733 Commits

Author SHA1 Message Date
Willian Galvani
71ad6cdcfe AP_Periph: update to use capacity_remaining_pct() as a bool 2022-01-03 11:40:48 -03:00
Willian Galvani
343328215f AP_Frsky_Telem: update to use capacity_remaining_pct() as a bool 2022-01-03 11:40:48 -03:00
Willian Galvani
2eed23dcd6 AP_BattMonitor_UAVCAN: update to use capacity_remaining_pct() as a bool 2022-01-03 11:40:48 -03:00
Willian Galvani
27dd354304 AP_Scripting: update to use capacity_remaining_pct() as a bool 2022-01-03 11:40:48 -03:00
Willian Galvani
b885bdf62d AP_RCTelemetry: update to use capacity_remaining_pct() as a bool 2022-01-03 11:40:48 -03:00
Willian Galvani
9c4d0f4680 GCS_MAVLink: update to use capacity_remaining_pct() as a bool 2022-01-03 11:40:48 -03:00
Willian Galvani
d422314020 AP_OSD: update to use capacity_remaining_pct() as a bool 2022-01-03 11:40:48 -03:00
Willian Galvani
20779ba47c AP_Notify: update to use capacity_remaining_pct() as a bool 2022-01-03 11:40:48 -03:00
Willian Galvani
206d047ab1 AP_BattMonitor_Backend: change capacity_remaining_pct() to a bool 2022-01-03 11:40:48 -03:00
Willian Galvani
d5130e1f0e AP_BattMonitor: change capacity_remaining_pct() to a bool 2022-01-03 11:40:48 -03:00
Patrick José Pereira
d00b9e88c5 Sub: Parameters: Add default value for MNT_TYPE
It's very unlikely that a ROV may exist without a gimbal or any kind of camera control,
the common use case is to use a single servo to control the camera and this is why
we set the default value of MNT_TYPE as 1 (Servo).

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2022-01-03 11:40:48 -03:00
ES-Alexander
6bc314b67c Add pressure offset based on device P-mode 2022-01-03 11:40:48 -03:00
ES-Alexander
cb803a9aff Enable offset based on P-mode 2022-01-03 11:40:48 -03:00
ES-Alexander
520ce1a042 AP_LeakDetector: enable for Pixhawk4 2022-01-03 11:40:48 -03:00
Willian Galvani
c8fdd79d33 AP_LeakDetector: update leak pin for navigator r3 in metadata
follow-up to 397def7b9e
2022-01-03 11:40:48 -03:00
Willian Galvani
ff3e465863 AP_BattMonitor: add Navigator to pins metadata 2022-01-03 11:40:48 -03:00
Willian Galvani
245c87094f Sub: use BARO instead of GND prefix to set default baro parameters
This updates the code to deal with the changes from 3f6fd49507
2022-01-03 11:40:48 -03:00
Willian Galvani
66ad7ff8e7 Sub: use scheduler.get_loop_period_s() instead of MAIN_LOOP_SECONDS 2022-01-03 11:40:48 -03:00
Randy Mackay
2fb939a1ca Copter: version to 4.1.3 2021-12-31 14:01:03 +09:00
Randy Mackay
91073966a5 Copter: 4.1.3 release notes 2021-12-31 14:00:30 +09:00
Randy Mackay
c8dca51a80 Copter: version to 4.1.3-rc1 2021-12-22 10:03:38 +09:00
Randy Mackay
76b8b4e11b Copter: 4.1.3-rc2 release notes 2021-12-22 10:03:38 +09:00
Andrew Tridgell
d5d70ff302 Plane: prepare for 4.1.6beta1 2021-12-22 10:03:38 +09:00
Andrew Tridgell
8372701191 Plane: update release notes for 4.1.6beta1 2021-12-22 10:03:38 +09:00
Mingchen Zhang
83db4e56d0 AP_SmartAudio: fix a bug that would starve the lower priority thread, such as scripting. 2021-12-21 11:29:57 +11:00
Andrew Tridgell
8c09da0ee6 AC_AutoTune: limit autotune target rates to parameter limits
this makes it safer to autotune a large vehicle which may become
unstable at very high target rates
2021-12-21 11:29:57 +11:00
Andrew Tridgell
3233528e37 AC_AttitudeControl: added get_ang_vel_yaw_max_rads() 2021-12-21 11:29:57 +11:00
Andrew Tridgell
a1ede5d2a3 AP_NavEKF3: Add missing covariance row reset 2021-12-21 11:29:57 +11:00
Andrew Tridgell
fde9083d9c AP_InertialSensor: added support for IIM-42652 and ICM-40605 sensors
handle new Invensense v3 sensor types
2021-12-21 11:29:57 +11:00
Andrew Tridgell
65563ece66 AP_InertialSensor: added support for ICM-20608-D sensor 2021-12-21 11:29:57 +11:00
Andrew Tridgell
14ccee4991 AP_RCTelemetry: use have_serial when detecting
avoid find_serial() as it changes port options
2021-12-21 11:27:16 +11:00
Andrew Tridgell
0a018c323c AP_RangeFinder: use have_serial when detecting
avoid find_serial() as it changes port options
2021-12-21 11:27:16 +11:00
Andrew Tridgell
f516977491 AP_Proximity: use have_serial when detecting
avoid find_serial() as it changes port options
2021-12-21 11:27:16 +11:00
Andrew Tridgell
b79962f38e AP_ADSB: use have_serial when detecting
avoid find_serial() as it changes port options
2021-12-21 11:27:16 +11:00
Andrew Tridgell
a69cf0c936 AP_RCProtocol: fixed multi-protocol search with added uart 2021-12-21 11:27:16 +11:00
Andrew Tridgell
d8ffd01145 AP_SerialManager: added have_serial() method
this checks if we have the protocol without setting the options on the
uart
2021-12-21 11:27:16 +11:00
Andrew Tridgell
3dc4cdd6af AP_BoardConfig: disable STLink debug pins by default
this avoids leaving the debug pins in a state where they may be
vulnerable to ESD issues
2021-12-21 11:24:17 +11:00
Randy Mackay
e8c7b63713 Copter: version to 4.1.3-rc1 2021-12-18 12:17:22 +09:00
Randy Mackay
9f276ba66b Copter: 4.1.3-rc1 release notes 2021-12-18 12:17:22 +09:00
Bill Geyer
bc29005308 AP_Motors: add spool down complete flag 2021-12-18 12:17:22 +09:00
Andrew Tridgell
5d40d11993 Plane: prepare for 4.1.5 release 2021-12-18 12:17:22 +09:00
Andrew Tridgell
12d3b09691 Plane: updated release notes for 4.1.5 2021-12-18 12:17:22 +09:00
Andrew Tridgell
9606527edd AP_UAVCAN: use soft armed state for DroneCAN ARMING_STATUS
this fixes motortest on quadplanes, so that ESCs see an armed state
during the test
2021-12-18 12:17:22 +09:00
Andrew Tridgell
32a4d9c9b8 Plane: prepare for 4.1.5beta1 2021-12-18 12:17:22 +09:00
Andrew Tridgell
7b1bfdd956 Plane: release notes for 4.1.5beta1 2021-12-18 12:17:22 +09:00
Andrew Tridgell
ab4fb4a7de HAL_ChibiOS: use a 16 bit sysinterval_t on 16 bit timers
prevent mixed size subtraction errors
2021-12-18 12:17:22 +09:00
Andrew Tridgell
39d7447695 Plane: reset VTOL takeoff if not armed
we need to reset the takeoff target position while disarmed so we
don't use spurious position information from before we get good GPS
lock.

also remove the "Resetting previous waypoint" message as it doesn't
provide useful information and is just a distraction (it would be
printed continuously while waiting for arming with this PR)
2021-12-18 12:17:22 +09:00
Andrew Tridgell
9ee5912e8b Plane: fixed reset of steering locked course
reset when we have not been steering for 1s, to ensure that an old
locked course is not used
2021-12-18 12:17:22 +09:00
Peter Barker
f9496843de autotest: comment out probably-defunct test 2021-12-18 12:17:22 +09:00
Peter Barker
c20b20ec17 AC_Fence: void index when overwriting fence count on fencepoint-close 2021-12-18 12:17:22 +09:00