Commit Graph

57490 Commits

Author SHA1 Message Date
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
Iampete1 779a5d1167 Rover: Arming: still run mandatory checks if ARMING_CHECK 0 2023-04-15 09:02:48 +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
Peter Barker f604eedf65 Tools: sim_vehicle.py: remove old --build-system
We haven't supported make for a very long time
2023-04-14 10:28:09 +10:00
Pierre Kancir f49211b021 Tools: remove old jsbsim python scripts (unused anymore) 2023-04-14 08:23:15 +10:00
Pierre Kancir 31595f2e4d Tools: remove util.py pymavlink dependency by removing old code 2023-04-14 08:23:15 +10:00
Andy Piper 73ddd63994 ChibiOS: update mmc spi driver to cope with multi-block reads 2023-04-14 08:05:19 +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 5cc046b9cc Tools: 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 941bb6a45b Rover: 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 43c6bb3864 ArduPlane: 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 96fa96936b ArduCopter: 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 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 df5b2f7911 Tools: 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 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
openstack 3a811b8f1e Tools: added name to GIT_Success.txt 2023-04-13 21:03:43 +10:00
Peter Barker 795bb19cb9 AP_BattMonitor: move defines around battery types for consistency 2023-04-13 15:24:45 +10:00
Peter Barker 8c326bc6fb Tools: correct extraction of handle_play_tune feature 2023-04-13 15:24:45 +10:00
Peter Barker e5a0d1bf9c Tools: add proximity backends to custom build server 2023-04-13 07:07:18 +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
Peter Barker 54aca7dc0d autotest: exempt sailboats from initial location check
we have a sanity check that when you reboot a vehicle that soon afterwards the vehicle is in the place we expect it to start.

That's fine for most vehicles, which stay put.  But we start the ship simulation with wind, so it can actually drift before we get around to checking its location.  Simply skip this check for now (we could, perhaps, allow for a very large radius instead?)
2023-04-13 07:05:38 +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