Peter Barker
1aa5a8f789
AC_Avoidance: make _output_level AP_Enum
...
Also remove namespacing from OA_DbOutputLevel
2023-05-15 09:25:57 +10:00
bugobliterator
75ef9a27cb
AP_HAL_ChibiOS: fix battery monitor params for CubeRed
2023-05-15 07:14:57 +10:00
Peter Barker
aac43a2302
SITL: guard against LP5562 not being included
...
... not included on SIMOnHardware, for example
2023-05-14 18:25:36 +10:00
Rhys Mainwaring
fd775bf08d
AP_DDS: update README
...
- Update list of available topics.
Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
2023-05-14 06:20:12 +10:00
Rhys Mainwaring
56ed76f479
AP_DDS: add publisher for rosgraph_msgs/msg/Clock
...
Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
2023-05-14 06:20:12 +10:00
Rhys Mainwaring
371c19bb32
AP_DDS: rename topic name for builtin_interfaces/msg/Time
...
- Rename to ap/time as ap/clock should be for rosgraph_msgs/msg/Clock
Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
2023-05-14 06:20:12 +10:00
Rhys Mainwaring
c60796a0df
AP_DDS: add IDL for rosgraph_msgs/msg/Clock
...
Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
2023-05-14 06:20:12 +10:00
Peter Barker
1452dc0c54
AP_RPM: prefer AP_Generator_config.h
...
.... otherwise include chain on bootloaders can try to include mavlink
2023-05-14 06:17:33 +10:00
Ferruccio Vicari
d5918c5205
AP_OSD: support for main rotor rpm
...
displays main rotor rpm in OSD
2023-05-14 06:17:33 +10:00
Peter Barker
67537b1806
SITL: add simulator for RDS02UF rangefinder
2023-05-13 20:05:18 +10:00
Peter Barker
4ed4c2d554
AP_HAL_SITL: add simulator for RDS02UF rangefinder
2023-05-13 20:05:18 +10:00
Peter Barker
6943ea59b1
AP_HAL: add simulator for RDS02UF rangefinder
2023-05-13 20:05:18 +10:00
Andrew Tridgell
7e84028a91
HAL_ChibiOS: fixed sdcard lockup with SPI sdcard
...
this affects boards that share sdcard on the same bus as another SPI
device. In this case it was a QiotekZealotH743 where logging stopped
this issue is that the SPI hooks for MMC SPI did not do a DMA channel
lock before the SPI device lock. So when the RAMTRON driver on the
QiotekZealotH743 which is on the same SPI2 bus as the sdcard did an
operation we had a lock order violation
2023-05-13 18:18:14 +10:00
Ryan Friedman
925e9d8cbc
AP_HAL: Add reference to sparse endian manpage
...
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-05-13 11:32:38 +10:00
Ryan Friedman
b8f59b0df5
AP_GPS: Remove unused member variable in gsof driver
...
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-05-12 19:19:43 +10:00
Ryan Friedman
4b2687352c
AP_GPS: Add const and WARN_IF_UNUSED to AP_GPS_GSOF
...
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-05-11 10:41:17 -07:00
Henry Wurzburg
b4f9992ab7
AP_SerialManager: normalize SerialManagers ports defaults to allow inclusion in hwdefs
2023-05-11 18:45:53 +10:00
Henry Wurzburg
2ddaa65b23
AP_HAL: normalize SerialManagers ports defaults to allow inclusion in hwdefs
2023-05-11 18:45:53 +10:00
Henry Wurzburg
71992d4604
AP_HAL_ESP32: normalize SerialManagers ports defaults to allow inclusion in hwdefs
2023-05-11 18:45:53 +10:00
Henry Wurzburg
d0ac8f3016
AP_HAL_ChibiOS: normalize SerialManagers ports defaults to allow inclusion in hwdefs
2023-05-11 18:45:53 +10:00
Peter Barker
8ac9a7561c
AP_Notify: add driver for LP5562 LED
2023-05-11 11:08:50 +10:00
Peter Barker
19d2659179
SITL: add simulator for LP5562 RGBLED
2023-05-11 11:08:50 +10:00
Andrew Tridgell
b019978e22
hwdef: use zero address for INA2XX to allow for different sensors
2023-05-10 18:15:52 +10:00
Andrew Tridgell
e2041e10b5
AP_BattMonitor: auto-probe INA2XX address if address is zero
...
this makes life easier for users who don't know which device they have
2023-05-10 18:15:52 +10:00
Andrew Tridgell
5227b99a39
AP_BattMonitor: support INA228 and INA238 battery monitor
...
I2C monitors with similar functionality to INA226
2023-05-10 18:15:52 +10:00
Andrew Tridgell
2b45b235ad
AP_ICEngine: fixed a bug engine control when running
...
if you have a mission item for engine control with delayed start at
height and the engine is already running them it would put the ICE
subsystem into a state where it would no longer start the engine
It was actually 2 bugs:
- an engine control to do a height delayed start should be ignored if
the engine is already running. This prevents an engine control to
start the engine from stopping the engine
- a start_chan high should always try to start the engine
immediately, even if in the wait state
2023-05-10 18:01:21 +10:00
Randy Mackay
d6eb11d27e
AP_HAL_ChibiOS: JFB100 LED definition fix
2023-05-10 17:24:02 +10:00
Randy Mackay
217ba502ac
AP_InertialSensor: SCHA63T comment fix
2023-05-10 17:24:02 +10:00
Randy Mackay
9c44d79241
AP_HAL_ChibiOS: JFB100 board def fixup
2023-05-10 17:24:02 +10:00
Randy Mackay
9d9de678a5
AP_InertialSensor: SCHA63T loses unused ret bool
2023-05-10 17:24:02 +10:00
jfbblue0922
79f5cdaf04
AP_HAL_ChibiOS: add JFB100 board definition
2023-05-10 17:24:02 +10:00
Randy Mackay
7c2a173f30
AP_InertialSensor: formatting fixes
2023-05-10 17:24:02 +10:00
jfbblue0922
458fbb7f90
AP_InertialSensor: add SCHA63T IMU support
2023-05-10 17:24:02 +10:00
jfbblue0922
7d924f10e2
AP_Math: add crc8_sae
2023-05-10 17:24:02 +10:00
Peter Barker
db6deee9e1
hwdef: chibios_hwdef.py becomes a library
2023-05-10 17:14:43 +10:00
Andrew Tridgell
84b52374f6
RC_Channel: fixed build on cygwin with conflicting POINT
2023-05-10 17:10:20 +10:00
Andrew Tridgell
7175318fbb
AP_Camera: fixed build on cygwin with conflicting POINT
2023-05-10 17:10:20 +10:00
Andy Piper
99e6958e36
AP_HAL_ChibiOS: FoxeerH743 GA release
2023-05-10 17:07:45 +10:00
Pierre Kancir
442d4ba4e0
SITL: fix memory leak on multi fcu json sim
2023-05-09 20:39:04 +10:00
Jonathan Challinger
28598e82c0
AP_HAL_SITL: fix sitl_periph_gps build
2023-05-09 11:42:09 +10:00
Jonathan Challinger
4ef070956d
AP_HAL_SITL: ADC resolution configurable by define, default to 16 bit
2023-05-09 11:42:09 +10:00
Andrew Tridgell
20cbd8dd0b
AP_Vehicle: change no airspeed sensor message
...
it should be INFO not WARNING as not having an airspeed sensor isn't
an issue if it is disabled
2023-05-09 11:26:33 +10:00
pedro-fuoco
c044ba67cc
AP_DDS: Support single precision hw
2023-05-09 11:06:59 +10:00
Peter Barker
3e1388b7e6
AP_OpticalFlow: add and use AP_OpticalFlow_config.h
2023-05-09 10:56:13 +10:00
Peter Barker
da36de3b80
AP_MSP: add and use AP_MSP_config.h
2023-05-09 10:56:13 +10:00
Peter Barker
008eec5838
AP_Airspeed: correct includes
...
we use the msp sensors structure
2023-05-09 10:56:13 +10:00
Henry Wurzburg
5e54d26ac5
AP_OSD: fix format of RF panel and check for out of range
2023-05-09 10:49:43 +10:00
Iampete1
bea98fa909
AP_Motors: test: fix for heli
2023-05-09 10:38:33 +10:00
Andrew Tridgell
db60b2586e
AP_Logger: expand servo status logging
2023-05-09 09:40:53 +10:00
Andrew Tridgell
7963ee8a13
AP_PiccoloCAN: expand servo status logging
2023-05-09 09:40:53 +10:00
Andrew Tridgell
29715e2a74
AP_DroneCAN: support Himark servo protocol
2023-05-09 09:40:53 +10:00
Gone4Dirt
78eb4a840d
AP_MotorsHeli: Whitespace
2023-05-08 19:05:17 -04:00
Gone4Dirt
191ce55e1d
AP_MotorsHeli: Remove pure virtuals and unnecessary overrides
2023-05-08 19:05:17 -04:00
Gone4Dirt
4b2c1368bd
AP_MotorsHeli: move rotor_speed_above_critical to RSC so that it is actually used
2023-05-08 19:05:17 -04:00
Randy Mackay
d3f2309eac
AP_Scripting: viewpro driver uses camera state with Vector2f
2023-05-08 21:26:35 +10:00
Randy Mackay
2be750eaf8
AP_Scripting: camera state bindings use Vector2f
2023-05-08 21:26:35 +10:00
Randy Mackay
267cbf9a37
AP_Camera: camera state uses Vector2f
2023-05-08 21:26:35 +10:00
Randy Mackay
ae09dc7d43
AP_Camera: remove unused tracking_p2 from camera state
2023-05-08 21:26:35 +10:00
Randy Mackay
7db3f27357
AP_Scripting: viewpro driver implements image tracking
2023-05-08 21:26:35 +10:00
Randy Mackay
24445a0c20
RC_Channel: aux function for camera image tracking
2023-05-08 21:26:35 +10:00
Randy Mackay
98636287fc
AP_Scripting: camera state gets tracking
2023-05-08 21:26:35 +10:00
Randy Mackay
a6cc9f042a
AP_Camera: support image tracking
2023-05-08 21:26:35 +10:00
Randy Mackay
858a1e8b40
GCS_MAVLink: pass image tracking messages to AP_Camera
2023-05-08 21:26:35 +10:00
Randy Mackay
b2c31f8ad4
AP_Camera: remove unused auto_focus from camera state
2023-05-08 21:26:35 +10:00
Randy Mackay
8131b5bc3b
AP_Camera: add comments clarifying mavlink methods purpose
2023-05-08 21:26:35 +10:00
Iampete1
990db62235
AP_Scripting: generator: don't expose creation functions to all read only userdata
2023-05-08 19:43:24 +10:00
Iampete1
7a129e73cb
AP_Scripting: bindings: remaining EFI_State to read and write
2023-05-08 19:43:24 +10:00
Iampete1
8fa2472148
AP_Scripting: userdata: allow read of enums and userdata
2023-05-08 19:43:24 +10:00
Andrew Tridgell
52cb59e61d
AP_NavEKF3: handle core setup failure
...
ensure num_cores is left as zero so that calls such as Log_Write don't
de-reference nullptr
2023-05-08 16:28:08 +10:00
Andrew Tridgell
5a5c9d10a9
AP_NavEKF2: handle core setup failure
...
ensure num_cores is left as zero so that calls such as Log_Write don't
de-reference nullptr
2023-05-08 16:28:08 +10:00
Asif Khan
27d96eb64e
AP_Mount: Support for pointing mount to circle center
2023-05-08 10:48:20 +10:00
Peter Barker
871797d436
hwdef: correct double-definitions of DEFAULT_NTF_LED_TYPES
...
these hwdefs include other hwdefs which define the samething.
Remove where identical to file beingincluded, undef otherwise
2023-05-07 20:13:44 +10:00
Peter Barker
85012b003e
hwdef: correct compilation for KakuteF4Mini
...
we include KakuteF4 which also sets this define, so you end up with a redefinition error
2023-05-06 21:59:58 +10:00
Iampete1
81f3d3edda
AP_Motors: Heli: get_output_mask return only motors
2023-05-05 22:20:16 -04:00
Andrew Tridgell
ce703cbed7
HAL_ChibiOS: fixed asserts in AnalogIn driver
...
when building with --enable-asserts on boards with ADC1 and ADC3
(eg. Holybro H7 based boards) we were triggering asserts on bad ADC
index. In order to preserve the asserts (which are good for catching
errors) we need to ifdef the relevant calls
2023-05-06 07:24:58 +10:00
pedro-fuoco
57c2753bdd
AP_DDS: Add GeoPose support
...
* Add GeoPoint.idl
* Add GeoPose.idl
* Add GeoPoseStamped.idl
* Update geopose topic name to follow #23603
* Add GeoPose topic support
Co-authored-by: Pedro Fuoco <pedrofuoco6@gmail.com>
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-05-05 12:02:31 +10:00
Henry Wurzburg
fc42f8f9be
AP_HAL_ChibiOS: move NTF_LED_TYPES from defaults to hwdef
2023-05-04 07:45:12 +10:00
Henry Wurzburg
d8247d35f5
AP_Notify: change BUILD_DEFAULT_LED_TYPE to new pattern
2023-05-04 07:45:12 +10:00
Henry Wurzburg
1f4f3bf32a
AP_HAL_ESP32: change BUILD_DEFAULT_LED_TYPE to new pattern
2023-05-04 07:45:12 +10:00
Henry Wurzburg
8293c1f8c9
AP_HAL_ChibiOS: change BUILD_DEFAULT_LED_TYPE to new pattern
2023-05-04 07:45:12 +10:00
Peter Barker
73b0ce6db8
AP_RCProtocol: define accepted RC backends for IOMCU in its hwdef files
2023-05-03 19:06:33 +10:00
Peter Barker
43f9f08b8f
AP_HAL_ChibiOS: define accepted RC backends for IOMCU in its hwdef files
2023-05-03 19:06:33 +10:00
Peter Barker
a4ee729035
hwdef: airbotf4: minimize this board
...
not currently building.
The FLASH_RESERVE_START_KB at 64 means we're short on space on this board
2023-05-03 18:35:26 +10:00
Andrew Tridgell
601036c07b
AP_Scripting: added example that slew a servo with controls
...
useful for measuring servo capabilities by looking at achieved
deflection vs frequency
2023-05-03 15:23:01 +10:00
arshPratap
fbc7a6dd9b
AP_DDS: support UDP transport
...
and switch serial transport to use custom transport
2023-05-03 15:22:42 +10:00
arshPratap
aa25461bbe
AP_Vehicle: split off start() method in DDS
...
this allows for an DDS_ENABLED parameter
2023-05-03 15:22:42 +10:00
Stephen Dade
e01b359462
AP_Scripting: Check for battery in MAVLinkHL and Rockblock
2023-05-03 09:59:53 +10:00
Andy Piper
95437d248f
AP_HAL_ChibiOS: advanced timers are now determined automatically on L4+
2023-05-03 07:39:39 +10:00
David Buzz
c68b2bc2be
AP_HAL: make all esp32 boards use 16 channels, not 32.
2023-05-02 14:38:03 +10:00
David Buzz
1b3534e996
AP_HAL_ESP32: make all boards use 16 channels, not 32.
2023-05-02 14:38:03 +10:00
David Buzz
dc28cdecd2
AP_HAL_ESP32: bump up ftp and log_io thread size
2023-05-02 14:38:03 +10:00
David Buzz
9a63fc2d30
AP_HAL_ESP32: 4.2 updated sdkconfig
2023-05-02 14:38:03 +10:00
David Buzz
819af19007
AP_HAL_ESP32: porting in from ESP32-S3 buzz prios, stack sizes, wifi driver
...
improvements
ESP32: udp thread was thrashing the cpu too much, tcp thread was delaying too much, uart shouldn't have big delay, tweak wifi priorities
2023-05-02 14:38:03 +10:00
David Buzz
acd1f48ed3
AP_HAL: doesn't need these subsystems
...
ESP32: disabled can on esp32 for now
ESP32: disable airspeed sensors on esp32buzz
ESP32: disable a bunch of compasss types and subsystems so it doesn't try to probe for all
of the compases on boot, as its super slow.
turned off a bunch of Plane stuff that an esp32 user isn't likely to need
compass
scr
comp
a
c
2023-05-02 14:38:03 +10:00
David Buzz
8da8163967
AP_HAL_ESP32: doesn't need these subsystems
...
ESP32: disabled can on esp32 for now
ESP32: disable airspeed sensors on esp32buzz
ESP32: disable a bunch of compasss types and subsystems so it doesn't try to probe for all
of the compases on boot, as its super slow.
turned off a bunch of Plane stuff that an esp32 user isn't likely to need
compass
scr
comp
a
c
2023-05-02 14:38:03 +10:00
David Buzz
81df897d88
AP_InternalError: imu resets aren't fatal on esp32
2023-05-02 14:38:03 +10:00
David Buzz
a896ab9e71
AP_InertialSensor: quieten imu's on esp32
...
less noisy
ins debug
imu
2023-05-02 14:38:03 +10:00
David Buzz
46bc6d5122
AP_HAL_ESP32: quieten imu's on esp32
...
less noisy
ins debug
imu
2023-05-02 14:38:03 +10:00
David Buzz
e2edfae79b
AP_HAL: add a new board for tomte76
...
mpu9255 board, bmp280 baro, micro sd card and NEO M8 clone
a
2023-05-02 14:38:03 +10:00
David Buzz
a31f01d505
AP_HAL_ESP32: add a new board for tomte76
...
mpu9255 board, bmp280 baro, micro sd card and NEO M8 clone
a
2023-05-02 14:38:03 +10:00
Daniel Tombeil
8b029777e2
AP_HAL_ESP32: Adding receive_time_constraint_us() to UARTDriver to address GPS init
...
and health issues
- more work on receive_time_constraint_us()
2023-05-02 14:38:03 +10:00
Michael du Breuil
3de912f2b8
AP_ESC_Telem: Add support for a max rpm check on the motors running check
2023-05-02 10:23:55 +10:00
Peter Barker
f1be6df93e
AP_IOMCU: honour AP_RCPROTOCOL_X_ENABLED
2023-05-02 10:19:50 +10:00
Peter Barker
18e55b9d6e
AP_RCProtocol: add and use AP_RCPROTOCOL_SBUS_ENABLED
2023-05-02 10:19:50 +10:00
Henry Wurzburg
e5336a8e9e
AP_HAL_ChibiOS:correct KakauteH7 IMU label
2023-05-02 10:02:35 +10:00
davidsastresas
de9024b633
AP_Mount: Siyi supports absolute zoom control
...
Co-authored-by: davidsastresas <davidsastresas@gmail.com>
Co-authored-by: Randy Mackay <rmackay9@yahoo.com>
2023-05-02 10:00:38 +10:00
Iampete1
e613a2d812
Filter: examples: add SlewLimiter example to test functionality
2023-05-02 09:36:03 +10:00
Iampete1
ff4b63f9dc
AP_Math: Chirp: add complete method to see if chirp is finished
2023-05-02 09:36:03 +10:00
Iampete1
8a4b30ec3f
Filter: SlewLimiter: always caculate slew limit
2023-05-02 09:36:03 +10:00
Andrew Tridgell
4a8eda0589
AP_HAL: default CAN_Px_DRIVER to 0 on SITL
...
having this default to 1 slows down SITL startup for a lot of people
due to the CAN wait for sensor delays. It is easy to enable it when
CAN is needed in SITL
2023-05-01 14:10:59 +10:00
James O'Shannessy
0dedc4bf74
AP_BattMonitor: Fixes the setting of a default parameter for battery instance #2 set in hwdef
2023-04-28 16:13:33 +10:00
bugobliterator
684f96021d
AP_Scripting: add tests for require
2023-04-28 12:36:08 +10:00
bugobliterator
306b14d8dc
AP_Scripting: add require with sandbox inheritence
2023-04-28 12:36:08 +10:00
bugobliterator
350f718745
AP_HAL: don't include Semaphore headers while building C source
2023-04-28 12:36:08 +10:00
Andy Piper
d69b8c2693
AP_HAL_ChibiOS: fix usage of ADC2 and ADC3 in STM32H730
2023-04-28 08:31:15 +10:00
Andy Piper
e6c1897dd3
AP_HAL_ChibiOS: provide complete ADC2/ADC3 maps for STM32H750 and STM32H743
...
Fix dummy pin generation
2023-04-28 08:31:15 +10:00
Andy Piper
26c59349d5
AP_HAL_ChibiOS: use HAL_XIP_ENABLED to denote running in external flash
2023-04-28 08:31:15 +10:00
Andy Piper
ff1661a8de
AP_HAL_ChibiOS: use STM32_FLASH_NBANKS for flash actions
2023-04-28 08:31:15 +10:00
Andy Piper
5b43926d0a
AP_HAL_ChibiOS: for H730/H750 running in XIP mode do not reset clocks
...
create mcuconf file for STM32H730 (type2)
allow OTG2 to be used as OTG1 on MCUs that need it
remove redundant OTG enablement
2023-04-28 08:31:15 +10:00
Andy Piper
b75ff2e2ae
AP_HAL_ChibiOS: allow only ADC2 to be used
2023-04-28 08:31:15 +10:00
Andy Piper
798fc05ba8
AP_HAL_ChibiOS: clean up linker map on H730 and H750
...
use regular ChibiOS RAM areas for RAM functions
exclude board.o from RAM functions and add some comments
use separate linker script for H750
use correct RAM area for process stack on H750/H743
update EXCLUDE items to put __early_init in flash on H730 and H750
optimize H730 ramfunc usage
2023-04-28 08:31:15 +10:00
Andy Piper
8b8f5eadd6
AP_HAL_ChibiOS: detect QSPI and OSPI separately for setting NO_RESET
2023-04-28 08:31:15 +10:00
Andy Piper
fee853dc7d
AP_HAL_ChibiOS: correct OSPI clock in WSPIDevice
2023-04-28 08:31:15 +10:00
Andy Piper
7516f04106
AP_HAL_ChibiOS: create two configurable non-cacheable memory areas for DMA
2023-04-28 08:31:15 +10:00
Andy Piper
1607e66977
AP_HAL_ChibiOS: prototype CubeMX configuration for H730
2023-04-28 08:31:15 +10:00
Andy Piper
93e1859ba6
AP_HAL_ChibiOS: support is_busy() on WSPI device
2023-04-28 08:31:15 +10:00
Andy Piper
ac8a94e655
AP_HAL: support is_busy() on WSPI device
2023-04-28 08:31:15 +10:00
Andy Piper
c7c8e1a8a9
AP_FlashIface: support OctoSPI flash correctly
2023-04-28 08:31:15 +10:00
Andy Piper
19bda7818c
AP_HAL: configure HAL_USE_QUADSPI and HAL_USE_OCTOSPI
2023-04-28 08:31:15 +10:00
Andy Piper
edfb133375
AP_FlashIface: add support for OCTOSPI 8-line commands
2023-04-28 08:31:15 +10:00
Andy Piper
8ef92805e1
AP_HAL_ChibiOS: support for OCTOSPI
2023-04-28 08:31:15 +10:00
Andy Piper
c4d30879d2
AP_HAL_ChibiOS: hwdef for SPRacing H7RF
2023-04-28 08:31:15 +10:00
Andy Piper
61e70a5fb1
AP_HAL_ChibiOS: add support in hwdef for OCTOSPI
2023-04-28 08:31:15 +10:00
Andy Piper
b5d7d06886
AP_HAL_Linux: QSPI -> WSPI
2023-04-28 08:31:15 +10:00
Andy Piper
11fba13dc8
AP_FlashIface: rename QSPIDevice to WSPIDevice
2023-04-28 08:31:15 +10:00
Andy Piper
c0b008902f
AP_HAL_SITL: rename QSPIDevice to WSPIDevice
2023-04-28 08:31:15 +10:00
Andy Piper
eadee1ab8d
AP_HAL_Empty: rename QSPIDevice to WSPIDevice
2023-04-28 08:31:15 +10:00
Andy Piper
f8dd6a1b2a
AP_HAL_ChibiOS: rename QSPIDevice to WSPIDevice
2023-04-28 08:31:15 +10:00
Andy Piper
a73945c1b3
AP_HAL: rename QSPIDevice to WSPIDevice
2023-04-28 08:31:15 +10:00
Andy Piper
cc086ab8d4
AP_HAL_ChibiOS: support for STM32H730xx MCUs
...
correct calculation of advanced timers
add support for linker script configuration in mcu config script
use linker script configuration for H750 and H730
add single OTG_HS support on H730 via OTG2
make sure complimentary channels get advanced timers
complemntary timers do not require advanced mode
allow custom clockspeeds of 550Mhz
correct debug pins on H730
support custom clockrate of 520Mhz on H730
correct H730 USB end point pins
restructure linker script for STM32H730
allow chibios_hwdef.py to set advanced timer on L431
don't define RAMFUNC on STM32H730
clock tree for STM32H730
create non-cacheable memory area for SDMMC DMA
don't look for RAM_MAP in bootloader with external flash
2023-04-28 08:31:15 +10:00
Rhys Mainwaring
a654027a45
AP_DDS: update topic names
...
- Change to lower case and prefix with /ap
Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
2023-04-28 07:37:04 +10:00
pedro-fuoco
819431050a
AP__DDS: update velocity topic name to follow #23603
2023-04-28 07:36:00 +10:00
pedro-fuoco
2298048079
AP_DDS: Add local velocity publisher
2023-04-28 07:36:00 +10:00
Peter Barker
c50b996015
AP_RCTelemetry: add and use AP_RCPROTOCOL_CRSF_ENABLED
2023-04-27 18:31:30 +10:00
Peter Barker
6535bfa546
AP_RCProtocol: add and use AP_RCPROTOCOL_CRSF_ENABLED
2023-04-27 18:31:30 +10:00
Peter Barker
dd549ee625
AP_RCProtocol: use defaults to turn off CRSF telem on IO firmware
2023-04-27 18:31:30 +10:00
Peter Barker
1f3aecf41b
AP_HAL_ChibiOS: use defaults to turn off CRSF telem on IO firmware
2023-04-27 18:31:30 +10:00
Peter Barker
e89ccf1fa7
AP_RCProtocol: remove intermediate srxl2 callback-chain functions
2023-04-27 08:21:32 +10:00
Randy Mackay
294eb1db5b
AP_Scripting: viewpro driver uses focus type and value
2023-04-26 22:55:47 +10:00
Randy Mackay
edc2ea7bf6
AP_Scripting: camera state uses focus_type and focus_value
2023-04-26 22:55:47 +10:00
Randy Mackay
d187368b33
RC_Channel: camera focus controls use set_focus
2023-04-26 22:55:47 +10:00
Randy Mackay
020a505d78
AP_Mount: set_focus replaces set_manual/auto_focus
2023-04-26 22:55:47 +10:00
Randy Mackay
2ff89498c5
AP_Camera: set_focus replaces set_manual/auto_focus
2023-04-26 22:55:47 +10:00
Peter Barker
926c7d64b1
AP_HAL_ChibiOS: add and use AP_BOOTLOADER_FLASHING_ENABLED
2023-04-26 22:55:36 +10:00
Peter Barker
b3b46f7be6
AP_RCProtocol: add add use AP_RCPROTOCOL_SRXL2_ENABLED
2023-04-26 22:54:33 +10:00
Peter Barker
feaed97601
GCS_MAVLink: deprecate handling of MAV_CMD_REQUEST_AUTOPILOT_CAPABILITIES
...
AUTOPILOT_VERSION - the message this returns - can be requested with MAV_CMD_REQUEST_MESSAGE
2023-04-26 20:34:42 +10:00
Peter Barker
d0b96d4cd9
GCS_MAVLink: deprecate handling of AUTOPILOT_VERSION_REQUEST
...
This can be done equivalently with MAV_CMD_REQUEST_MESSAGE
2023-04-26 20:34:42 +10:00
bugobliterator
ac8a447bbf
AP_HAL_ChibiOS: add asserts to AnalogIn
2023-04-26 18:04:00 +10:00
bugobliterator
240556acc5
AP_HAL_ChibiOS: ignore the settings for ANALOG_INPUT_NONE
2023-04-26 18:04:00 +10:00
bugobliterator
09c6500ac7
bootloaders: add CubeRed bootloaders
2023-04-26 18:04:00 +10:00
bugobliterator
91c0bda4da
AP_HAL_ChibiOS: add hwdef for CubeRedSecondary
2023-04-26 18:04:00 +10:00
bugobliterator
9e6c9022a3
AP_HAL_ChibiOS: add support for forwarding USB COM2 to Secondary controller
2023-04-26 18:04:00 +10:00
bugobliterator
2ac7dcc764
AP_HAL_ChibiOS: use HAL_SERIAL0_BAUD_DEFAULT when setting up serial(0)
2023-04-26 18:04:00 +10:00
bugobliterator
cc02ad9224
AP_HAL: add HAL_FORWARD_OTG2_SERIAL define
2023-04-26 18:04:00 +10:00
bugobliterator
918a7355c5
AP_HAL_ChibiOS: add CubeRedPrimary hwdef
2023-04-26 18:04:00 +10:00
bugobliterator
9663b3d409
AP_HAL: add __EXTFLASHFUNC__ define
2023-04-26 18:04:00 +10:00
bugobliterator
0343b789e6
AP_HAL_ChibiOS: add support for mixed internal and external flash
2023-04-26 18:04:00 +10:00
bugobliterator
626fd9e77f
AP_HAL_ChibiOS: add support for marking ADC pins with identifier
2023-04-26 18:04:00 +10:00
bugobliterator
726dcda24f
AP_HAL_ChibiOS: add support for using ADC2 and ADC3 on H7
2023-04-26 18:04:00 +10:00
Andy Piper
6248a657c8
AP_Motors: allow use of raw voltage for battery compensation driven by MOT_OPTIONS
2023-04-26 17:04:45 +10:00
Peter Barker
b471f9bfac
AP_ExternalAHRS: create and use backend defines for AP_ExternalAHRS
2023-04-26 14:09:25 +10:00
bugobliterator
0c728972ff
AP_DroneCAN: move to using CanardTxTransfer for sending data
2023-04-26 14:08:45 +10:00
Ryan Friedman
47e3d1af02
AP_Airspeed: Improve ARSPD_WIND_MAX behavior by handling 3D speed
...
* The previous method negated earth-frame vertical velocity
* In a steep dive on a plane, the 2D ground speed assumption of speed breaks down
* Use 3D speed always
* If only a 2D fix is avialable, then vertical velocity should be 0
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-04-26 14:08:01 +10:00
Ryan Friedman
d6569d6f79
AP_GPS: Use SI unit abbreviation
...
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-04-26 14:08:01 +10:00
Randy Mackay
bdb3618de7
GCS_MAVLink: support requests for gimbal-manager-information
2023-04-25 15:07:35 +10:00
Randy Mackay
ddbc52d2db
AP_Mount: support gimbal-manager-information requests
2023-04-25 15:07:35 +10:00
Andrew Tridgell
e4ce423c46
hwdef: DMA is off on I2C on F7 and H7 by default
...
no need to have it in hwdef.dat
2023-04-25 14:19:09 +10:00
Andrew Tridgell
64cd58c21a
ChibiOS: disable DMA on I2C on F7 and H7 by default
...
this was already done on many (most?) boards, and greatly reduces DMA
sharing which improves performance of UARTs. This changes the default
to no DMA on I2C
2023-04-25 14:19:09 +10:00
pedro-fuoco
171e09d28c
AP_DDS: Add local pose publisher
2023-04-25 14:18:54 +10:00
Andrew Tridgell
5024261e2e
HAL_ChibiOS: fixed hwdef DMA resolver dependency on python2/python3
...
we need to use sorted keys in dictionaries to ensure we end up with
the same DMA mapping when using py2 and py3
fixes #15534
2023-04-25 11:30:56 +10:00
Henry Wurzburg
d6e696e085
AP_Notify: fix incorrect buzzer pin type to stop always instantiating
2023-04-25 10:29:10 +10:00
muramura
b05cffeaae
AC_WPNav: Initialize near use
2023-04-25 10:13:55 +10:00
Pradeep
e7c78f8cd4
AP_EFI : Hirth type id is reserved
...
Hirth type-id = 8
WIP
2023-04-24 19:23:19 +10:00
Asif Khan
47ad614e8e
AP_Mount: Add MNTx_SYSID_DFLT param to easily target another vehicle
2023-04-24 13:34:20 +10:00
Asif Khan
3d11ec7b5c
AP_Mount: Add SysID-Target entry to MNTx_DEFLT_MODE param description
2023-04-24 13:34:20 +10:00
Randy Mackay
8d8d11a139
AC_WPNav: wpnav speed param check fixed
2023-04-24 13:29:05 +10:00
Peter Barker
dfcadfc618
AP_Notify: add and use AP_NOTIFY_TONEALARM_ENABLED
2023-04-23 16:24:02 +10:00
Peter Barker
6933000395
AP_HAL_ChibiOS: add and use AP_NOTIFY_TONEALARM_ENABLED
2023-04-23 16:24:02 +10:00
Henry Wurzburg
11def9b958
AP_Notify: rename/remove HAL_BUZZER_ON to DEFAULT_BUZZ_ON_LVL
2023-04-23 11:19:50 +10:00
Henry Wurzburg
efd0937568
AP_HAL_ChibiOS: rename/remove HAL_BUZZER_ON to DEFAULT_BUZZ_ON_LVL
2023-04-23 11:19:50 +10:00
Peter Barker
dafc24b7a1
AP_HAL_ChibiOS: tidy external baro probing
2023-04-23 08:28:55 +10:00
Peter Barker
100b8d3915
AP_Baro: tidy external baro probing
2023-04-23 08:28:55 +10:00
Peter Barker
d3ce0356b8
hwdef: remove uart7 from thepeach-r1 bootloader to get it compiling
...
out of space otherwise
2023-04-22 13:58:02 +10:00
Peter Barker
e37b3f9fcd
hwdef: remove uart7 from thepeach-k1 bootloader to get it compiling
...
out of space otherwise
2023-04-22 13:58:02 +10:00
Peter Barker
587f64b784
hwdef: remove uart7 from PixSurveyA1-IND bootloader to get it compiling
...
out of space otherwise
2023-04-22 13:58:02 +10:00
Peter Barker
e3ee5ca822
hwdef: remove uart7 from PixPilot-v3 bootloader to get it compiling
...
out of space otherwise
2023-04-22 13:58:02 +10:00
Henry Wurzburg
3362f752cb
AP_Notify: remove unused HAL_BUZZER_OFF defines
2023-04-22 13:51:09 +10:00
Henry Wurzburg
be94015dba
AP_HAL_ChibiOS: remove unused HAL_BUZZER_OFF defines
2023-04-22 13:51:09 +10:00
Ryan Friedman
bb6c872138
AP_DDS: Publish NavSatFix as soon as its available
...
* Removes the hard coded timing, now it's driven by the GPS update times
* Changed the function signature to return true if the data topic has been changed
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-04-22 11:04:49 +10:00
Ryan Friedman
edde5d2e48
AP_DDS: Add developer recommended steps for pre-commit
...
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-04-22 11:03:04 +10:00
Ryan Friedman
7ff2a9eec3
AP_DDS: Use mirror of DDS Gen
...
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-04-22 08:28:58 +10:00
Michael du Breuil
a9d696752d
GCS_MAVLink: Factor accel cal work out to INS library
2023-04-21 21:33:16 +10:00
Michael du Breuil
b76d6d827f
AP_InertialSensor: Factor accel cal in from GCS_MAVLink
2023-04-21 21:33:16 +10:00
Peter Barker
15ec9f6f82
GCS_MAVLink: allow Copter to emit MISSION_STATE_PAUSED when paused in auto
2023-04-21 09:49:55 +10:00
Peter Barker
510ed4cf2f
GCS_MAVLink: add support for more MISSION_CURRENT fields
...
- a state so someone can see if the mission is complete
- total number of waypoints
2023-04-21 09:49:55 +10:00
Peter Barker
75a0c592ab
AP_RCProtocol: move code from SRXL2.cpp into Backend.cpp
...
NFC, just moving from one cpp to another
2023-04-21 09:15:01 +10:00
Peter Barker
ff441de8ec
AP_RCProtocol: move configure_vtx method to AP_RCProtocol_Backend
...
this is called as a static method from DSM to SRXL2 which isn't good.
2023-04-21 09:15:01 +10:00
Peter Barker
1d8a5ac92d
AP_HAL_ChibiOS: correct CubOrange-periph-heavy compilation
...
canmanager isn't enabled, so no piccolocan
2023-04-20 21:51:40 +10:00
muramura
edabfb8a2e
AP_Arming: Remove unnecessary empty sentences
2023-04-20 09:24:46 +10:00
Peter Barker
ce00251333
AP_CANManager: correct gate on definition of AP_CANManager class
2023-04-20 08:53:46 +10:00
Peter Barker
d0c80f5877
AP_Vehicle: move and rename CAN Driver_Type enumeration
2023-04-20 08:53:46 +10:00
Peter Barker
79f08394b3
SRV_Channel: move and rename CAN Driver_Type enumeration
2023-04-20 08:53:46 +10:00
Peter Barker
b167e19bb6
AP_Scripting: move and rename CAN Driver_Type enumeration
2023-04-20 08:53:46 +10:00
Peter Barker
7461dffb89
AP_RangeFinder: move and rename CAN Driver_Type enumeration
2023-04-20 08:53:46 +10:00
Peter Barker
34a02fcda9
AP_PiccoloCAN: move and rename CAN Driver_Type enumeration
2023-04-20 08:53:46 +10:00
Peter Barker
04feb98091
AP_KDECAN: move and rename CAN Driver_Type enumeration
2023-04-20 08:53:46 +10:00
Peter Barker
b6cb47d3cd
AP_EFI: move and rename CAN Driver_Type enumeration
2023-04-20 08:53:46 +10:00
Peter Barker
80752af077
AP_DroneCAN: move and rename CAN Driver_Type enumeration
2023-04-20 08:53:46 +10:00
Peter Barker
fea2c8d923
AP_CANManager: move and rename CAN Driver_Type enumeration
2023-04-20 08:53:46 +10:00
Peter Barker
c88b7586da
AP_Arming: move and rename CAN Driver_Type enumeration
2023-04-20 08:53:46 +10:00
Andy Piper
cf20a70c58
AP_HAL_ChibiOS: move LED processing to a separate thread
...
LED processing on a separate thread allows much longer LED lengths to be handled without
compromising dshot timing or timeouts. The thread is also run at a lower priority to
reflect its lack of flight criticality
2023-04-19 16:45:21 +01:00
Andy Piper
875481b823
AP_HAL: add helper functions for LEDs
...
add PRIORITY_LED for led output thread
2023-04-19 16:45:21 +01:00
Peter Barker
c3c758a2e4
hwdef: DrokekP3Pro loses usart3
2023-04-19 19:05:14 +10:00
Rhys Mainwaring
954af207c2
Tools: add COLCON_IGNORE to modules and libraries
...
- Prevent colcon from searching in modules and libraries for CMakeLists.txt.
Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
2023-04-19 18:34:15 +10:00
Peter Barker
81f3c6a4c4
AP_Arming: correct prearm check for mission storage file
2023-04-19 18:05:20 +10:00
bugobliterator
ef8ebd85dd
AP_BoardConfig: resetting the BRD_HEAT_TARG to 45 is not needed anymore
...
As iomcu fw has right default polarity now.
2023-04-19 17:59:08 +10:00
Andy Piper
7db0c387cc
AP_HAL_ChibiOS: update MambaF405v2 for ICM42688, bdshot and DMA on UART1
2023-04-19 17:47:51 +10:00
Andy Piper
87a3c34c70
AP_HAL_ChibiOS: add BMI270 and ICM42688 to FlywooF745
2023-04-19 17:42:26 +10:00
Andy Piper
794335bb26
AP_HAL_ChibiOS: remove erroneous FlywooF745v2
2023-04-19 17:42:26 +10:00
Randy Mackay
288de08374
RC_Channel: integrate ZoomType def move out of AP_Camera
2023-04-19 17:31:46 +10:00
Randy Mackay
14ef3870bc
AP_Mount: integrate ZoomType def move out of AP_Camera
2023-04-19 17:31:46 +10:00
Randy Mackay
a1ae189b17
AP_Camera: move ZoomType def to separate .h
2023-04-19 17:31:46 +10:00
Randy Mackay
a8c593d44c
AP_Mount: Siyi driver comment re zoom decrement
2023-04-19 17:31:46 +10:00
Randy Mackay
9c72cf2a1e
AP_Camera: move some includes to backend
...
also remove some redundant includes
2023-04-19 17:31:46 +10:00
Randy Mackay
82d03e45e0
AP_Scripting: integrate camera_state_t scope change
2023-04-19 17:31:46 +10:00
Randy Mackay
a9cc32d304
AP_Camera: reduce camera_state_t scope
2023-04-19 17:31:46 +10:00
Randy Mackay
ea1836304a
AP_Scripting: ViewPro driver supports zoom pct
2023-04-19 17:31:46 +10:00
Randy Mackay
4090c50e8f
AP_Scripting: camera set_zoom binding replaces set_zoom_step
2023-04-19 17:31:46 +10:00
Randy Mackay
ddaff85166
AP_Mission: set_zoom replaces set_zoom_step
2023-04-19 17:31:46 +10:00
Randy Mackay
9100123efe
RC_Channel: set_zoom replaces set_zoom_step
2023-04-19 17:31:46 +10:00
Randy Mackay
5b7f9c874d
AP_Mount: set_zoom replaces set_zoom_step
2023-04-19 17:31:46 +10:00
Randy Mackay
6603a6c8c5
AP_Camera: set_zoom replaces set_zoom_step
2023-04-19 17:31:46 +10:00
bugobliterator
b1c4cf9923
AP_DroneCAN: fix DroneCAN run for SITL
2023-04-19 17:26:57 +10:00
Andrew Tridgell
42192b2800
AP_DroneCAN: cope with 16 bit limit on event timeout
...
use a smaller process() time while waiting for node startup
2023-04-19 17:26:57 +10:00
Andrew Tridgell
761297a068
AP_HAL_SITL: change to 16 bit timeout in event interface
...
prevent issues on 16 bit timers where we can end up with TIME_INFINITE
2023-04-19 17:26:57 +10:00
Andrew Tridgell
d5effcdf92
AP_HAL_Linux: change to 16 bit timeout in event interface
...
prevent issues on 16 bit timers where we can end up with TIME_INFINITE
2023-04-19 17:26:57 +10:00
Andrew Tridgell
d1e50cb0c8
AP_HAL: change to 16 bit timeout in event interface
...
prevent issues on 16 bit timers where we can end up with TIME_INFINITE
2023-04-19 17:26:57 +10:00
Andrew Tridgell
86b6f3a2c6
AP_HAL_ChibiOS: change to 16 bit timeout in event interface
...
prevent issues on 16 bit timers where we can end up with TIME_INFINITE
2023-04-19 17:26:57 +10:00
Peter Barker
7088286ebf
AP_Compass: use new vector methods to make for more compact code
...
The check for zero-length magnetic field on the primary is redundant given the one on the loop
2023-04-19 14:25:06 +10:00
Peter Barker
f1eec8482b
AC_AttitudeControl: use quat.to_euler(Vector3f&)
2023-04-19 14:24:45 +10:00
Peter Barker
ce8afaf57b
AP_NavEKF3: use quat.to_euler(Vector3f&)
2023-04-19 14:24:45 +10:00
Peter Barker
a3c5926040
AP_Mount: use quat.to_euler(Vector3f&)
2023-04-19 14:24:45 +10:00
Peter Barker
0b2e1e7989
AP_Math: allow conversion of a quaternion into an rpy Vector3f
...
There are several places in the code that can use this
2023-04-19 14:24:45 +10:00
Iampete1
4186edad3f
AP_DroneCAN: move to hal.util->snprintf to keep g++ 7.5.0 happy
2023-04-18 17:44:29 +01:00
Andrew Tridgell
14d2318859
AP_BoardConfig: on debug builds enable the debug pins by default
...
this saves a step in debugging
2023-04-18 14:35:21 +10:00
Peter Barker
5121b33c03
hwdef: remove more features from SkyViper
2023-04-18 11:45:39 +10:00
Peter Barker
271571e29c
AP_GPS_NMEA: fix stringop truncation failure on g++ 9
2023-04-18 11:44:57 +10:00
Peter Barker
8c203d29d0
SRV_Channel: remove CANTester
2023-04-18 11:43:58 +10:00
Peter Barker
a657c6ea75
GCS_MAVLink: remove CANTester
2023-04-18 11:43:58 +10:00
Peter Barker
b055b67a7f
AP_CANManager: remove CANTester
2023-04-18 11:43:58 +10:00
Peter Barker
a4721b4ff8
AP_Arming: remove CANTester
2023-04-18 11:43:58 +10:00
Henry Wurzburg
73011c81fd
AP_HAL_ChibiOS: correct MatekH743 storage size
2023-04-18 11:25:25 +10:00
Robert Taylor
ebef532258
AP_Scripting: Add EFI state get example
2023-04-18 10:31:01 +10:00
Robert Taylor
59cb583d63
AP_Scripting: Add efi get_state function
2023-04-18 10:31:01 +10:00
Robert Taylor
7b64d09dc4
AP_Scripting: Make EFI bindings readable
2023-04-18 10:31:01 +10:00
Peter Barker
068443718e
GCS_MAVLink: deprecate use of MISSION_SET_CURRENT message
...
The mavlink command MAV_CMD_DO_SET_MISSION_CURRENT has been in place since January 2019 and is superior to this.
2023-04-18 10:24:26 +10:00
Iampete1
3a36337775
AP_Motors: Thrust Linearization: disable density comp in example as baro is not declared
2023-04-18 09:32:22 +10:00
Iampete1
ab4777de14
AP_Motors: move thrust linerization to its own class
2023-04-18 09:32:22 +10:00
Peter Barker
5d68f44694
AP_NavEKF3: move beacon variables into structure
...
AP_NavEKF3: change beacon variable names
2023-04-18 09:28:02 +10:00
Peter Barker
f6fa509443
AP_Camera: add timestamp on parameter conversion function
...
...so we can remove this stuff more easily over time
2023-04-17 22:05:08 +01:00
Peter Barker
395961883f
AP_Logger: avoid many method calls logging RCOU
2023-04-17 21:28:49 +10:00
Peter Barker
1fb879322c
hwdef: correct compilation of OMNIBUSF7V2
...
redefition erro
2023-04-17 21:26:41 +10:00
Tom Pittenger
7bde074791
AP_KDECAN: remove prearm and allow better mapping
2023-04-17 11:52:52 +10:00
Tom Pittenger
de86102751
AP_KDECAN: don't handle ESCs changing their address
2023-04-17 11:52:52 +10:00
Tom Pittenger
2bbd7d8d91
AP_CANManager: set _driver_type_cache for *all* ifaces
2023-04-17 11:52:52 +10:00
Tom Pittenger
e21063522d
AP_KDECAN: apply NFC suggestions from Peter Barker
2023-04-17 11:52:52 +10:00
Tom Pittenger
a443fd97a6
GCS_MAVLink: remove preflight_can
...
It was only using CANTester to test KDECAN enumeration which was removed
2023-04-17 11:52:52 +10:00
Tom Pittenger
5ca3aa6346
AP_CANManager: remove KDECAN from CANTester
2023-04-17 11:52:52 +10:00
Tom Pittenger
eed3cf3255
AP_CANManager: promote KDECAN to a first-class library
2023-04-17 11:52:52 +10:00
Tom Pittenger
c585b0286d
AP_KDECAN: total re-write using CANSensor and remove Enum
2023-04-17 11:52:52 +10:00
Tom Pittenger
84b7444047
AP_CANSensor: add get_driver_type() accessor
2023-04-17 11:52:52 +10:00
Tom Pittenger
9cf5759435
AP_HAL_ChibiOS: enable KDECAN on CubeOrange-periph
2023-04-17 11:52:52 +10:00
Tom Pittenger
20d89c510b
AP_HAL_ChibiOS: AP_KDECAN_ENABLE 0 by default
2023-04-17 11:52:52 +10:00
Tom Pittenger
c2e1eeac98
SRV_Channel: move AP_KDECAN to a first-class library
2023-04-17 11:52:52 +10:00
Tom Pittenger
5ef4c8dd09
GCS_MAVLink: move AP_KDECAN to a first-class library
2023-04-17 11:52:52 +10:00
Tom Pittenger
2fcae3c520
AP_Arming: remove AP_KDECAN prearm checks
2023-04-17 11:52:52 +10:00
Tom Pittenger
af2fc47b4d
AP_Vehicle: move AP_KDECAN to AP_Vehicle
...
ssss
2023-04-17 11:52:52 +10:00
Paul Riseborough
5ab17496f6
AP_NavEKF3: Improve protection against GPS glitches during yaw alignment
2023-04-17 08:48:03 +10:00
Paul Riseborough
7063b385cf
AP_NavEKF3: Reduce use of GSF yaw for planes with no compass
2023-04-17 08:48:03 +10:00
Peter Barker
37f638c5f7
AP_Proximity: include AP_Proximity_Backend.h in AP_Proximity.cpp
...
fixes a compilation problem if all of the backends are compiled out!
2023-04-16 12:29:42 +10:00
Peter Barker
3b2e92c4d6
AP_Mount: use only radians within servo backend
2023-04-15 23:14:48 +10:00
Peter Barker
db15803017
GCS_MAVLink: send deprecated message received warning at INFO not WARN
2023-04-15 23:14:33 +10:00
Ryan Friedman
4ba1c56368
AP_Airspeed: Add missing D in ARSP
...
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-04-15 23:14:12 +10:00
Peter Barker
b10c576134
AP_VisualOdom: allow VisualOdom backends to be compiled in individually
2023-04-15 22:19:21 +10:00
Peter Barker
3c86167544
hwdef: only allow specific VisualOdom devices (right now, MAVLink)
2023-04-15 22:19:21 +10:00
pedro-fuoco
72a693e68e
AP_DDS: Switch BatteryState topic to sensor data QOS
...
Resolves #23365 for the BatteryState topic
2023-04-15 09:40:33 +10:00
pedro-fuoco
e1b06a1b99
AP_DDS: Integrate AP_BattMonitor to work with AP_DDS
...
* Edit BatteryState.idl
* Add BatteryState to AP_DDS_Topic_table.h
* Add BatteryState to the DDS Client
* Add voltage
* Add temperature
* Add current
* Add charge
* Add capacity with NAN value
* Add design_capacity
* Add percentage
* Add power_supply_status
* Add power_supply_health
* Add power_supply_technology with 0 value
* Add present
* Cell_voltage and Serial_number need to be implemented in the future
* Did not add cell_temperature as AP_BattMonitor doesn't support it
* Did not add location as this is a generic implementation
* Parameterize battery instance number
2023-04-15 09:40:33 +10:00
Peter Barker
25ec1730b4
AP_EFI: poll MS at 10Hz not 5Hz
2023-04-15 09:39:39 +10:00
Peter Barker
fb1b2e870e
AP_EFI: MS: avoid requesting data too often
...
Similar to 4585c9fdc1
2023-04-15 09:39:39 +10:00
Peter Barker
bddf0ae5a2
AP_Volz_Protocol: don't check MINIMIZE_FEATURES when also checking BOARD_FLASH_SIZE
...
we have an assertion that no board with >1MB of flash is minimized
2023-04-15 09:33:35 +10:00