Iampete1
d566b24c04
AP_Vehickle: add Loiter alt then QLAND mode reasons
2021-09-28 09:31:13 +10:00
Iampete1
407b70b82e
AP_Common: location: add get alt distance method
2021-09-28 09:31:13 +10:00
Iampete1
3d566ca59b
RC_Channel: add trim to current servo and RC option
2021-09-28 09:16:24 +10:00
Josh Henderson
4d7dddf337
SITL: sim_MS5611 fix simulated driver for 32bit usage
2021-09-28 09:15:11 +10:00
Josh Henderson
1019628ae4
SITL: test_ms5611 fix <-15C test case
2021-09-28 09:11:48 +10:00
Josh Henderson
9a7530ad50
AP_HAL_Linux: make panic() WEAK
2021-09-28 09:11:48 +10:00
Josh Henderson
328cf01436
AP_HAL_SITL: make panic() WEAK
2021-09-28 09:11:48 +10:00
Josh Henderson
0ae1536e4a
AP_InternalError: change panic to return error code as string in SITL
2021-09-28 09:11:48 +10:00
Josh Henderson
6c3612b51d
AP_Common: enable SITL unit testing
...
apcommon
2021-09-28 09:11:48 +10:00
Josh Henderson
0125ae26ac
AP_Math: enable SITL unit testing
2021-09-28 09:11:48 +10:00
Peter Barker
1ae8385a0f
AP_GPS: correct GPS switching when GPS blending disabled
2021-09-28 09:08:50 +10:00
Sebastian Quilter
69120fa1c7
AP_OSD: #if sidebars
2021-09-28 09:04:45 +10:00
Sebastian Quilter
9a58ccb3cd
AP_OSD: sidebar support for remaining 4 fonts
2021-09-28 09:04:45 +10:00
Sebastian Quilter
2379036e9a
AP_OSD: Add sidebars for MAX7456
2021-09-28 09:04:45 +10:00
Iampete1
b6a73dd3d0
RC_Channel: renstate ArmDisarm Discription with 4.1 note
2021-09-27 13:33:54 +01:00
Andrew Tridgell
4aa88d172c
HAL_ChibiOS: adjust Swan-K1 parameters
...
limit down pitch to 15 degrees to prevent overspeed, and limit angular
rates to 100 deg/s
2021-09-27 21:21:53 +10:00
Andy Piper
20a91dc1c8
AP_SerialManager: correct docs for SERIAL8
2021-09-26 19:51:50 +01:00
Iampete1
25aedc4ee7
AP_Proximity: lower SF45B update rate
2021-09-26 20:26:20 +09:00
Peter Barker
b0e59b2611
RC_Channel: rename GENERATOR_ENABLED to HAL_GENERATOR_ENABLED
2021-09-26 19:24:09 +10:00
Peter Barker
341379c5bd
GCS_MAVLink: rename GENERATOR_ENABLED to HAL_GENERATOR_ENABLED
2021-09-26 19:24:09 +10:00
Peter Barker
d86e2792fd
AP_Vehicle: rename GENERATOR_ENABLED to HAL_GENERATOR_ENABLED
2021-09-26 19:24:09 +10:00
Peter Barker
43469955a9
AP_HAL_ChibiOS: rename GENERATOR_ENABLED to HAL_GENERATOR_ENABLED
2021-09-26 19:24:09 +10:00
Peter Barker
5433cbe9a5
AP_Generator: rename GENERATOR_ENABLED to HAL_GENERATOR_ENABLED
2021-09-26 19:24:09 +10:00
Peter Barker
f71b4ec568
AP_BattMonitor: rename GENERATOR_ENABLED to HAL_GENERATOR_ENABLED
2021-09-26 19:24:09 +10:00
Peter Barker
d9844cc75a
AP_Arming: rename GENERATOR_ENABLED to HAL_GENERATOR_ENABLED
2021-09-26 19:24:09 +10:00
TunaLobster
dd379af7cc
AP_Scripting: Add Z logger format to example
2021-09-25 14:00:00 +01:00
Peter Barker
0d03cef48b
AP_ADSB: tidy sending of SageTech RF mode
...
Saves 64 bytes on CubeBlack
2021-09-25 15:55:53 +10:00
Tom Pittenger
de753f386c
AP_Vehicle: fix periph-heavy compile errors when INS is disabled
2021-09-24 10:47:13 -05:00
Tom Pittenger
fcfaab4beb
AP_Frsky_Telem: fix periph-heavy compile errors with different things enabled
2021-09-24 10:47:13 -05:00
Tom Pittenger
d45526ff42
AP_Compass: fix periph-heavy compile errors with different things enabled
2021-09-24 10:47:13 -05:00
Tom Pittenger
6ac1b7daf2
GCS_MAVLink: fix periph-heavy compile errors with different things enabled
2021-09-24 10:47:13 -05:00
Josh Henderson
27fa2e776d
AP_HAL_ChibiOS: Hitec-Airspeed move from HAL_NO_GCS to HAL_GCS_ENABLED
2021-09-24 21:05:05 +10:00
Andrew Tridgell
6d093e56fb
HAL_ChibiOS: added Nucleo-L496 AP_Periph target
2021-09-24 18:08:00 +10:00
Andrew Tridgell
ca45fcbc70
AP_FlashStorage: support L496 MCUs
2021-09-24 18:08:00 +10:00
Andrew Tridgell
0212e23cd3
HAL_ChibiOS: added support for STM32L496 MCUs
...
good MCU for AP_Periph
2021-09-24 18:08:00 +10:00
lthall
31e7d672c9
AC_AttitudeControl: AC_PosControl: Update PSC logging to include desired
2021-09-23 20:07:52 +09:00
Leonard Hall
087a2b92c3
AP_Logger: Update PSC logging to include desired
2021-09-23 20:07:52 +09:00
Leonard Hall
77fbcf1741
AP_Math: Control: add expo calculation.
2021-09-23 20:03:53 +09:00
Paul Riseborough
c828bdfbc9
AP_NavEKF3: Reduce output observer vertical velocity error when bad IMU
2021-09-23 18:55:28 +10:00
Paul Riseborough
8429c66860
AP_NavEKF3: Make subsequent bad IMU event detections faster
2021-09-23 18:55:28 +10:00
Paul Riseborough
458c67639d
AP_NavEKF3: Force velocity state to follow GPS when IMU data is bad
2021-09-23 18:55:28 +10:00
Paul Riseborough
c0d88e2673
AP_NavEKF3: Fix vertical velocity reset
...
Fixes bug that prevents the vertical velocity being reset to the GPS if the position aiding has already timed out and improves sensitivity of the bad IMU data check.
2021-09-23 18:55:28 +10:00
Paul Riseborough
17c2ba5ac1
AP_NavEKF3: Fix bug causing too frequent resets if bad IMU data detected
2021-09-23 18:55:28 +10:00
Peter Barker
f0efc1300e
AP_HAL_Linux: move defines of GPIO LOW/HIGH into cpp file
...
Insane having these generic defines happening if you include GPIO_BBB.h
2021-09-22 21:37:00 +10:00
Peter Barker
9c24916115
AP_HAL_SITL: move from HAL_NO_GCS to HAL_GCS_ENABLED
2021-09-22 21:37:00 +10:00
Peter Barker
275457fd2c
AP_HAL_Linux: move from HAL_NO_GCS to HAL_GCS_ENABLED
2021-09-22 21:37:00 +10:00
Peter Barker
6ce79785b5
AP_OSD: move from HAL_NO_GCS to HAL_GCS_ENABLED
2021-09-22 21:37:00 +10:00
Peter Barker
dac4134533
AP_InertialSensor: move from HAL_NO_GCS to HAL_GCS_ENABLED
2021-09-22 21:37:00 +10:00
Peter Barker
df3cfe12a9
AP_VisualOdom: move from HAL_NO_GCS to HAL_GCS_ENABLED
2021-09-22 21:37:00 +10:00
Peter Barker
4b5525f53e
SITL: move from HAL_NO_GCS to HAL_GCS_ENABLED
2021-09-22 21:37:00 +10:00
Peter Barker
224ff97f5c
AP_Compass: move from HAL_NO_GCS to HAL_GCS_ENABLED
2021-09-22 21:37:00 +10:00
Peter Barker
9f6b9c7519
GCS_MAVLink: move from HAL_NO_GCS to HAL_GCS_ENABLED
2021-09-22 21:37:00 +10:00
Peter Barker
d6e5f8398d
AP_RTC: move from HAL_NO_GCS to HAL_GCS_ENABLED
2021-09-22 21:37:00 +10:00
Peter Barker
0305a79b7b
AP_Param: move from HAL_NO_GCS to HAL_GCS_ENABLED
2021-09-22 21:37:00 +10:00
Peter Barker
b66fd214f0
AP_NavEKF3: move from HAL_NO_GCS to HAL_GCS_ENABLED
2021-09-22 21:37:00 +10:00
Peter Barker
4aa6c212d2
AP_MSP: move from HAL_NO_GCS to HAL_GCS_ENABLED
2021-09-22 21:37:00 +10:00
Peter Barker
fec9d4850d
AP_Logger: move from HAL_NO_GCS to HAL_GCS_ENABLED
2021-09-22 21:37:00 +10:00
Peter Barker
1976b2b859
AP_HAL: move from HAL_NO_GCS to HAL_GCS_ENABLED
2021-09-22 21:37:00 +10:00
Peter Barker
1bd62362a4
AP_HAL_ChibiOS: move from HAL_NO_GCS to HAL_GCS_ENABLED
2021-09-22 21:37:00 +10:00
Peter Barker
6d615a3e16
AP_GPS: move from HAL_NO_GCS to HAL_GCS_ENABLED
2021-09-22 21:37:00 +10:00
Peter Barker
df9de582e4
AP_DAL: move from HAL_NO_GCS to HAL_GCS_ENABLED
2021-09-22 21:37:00 +10:00
Peter Barker
b18bdb80d6
AP_BattMonitor: move from HAL_NO_GCS to HAL_GCS_ENABLED
2021-09-22 21:37:00 +10:00
Peter Barker
cf9a774bc2
AP_Baro: move from HAL_NO_GCS to HAL_GCS_ENABLED
2021-09-22 21:37:00 +10:00
Peter Barker
22e9ad4818
AP_Airspeed: move from HAL_NO_GCS to HAL_GCS_ENABLED
2021-09-22 21:37:00 +10:00
Peter Barker
8f6bed23cf
AP_AccelCal: move from HAL_NO_GCS to HAL_GCS_ENABLED
2021-09-22 21:37:00 +10:00
bugobliterator
b43c9961a3
AP_Param: disable format security
2021-09-22 21:36:34 +10:00
bugobliterator
f3fef657f9
AP_GPS: handle failure to allocation of GPS CAN message subscribers
2021-09-22 21:36:34 +10:00
bugobliterator
0de393bf7f
AP_BoardConfig: add allocation failure handling loop
2021-09-22 21:36:34 +10:00
Tatsuya Yamaguchi
1dcc5c3030
AP_BattMonitor: cope with AP_BATT_MONITOR_MAX_INSTANCES < 9
2021-09-22 18:58:12 +10:00
Iampete1
955be569a3
AP_Scripting: add forward flight motor shutdown applet
2021-09-22 18:16:32 +10:00
yaapu
6a459af624
AP_OSD: decrease blink frequency from 2Hz to 1Hz on MSP DisplayPort
...
Allows to actually see the blinking on hardware with a slow screen refresh rate
2021-09-22 18:06:12 +10:00
yaapu
9acfdaaa19
AP_OSD: added packed decimal support to MSP DisplayPort
...
This allows to take advantage of ArduPilot's compact decimal fonts
2021-09-22 18:06:12 +10:00
yaapu
f33d6c4ec1
AP_MSP: fix rssi rounding issue
2021-09-22 17:09:50 +10:00
Pierre Kancir
d853d16c42
AP_Math: fix vectorN ctor warning by using C++11 brace initilization in all cases
2021-09-21 20:51:37 +10:00
Paul Riseborough
e9c339a0a0
AP_NavEKF3: fix wind speed covariance initialisation bug
2021-09-21 17:16:36 +10:00
Andrew Tridgell
758ce2699e
HAL_ChibiOS: added Hitec-Airspeed hwdef
2021-09-21 13:51:40 +10:00
Andrew Tridgell
7f59366cc0
HAL_ChibiOS: process AIRSPEED lines in hwdef.dat
2021-09-21 13:51:40 +10:00
Andrew Tridgell
f65620f4f3
AP_Airspeed: allow for an AIRSPEED list in hwdef.dat
...
this saves a lot of flash by only including specific drivers
2021-09-21 13:51:40 +10:00
Peter Barker
f07d40a570
AP_Mission: fix infinite loop with nav commands that won't start
...
Discovered this when trying to run the standard CMAC mission on Sub
2021-09-21 13:42:01 +10:00
Shiv Tyagi
a24a8c110b
SRV_Channel : Improved should_e_stop method by using switch
...
This method earlier used >=, <= and == operators which is less maintainable. Hence, I replaced it by switch.
Co-Authored-By: Peter Barker <pb-gh@barker.dropbear.id.au>
2021-09-21 11:17:09 +10:00
Gone4Dirt
30589f9b29
AP_Generator: Make unhealthy driver message persist
2021-09-21 11:14:03 +10:00
Andy Piper
e1fdab8423
AP_RCTelemetry: don't enter parameter mode while armed.
...
exit parameter mode quickly on ping
construct and respond to ping frames correctly
2021-09-21 10:41:58 +10:00
Iampete1
f541653502
SRV_Channel: fix override timeout without repeated calls
2021-09-21 10:24:04 +10:00
Iampete1
db6490818f
AP_Button: update FUNx values
2021-09-21 09:36:24 +10:00
Iampete1
524ea39dfa
RC_Channel: add convert_options function
2021-09-21 09:36:24 +10:00
Iampete1
c67705b02d
RC_Channel: do_aux_function_armdisarm no longer needs to be virtual
2021-09-21 09:36:24 +10:00
Iampete1
39ca7dae1c
RC_Channel: add two new ARMDISARM options and deprecate old
2021-09-21 09:36:24 +10:00
Josh Henderson
96cabfc423
SITL: add unit tests for SIM_MS5525
2021-09-21 09:30:58 +10:00
Josh Henderson
18a0632276
SITL: MS5XXX drivers use check_conversion_accuracy
2021-09-21 09:30:58 +10:00
Josh Henderson
2a2399c8f1
SITL: airspeed DLVR add atmosphere temperature model
2021-09-21 09:30:58 +10:00
Josh Henderson
c454cea401
AP_Airspeed: fix MS5525 driver to allow copying driver to 64bit SITL
2021-09-21 09:30:58 +10:00
Josh Henderson
5e90649a6e
SITL: fix MS5525 for temp <20C and negative pressures
2021-09-21 09:30:58 +10:00
Hwurzburg
aa402d9a55
AP_Tuning: add options to prevent spamming tuning error messages
2021-09-21 07:56:19 +09:00
Hwurzburg
502aff27da
AC_AttitudeControl: add options to prevent spamming tuning error messages
2021-09-21 07:56:19 +09:00
Iampete1
169375d14f
RC_Channel: arming_check_throttle to virtual
2021-09-18 15:52:38 +01:00
Shiv Tyagi
cdb4ec8ad0
Plane : Improved LAND_THEN_NEUTRL to work on all control surfaces
...
This fixes the issue #18593
Co-Authored-By: Peter Hall <33176108+IamPete1@users.noreply.github.com>
2021-09-17 22:06:24 -05:00
Michelle Rossouw
c9a3b16aa7
SITL: Blimp SITL add initial dynamics
2021-09-18 08:26:23 +10:00
Andrew Tridgell
f77e64ac83
HAL_SITL: Fixed default PWMs for blimp
2021-09-18 08:26:23 +10:00
Andrew Tridgell
5dcfa95444
GCS_Mavlink: allow setting of AHRS_TRIM_Z
2021-09-17 14:07:14 +10:00
Andrew Tridgell
3715ce6d1a
AP_AHRS: allow setting of AHRS_TRIM_Z
2021-09-17 14:07:14 +10:00
Andrew Tridgell
fd86cb0591
AP_Vehicle: moved accel cal update handling from vehicles
2021-09-17 14:07:14 +10:00
Andrew Tridgell
fefade783b
AP_InertialSensor: allow accelcal with a rotation
2021-09-17 14:07:14 +10:00
Andrew Tridgell
3f043dd933
AP_AHRS: added get_view_rotation()
2021-09-17 14:07:14 +10:00
Andrew Tridgell
63fcb804b3
AP_UAVCAN: added CAN_Dn_UC_OPTION parameter
...
this allows for 2 ways of controlling conflicts in the UAVCAN DNA
database. The first is to set CAN_Dn_UC_OPTION to 1, which resets the
DNA database, thus clearing any node conflicts.
The second is to set CAN_Dn_UC_OPTION to 2, which ignores node
conflicts in the DNA database
These options are useful for vehicles with UAVCAN smart batteries
where the node ID is fixed but the hwid changes and you want to do
battery swapping (possibly without rebooting)
2021-09-17 12:32:59 +10:00
Andrew Tridgell
17f8b0b11a
AP_Param: disable debug code by default
...
found on EU dev call
2021-09-16 21:05:48 +10:00
Andrew Tridgell
119df09c44
SITL: cope with a socket error in FlightAxis
...
this fixes an issue that has arisen with the new threading approach
where RF would occasionally freeze
2021-09-16 14:31:10 +10:00
yaapu
94aba33d10
AP_OSD: added multi screen and stats support to DJI FPV OSD
2021-09-16 09:54:25 +10:00
yaapu
9f0d9a5652
AP_MSP: added multi screen and stats support to DJI FPV OSD
2021-09-16 09:54:25 +10:00
Iampete1
934a4e26c9
AR_Motors: re-work omni output to scale evenly at saturation
2021-09-16 08:48:47 +09:00
Iampete1
7ec7b478f0
AC_WPNav: add getter for wp_radius_cm
2021-09-15 20:36:56 +10:00
Iampete1
0a41cdaa24
SRV_Channel: add ignore reversed flag to set_trim_to_min_for
2021-09-15 18:59:07 +09:00
Iampete1
950dcf9242
AP_MotorsUGV: ignore servo reverse when setting trim for brushed with relay
2021-09-15 18:59:07 +09:00
Iampete1
85e57a3bd8
AP_Avoidance: correct ADSB vertical velocity conversion
2021-09-15 17:55:50 +10:00
Peter Barker
16c11fc4fa
AP_Airspeed: allow zero offset if we are skipping calibration
2021-09-15 17:52:34 +10:00
Iampete1
bf695e4eeb
AP_HAL_ChibiOS: atof to strtof
2021-09-15 17:36:12 +10:00
Iampete1
34f5b800b6
AP_Generator: atof to strtof
2021-09-15 17:36:12 +10:00
Iampete1
17e8ea0136
AP_RangeFinder_Params: update PIN discription
2021-09-15 17:31:54 +10:00
yaapu
53ea385291
AP_MSP: removed unnecessary pure virtual methods
2021-09-15 17:28:56 +10:00
yaapu
e1b12fbee3
AP_MSP: use const structures and brace initialization where possible
...
saves ane extra 130bytes
2021-09-15 17:28:56 +10:00
yaapu
3bbf2c1f70
AP_MSP: removed unstructured writes to msp dst buffer
2021-09-15 17:28:56 +10:00
yaapu
a2b83d675f
AP_Scripting: added a frsky battery example
2021-09-15 17:21:41 +10:00
Peter Barker
305a8ad48a
AP_Scripting: add and use HAL_QUADPLANE_ENABLED
2021-09-14 11:23:18 +10:00
Josh Henderson
7a3425faca
AP_ADSB: sagetech use vector.xy().length() instead of norm(x,y)
2021-09-14 10:43:46 +10:00
Josh Henderson
f534a315ea
AP_Proximity: use vector.xy().length() instead of norm(x,y)
2021-09-14 10:43:46 +10:00
Josh Henderson
51023fc846
AP_NMEA_Output: use vector.xy().length() instead of norm(x,y)
2021-09-14 10:43:46 +10:00
Josh Henderson
3006d50f97
AP_NavEKF3: use vector.xy().length() instead of norm(x,y)
2021-09-14 10:43:46 +10:00
Josh Henderson
d5f5a3024a
AP_NavEKF2: use vector.xy().length() instead of norm(x,y)
2021-09-14 10:43:46 +10:00
Josh Henderson
f76f86c207
AP_InertialNav: use vector.xy().length() instead of norm(x,y)
2021-09-14 10:43:46 +10:00
Josh Henderson
06251335da
AP_GPS: use vector.xy().length() instead of norm(x,y)
2021-09-14 10:43:46 +10:00
Josh Henderson
38ead58df2
AP_AHRS: use vector.xy().length() instead of norm(x,y)
2021-09-14 10:43:46 +10:00
Josh Henderson
996b3b8b1e
AC_Sprayer: use vector.xy().length() instead of norm(x,y)
2021-09-14 10:43:46 +10:00
Josh Henderson
c0b18e4d52
AC_Avoid: use vector.xy().length() instead of norm(x,y)
2021-09-14 10:43:46 +10:00
Josh Henderson
a3e475822b
AC_AttitudeControl: use vector.xy().length() instead of norm(x,y)
2021-09-14 10:43:46 +10:00
Hwurzburg
6dfbd9ce31
AP_HAL_ChibiOS: add batt mon defaults to Kakutef4 Mini
2021-09-14 10:14:20 +10:00
Willian Galvani
68cbb47d68
HAL_Linux: RCOutput_PCA9685: implement force_safety_on/off
2021-09-14 10:11:17 +10:00
Willian Galvani
38e8020e4b
HAL_Linux: try to stop PWMs before shutting down due to SIGTERM
2021-09-14 10:11:17 +10:00
Rhys Mainwaring
6cb4e6b31d
SITL: update simpleRover C++ JSON interface example
...
- Provide a cmake file for cross platform builds
- Modify the example to respond to throttle commands on RC channel 3 (default for Rover)
- Add more detail to readme
Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
2021-09-14 09:54:39 +10:00
Iampete1
d9e30452ed
AP_Mission: only continue after land if next waypoint is a takeoff
2021-09-14 08:24:02 +09:00
Iampete1
3dca9b4534
AR_Motors: stop setting safety limit
2021-09-14 09:23:02 +10:00
Iampete1
2abe120969
SRV_Channel: remove set_safety_limit
2021-09-14 09:23:02 +10:00
Iampete1
cc03b2975c
AP_IOMCU: iofirmware: remove saftey PWM
2021-09-14 09:23:02 +10:00
Iampete1
c1a2379504
AP_IOMCU: remove safe PWM
2021-09-14 09:23:02 +10:00
Iampete1
53ee7d861d
AP_HAL_ChibiOS: remove safe PWM
2021-09-14 09:23:02 +10:00
Iampete1
ed80d91d55
AP_HAL: remove set_safety_pwm
2021-09-14 09:23:02 +10:00
Willian Galvani
fe72640955
AP_HAL: remove BATT_ settings, they belong in AP_BattMonitor_Analog.h
2021-09-14 09:21:42 +10:00
Willian Galvani
08b33954db
AP_BattMonitor_Analog: add default PM definitions for the Navigator Board
2021-09-14 09:21:42 +10:00
Willian Galvani
2e5b689196
AP_BattMonitor_Analog: allow per-board setting of CURR_AMP_OFFSET
2021-09-14 09:21:42 +10:00
Andrew Tridgell
88d77d0acd
HAL_ChibiOS: change f303-PWM timers
...
fixes PWM on channels 3 and 4
2021-09-13 21:29:13 +10:00
Andrew Tridgell
adbaccaa08
HAL_ChibiOS: fixed RTSCTS flow control issue
...
this fixes an issue reported on MatekH743, but also applies to other
boards. When not using DMA if there have been bytes written before the
auto flow control detection was enabled then these must be cleared
from _total_written so the flow control detection can work correctly
2021-09-13 21:28:08 +10:00
Iampete1
bc216b103c
AP_Mission: remove support for MAV_CMD_DO_SET_MODE
2021-09-13 16:18:24 +10:00