Commit Graph

32568 Commits

Author SHA1 Message Date
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