Commit Graph

32320 Commits

Author SHA1 Message Date
Peter Barker 033c708b2a AP_TemperatureSensor: 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
Peter Barker b19f2acb35 AP_RobotisServo: 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
Peter Barker a499fcc71c AP_Proximity: 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
Peter Barker 69d7843f22 AP_Mount: 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
Peter Barker 6e1cd839d8 AP_InertialSensor: 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
Peter Barker 14c839780a AP_FETtecOneWire: 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
Peter Barker de7d5c6899 AP_ExternalAHRS: 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
Peter Barker 4c5220eb9e AP_EFI: 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
Peter Barker e363d6dfa5 AP_BattMonitor: 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
Peter Barker 7bbeab7aaa AP_ADSB: 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
Peter Barker 9cc8622ccc AP_Radio: correct build of AP_Radio_bk2425
new ChibiOS, new API
2023-04-14 20:10:11 +10:00
Ryan Friedman 9e9d487442 AP_DDS: Consume covariance implementation in AP_DDS
* Use float precision as long as possible

Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-04-14 12:06:42 +10:00
Ryan Friedman 1e9403dca6 AP_GPS: Add covariance output to AP_GPS matching ROS NavSatFix
* Zero every iteration in case GPS quality degrades or fix is lost
* Use float precision for now

Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-04-14 12:06:42 +10:00
Ryan Friedman 06d9a08d16 AP_DDS: Remove unused commented code
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-04-14 12:05:14 +10:00
arshPratap 63ed2c646e AP_DDS: Preserve folder structure and includes for IDL files
* Remove ALL local changes in IDL (it mirrors upstream)
* Convert to pathlib for more robust manipulation
* Added EOF newlines for all the other missing IDL files

Co-authored-by: Arsh Pratap <arshpratapofficial@gmail.com>
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-04-14 12:05:14 +10:00
Andy Piper fc6cb74ac7 AP_HAL_ChibiOS: SDIO PWRSAV needs to be enabled on F4/F7 2023-04-14 08:05:19 +10:00
Peter Barker 50dbf4219b AP_Vehicle: AP_Arming ensures mission items present when in auto mode
Co-authored-by: Henry Wurzburg <hwurzburg@yahoo.com>
2023-04-14 07:49:54 +10:00
Peter Barker e0d1a5c8d2 AP_Arming: AP_Arming ensures mission items present when in auto mode
Co-authored-by: Henry Wurzburg <hwurzburg@yahoo.com>
2023-04-14 07:49:54 +10:00
Peter Barker 9e0c83503e hwdef: minimize_features.inc: nominate all included battery backends
this will stop the number growing on our smallest boards
2023-04-14 07:49:16 +10:00
Andrew Tridgell 3f33457404 HAL_ChibiOS: fixed L4 mcu type detection 2023-04-14 07:48:56 +10:00
tsubashmail@gmail.com ae9e15ade5 HAL_ChibiOS: port for STM32L4+ processor
Added support for stm32l4+ processor

- Added scripts for hwdef generation
- Tested in custom hardware prototype (stm32l4r5vit6)
- Tested all peripherals and auto pilot modes.
2023-04-14 07:48:56 +10:00
tsubashmail@gmail.com 880e6366bd AP_FlashStorage: port for STM32L4+ processor
Added support for stm32l4+ processor

- Added scripts for hwdef generation
- Tested in custom hardware prototype (stm32l4r5vit6)
- Tested all peripherals and auto pilot modes.
2023-04-14 07:48:56 +10:00
Andrew Tridgell 48acb1a2f7 AP_Logger: added LOG_DARM_RATEMAX
this sets the logging rate max when disarmed. In combination with
LOG_DISARMED=3 it gives a very nice setup to get always on logging
with very little addition to the log sizes. It is particularly useful
in combination with LOG_REPLAY=1
2023-04-14 07:48:24 +10:00
Andrew Tridgell 63e45a3910 AP_Logger: added LOG_DISARMED=3
when LOG_DISARMED is set to 3 then we log while disarmed but if we
reboot without ever arming the log is discarded. This allows for using
LOG_DISARMED without filling the microSD.
2023-04-14 07:48:24 +10:00
Andrew Tridgell 3b4f5d77af AP_Logger: use AP_Enum for log_disarmed 2023-04-14 07:48:24 +10:00
Andrew Tridgell 4899ec9457 AP_Param: added set() to AP_Enum 2023-04-14 07:48:24 +10:00
Randy Mackay 470b9638ea AP_Mount: remove unused get_camera_state 2023-04-14 07:47:47 +10:00
Randy Mackay b9e06438f1 AP_Scripting: ViewPro driver bug fix 2023-04-14 07:47:47 +10:00
Peter Barker 6eda22e7de AP_Logger: do not rotate logs when disarming if we are replay-logging 2023-04-14 07:47:33 +10:00
Andrew Tridgell 6fbd8df95b AP_DroneCAN: fixed Volz feedback build 2023-04-13 10:36:47 -07:00
Peter Barker 795bb19cb9 AP_BattMonitor: move defines around battery types for consistency 2023-04-13 15:24:45 +10:00
Peter Barker af5f702c36 GCS_MAVLink: add and use defines for all Proximity backends 2023-04-13 07:07:18 +10:00
Peter Barker c110ac489c AP_Proximity: add and use defines for all Proximity backends 2023-04-13 07:07:18 +10:00
Peter Barker 92dea59620 hwdef: SkyViper doesn't need most proximity sensors 2023-04-13 07:07:18 +10:00
Peter Barker 3eae62c69a AP_RangeFinder: add and use AP_RangeFinder_config.h 2023-04-13 07:07:18 +10:00
Ryan Friedman 80ed6125aa AP_DDS: Add support for static transforms
* This encodes the position of the GPS receivers relative to the aircraft origin

Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-04-13 07:05:24 +10:00
Randy Mackay 1a9189d602 AP_Scripting: add binding for camera semaphore 2023-04-13 07:04:46 +10:00
Randy Mackay de4b1890f5 AP_Camera: add semaphore to allow multi-threaded access 2023-04-13 07:04:46 +10:00
Randy Mackay ffc3ad1c1a AP_Scripting: viewpro driver uses camera scripting backend 2023-04-13 07:04:46 +10:00
Randy Mackay db51915e27 AP_Mount: scripting backend loses camera support
drivers should use the camera scripting backend
2023-04-13 07:04:46 +10:00
Randy Mackay 1a375f1ff5 AP_Scripting: remove mount get_camera_state
AP_Camera scripting backend provides access
2023-04-13 07:04:46 +10:00
Randy Mackay 554d52b6fe AP_Scripting: add AP_Camera::get_state bindings 2023-04-13 07:04:46 +10:00
Randy Mackay f357bc53fe AP_Camera: add scripting backend 2023-04-13 07:04:46 +10:00
Randy Mackay 58b73c3613 AP_Camera: constify get_instance 2023-04-13 07:04:46 +10:00
Randy Mackay 5d29935039 AP_Scripting: add camera-test example script 2023-04-13 07:04:46 +10:00
Randy Mackay 03148a113f AP_Scripting: add camera bindings 2023-04-13 07:04:46 +10:00
Randy Mackay f40a939a0c AP_Scripting: fix mount-poi script check errors
remove unused variables
re-enable script checks
2023-04-13 07:04:22 +10:00
Randy Mackay 3ab63cc6b1 AP_Scripting: add mount-poi md 2023-04-13 07:04:22 +10:00
Randy Mackay c1f9b59d9b AP_Scripting: mount-poi gets param description
send_text calls also use MAV_SEVERITY definition
2023-04-13 07:04:22 +10:00
Randy Mackay bc9342a398 AP_Scripting: move mount-poi to applets directory 2023-04-13 07:04:22 +10:00