Commit Graph

57475 Commits

Author SHA1 Message Date
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
Randy Mackay 03148a113f AP_Scripting: add camera bindings 2023-04-13 07:04:46 +10:00
Randy Mackay 322ef64aad Tools: ScriptMountPOI test uses applet directory 2023-04-13 07:04:22 +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
Andy Piper db7fad0aca bootloaders: bootloaders for MatekF405-TE/VTOL-bdshot 2023-04-12 17:24:15 +10:00
Andy Piper 078778de30 AP_HAL_ChibiOS: hwdef for MatekF405-TE/VTOL including bdshot 2023-04-12 17:24:15 +10:00
Randy Mackay af64de3412 AP_Scripting: mount-viewpro driver gets param desc 2023-04-12 17:08:12 +10:00
Randy Mackay 6934a638a1 AP_Scripting: Viewpro driver setup instruction fix 2023-04-12 17:08:12 +10:00
Wu 0f1253b393 AP_InertialSensor: the accel fast-sampling rate of MPU6500 is 4k,not 1k 2023-04-12 15:24:41 +10:00
Willian Galvani 9179bce1ca SITL: initialize battery at 0V 2023-04-12 15:20:05 +10:00
Peter Barker 89a1330801 AP_Airspeed: reuse airspeed backend contructor in more backends
... and clean out some unused includes
2023-04-12 14:30:12 +10:00
Peter Barker 4f355f7c8b AC_Avoidance: correct compilation when fence and beacon compiled out 2023-04-12 09:24:39 +10:00
Peter Barker ff21f86a9c Rover: use AP_BEACON_ENABLED instead of BEACON_ENABLED 2023-04-12 09:24:39 +10:00