Willian Galvani
33c0990efd
AL_HAL: update navigator boards i2c buses
2022-05-25 14:40:19 -03:00
Willian Galvani
06fe9cde88
AP_HAL_Linux: set external and internal i2c bus masks for Navigator
...
This fixes an issue where the internal Compass was being re-detected
as an exernal one
2022-05-25 14:39:31 -03:00
Willian Galvani
89a7089b6f
Sub: remove angle_boost logic
...
This gets in the way of the vectored thrust implemented,
and is just not useful for Sub.
2022-04-19 20:42:31 -03:00
Willian Galvani
5e21690335
Sub: AP_Motors6DOF: create get_throttle_in_bidirectional()
2022-04-19 20:42:31 -03:00
Willian Galvani
9762673575
AC_PosControl_Sub.h: do not use our own input_vel_accel_z
2022-04-19 20:42:31 -03:00
Iampete1
ba389e3395
AP_Motors: add PWM min and max param conversion function
2022-04-19 20:42:31 -03:00
Iampete1
328cf74df2
AP_Motors: remove use of external PWM min and max
2022-04-19 20:42:31 -03:00
Iampete1
87df2e27a5
RC_Channel: add configured_in_storage metthod
2022-04-19 20:42:31 -03:00
Peter Barker
90d3014af6
AP_Baro: correct should-probe check for Keller Baro
2022-03-31 18:55:28 -03:00
Willian Galvani
a7bb57c319
AP_Hal_Linux: PCA9685: do not shutdown
...
Shutting down causes the pulses to be cut short, often causing
ESCs to interpret this pulse
2022-03-03 13:03:18 -03:00
Willian Galvani
5650644064
AP_Compass: use AK09915 at 200Hz continuous mode
2022-01-10 21:16:01 -03:00
Willian Galvani
18c214907a
AP_Compass: Retry reading MMC5983 ID up to 10 times
2022-01-10 21:14:53 -03:00
Willian Galvani
251f6b0b04
HAL_Linux: update SPI speeds for Navigator
...
As @jaxxzer found out, if SCL goes under 1MHz, the MMC sometimes
glitches out, freezing.
2022-01-03 15:11:34 -03:00
Willian Galvani
da8a6ff9e8
AP_HAL: fix navigator ak09915 orientation
2022-01-03 15:11:34 -03:00
Willian Galvani
99f7466f37
AP_HAL: Add HAL_PROBE_EXTERNAL_I2C_COMPASSES to Navigator
2022-01-03 15:11:34 -03:00
Patrick José Pereira
ede6f3ff99
AP_HAL_Linux: Update SPIDevice for Navigator R4
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2022-01-03 11:40:48 -03:00
Patrick José Pereira
fe4c6f43a2
AP_HAL: Update Navigator board to R4
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2022-01-03 11:40:48 -03:00
Patrick José Pereira
260af200e6
AP_Compass: Add support to AK09915
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2022-01-03 11:40:48 -03:00
Willian Galvani
768894fb61
AP_Compass: update MMMC5XX3 driver to support only mmc5983
...
Registers changed
Product ID changed
Data is now Big endian
Results are now 18 bits instead of 16, but we only consume 16.
Added SPI support
Co-authored-by: Patrick Pereira <patrickelectric@gmail.com>
Co-authored-by: Jacob Walser <jwalser90@gmail.com>
2022-01-03 11:40:48 -03:00
Andrew Tridgell
e2fded6853
AP_Compass: added AK09918 support
...
minor update over AK09916
2022-01-03 11:40:48 -03:00
Willian Galvani
2d5d6171d7
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.
2022-01-03 11:40:48 -03:00
Willian Galvani
c571a27acf
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.
2022-01-03 11:40:48 -03:00
Willian Galvani
1d14ea4f54
HAL_Linux: RCOutput_PCA9685: implement force_safety_on/off
2022-01-03 11:40:48 -03:00
Willian Galvani
3bf4ebaa4d
HAL_Linux: try to stop PWMs before shutting down due to SIGTERM
2022-01-03 11:40:48 -03:00
Willian Galvani
e92ff030b6
AP_HAL: remove BATT_ settings, they belong in AP_BattMonitor_Analog.h
2022-01-03 11:40:48 -03:00
Willian Galvani
0ed3acb24e
AP_BattMonitor_Analog: add default PM definitions for the Navigator Board
2022-01-03 11:40:48 -03:00
Willian Galvani
ed61fd72f1
AP_BattMonitor_Analog: allow per-board setting of CURR_AMP_OFFSET
2022-01-03 11:40:48 -03:00
Willian Galvani
998e163dba
AP_BattMonitor_logging: 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
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
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