Nick Exton
ffa2bba35c
HAL_ChibiOS: add missing return to Dual CDC get_usb_baud()
3 years ago
Andrew Tridgell
e6aae3caf6
HAL_ChibiOS: fix G4 I2c bus speeds
3 years ago
Iampete1
0f8bcbf4b8
AP_Scripting: optimise genrated bindings for size
3 years ago
Iampete1
c1dbb1c046
AP_Scripting: change all -FLT_MAX FLT_MAX ranges to no check
3 years ago
Iampete1
302e855dab
AP_Scripting: add 'skip_check keyword to skip argument range check
3 years ago
Iampete1
0772af5539
AP_Scripting: generator: dont initalise trivial types
3 years ago
Iampete1
32d6919ae2
AP_Scripting: generator: remove unneeded else in nullable returns
3 years ago
Peter Barker
90f8cbde13
SITL: provide HAL_x_ENABLED for many SITL features
...
This allows for the feature to be compiled out
3 years ago
Peter Barker
aa4f375015
SITL: SIM_RichenPower: remove reference to stderr
3 years ago
Peter Barker
c9df857f16
SITL: avoid use of stderr/::fprintf
3 years ago
Peter Barker
94ad32b91c
SITL: remove HIL_MODE vestiges
3 years ago
Peter Barker
d98cda12c6
AP_HAL_SITL: remove HIL_MODE vestiges
3 years ago
Willian Galvani
34b42d8252
AP_HAL: Navigator: set HAL_BARO_EXTERNAL_BUS_DEFAULT to 6
...
This is the bus exposed in the board for external sensors.
This is required as HAL_Linux doesn't probe all i2c buses.
3 years ago
Willian Galvani
2feb740a03
AP_Baro: add option to set BARO_EXT_BUS default value
...
This allows boards to define their own BARO_EXT_BUS default value.
This is mostly relevant for linux boards, as HAL_LINUX doesn't
probe all buses when BARO_EXT_BUS == -1.
3 years ago
tajisoft
68274ff996
AP_Scripting: fix switch check in ahrs-source
3 years ago
Andrew Tridgell
5f6af3567a
SRV_Channel: added SERVO_GPIO_MASK
...
this allows for channels to be set as GPIO without setting
SERVOn_FUNCTION=-1. That allows for use of UAVCAN or SBUS outputs on
those channels with a servo function, while using the aux pin as a
GPIO
3 years ago
Rishabh
13f3d04300
AC_Avoid: Early exit Dijkstra's path finder if destination is found
3 years ago
Andrew Tridgell
08fcfa04ae
APM_Control: only save autotune gains when P finished
...
this prevents saving values which are temporarily high due to tuning
process
See this bug report
https://discuss.ardupilot.org/t/plane-4-1-0-stable/76507/45
3 years ago
Iampete1
f0bc041b86
AP_Gererator: IE Fuel Cell: reset health timer at init
3 years ago
Lucas De Marchi
24adf18685
AP_HAL_Linux: small fixes to cpu affinity
...
- Do not mention x:y form in the comment since it's not supported
- Give more detail in the help output regarding the meaning of each form
- No prints in the helper parse function, let the caller print it
3 years ago
HefnySco
9f1cbdc0a5
AP_HAL_Linux: cpu affinity
3 years ago
Stephen Dade
e85f803e27
SITL: Expand multi-drone example
3 years ago
Peter Barker
521918d74c
SITL: remove set-but-not-used _framerate member variable
3 years ago
olliw42
312604f577
AP_Mount: add handle_global_position_int() method to backend and use it + little spelling
3 years ago
murata
fa609afc44
AP_Scripting: Change the script file name for messages
3 years ago
Josh Henderson
1e0ae4b998
GCS_MAVLINK: Common capacity_remaining_pct checks healthy status and has_current
3 years ago
Josh Henderson
ca568953d9
AP_BattMonitor: capacity_remaining_pct add checks for healthy status and has_current
3 years ago
bugobliterator
f298ea406e
HAL_ChibiOS: enable RNG only for H7 based boards off for the rest by default
3 years ago
bugobliterator
fc4d59c5a4
HAL_ChibiOS: setup hw random number generator for stm32 chips
3 years ago
bugobliterator
792e6666a3
HAL_ChibiOS: add random number generator implementation for ChibiOS
3 years ago
bugobliterator
e4f4b3ce1f
AP_HAL: add true random number generator
3 years ago
Hwurzburg
b327f80946
AP_Airspeed: do not cal if backend does not exist
3 years ago
Peter Barker
43e83f18be
AP_AHRS: do not send EKF_STATUS_REPORT from DCM
...
This means that even if you configure DCM as your primary you won't get
its status.
Given the status was currently garbage, this isn't necessarily a bad
thing at the moment.
3 years ago
Peter Barker
2f69dcc085
AP_AHRS: cache some trig results for yaw in DCM backend
3 years ago
Peter Barker
44d56854be
AP_AHRS: make AP_AHRS_DCM an AP_AHRS backend
3 years ago
Iampete1
2b402ed2d7
AP_BLHeli: use is_dshot_protocol in place of >= AP_HAL::RCOutput::MODE_PWM_DSHOT150
3 years ago
Iampete1
3b8b90d170
AP_HAL: move is_dshot_protocol to AP_HAL
3 years ago
Iampete1
9751cb5b24
AP_HAL_ChibiOS: move is_dshot_protocol up to AP_HAL
3 years ago
Iampete1
9b02baa5f0
AP_HAL: add note to output_mode enum about params using it
3 years ago
Iampete1
436f9a3f46
AP_BLHeli: move OTYPE to use RCOutput::MODE not AP_Motors::PWM_TYPE
3 years ago
Iampete1
9106835c93
AP_BLHeli: use motors is_digital_pwm_type helper
3 years ago
Iampete1
bc29735cb2
AP_Motors: make pwm_type protected and add helpers
3 years ago
Iampete1
b472300191
AP_MotorsUGV: make pwm_type private and add is_digital_pwm_type method
3 years ago
Iampete1
86e56934b6
AP_Scripting: update analog input example to check for valid pin
3 years ago
Iampete1
f50326c154
AP_WindVane: check for valid analog pins
3 years ago
Iampete1
e5ae023be2
AP_Scripting: AnalogSource set_pin returns bool
3 years ago
Iampete1
8f50eab6c2
AP_RSSI: check for valid analog pin
3 years ago
Iampete1
f667c098a2
AP_RangeFinder: analog: check for valid pin
3 years ago
Iampete1
5ea72bd371
AP_LeakDetector: check for valid analog pin
3 years ago
Iampete1
9f04cded3b
AP_HAL_SITL: AnalogSource: return bool for set_pin
3 years ago