Commit Graph

59392 Commits

Author SHA1 Message Date
Andrew Tridgell f076f7c4f1 HAL_SITL: use nan to indicate no actuator value
this allows for multiple periph nodes, each providing a subset of
motors/servos
2023-08-24 13:06:40 +10:00
Andrew Tridgell cc9f973007 waf: enable ESC telemetry for CAN SITL peripheral 2023-08-24 13:06:40 +10:00
Andrew Tridgell 3a8fd367ad AP_ESC_Telem: use SIM_CAN_SRV_MSK and fixed throttle dependency
RPM should not depend on "throttle", it is per motor
2023-08-24 13:06:40 +10:00
Andrew Tridgell 4e71023018 SITL: added SIM_CAN_SRV_MSK
mask of outputs that will come from the CAN SITL peripheral
2023-08-24 13:06:40 +10:00
Andrew Tridgell b72f4a3cd8 HAL_SITL: enable GPIO and RC output in periph 2023-08-24 13:06:40 +10:00
Andrew Tridgell 823ac579cd HAL_SITL: added debug for multicast startup
useful for CI diagnosis
2023-08-24 13:06:40 +10:00
Andrew Tridgell 52d80241b9 autotest: added quadplane-can vehicle
setup with all CAN peripherals
2023-08-24 13:06:40 +10:00
Andrew Tridgell 4a07f7a4eb HAL_SITL: block in MC read for packet in AP_Periph
can't advance time without a new multicast packet
2023-08-24 13:06:40 +10:00
Andrew Tridgell 032c5cc6fe waf: enable RC output in AP_Periph SITL 2023-08-24 13:06:40 +10:00
Andrew Tridgell 54e4013d9f AP_Periph: link more RC output libs 2023-08-24 13:06:40 +10:00
Andrew Tridgell 4c2ca1e028 AP_FETtecOneWire: fixed build on periph 2023-08-24 13:06:40 +10:00
Andrew Tridgell 1144036a8d HAL_SITL: support servo and ESC output in SITL AP_Periph
use another UDP socket back to the main firmware from peripheral
2023-08-24 13:06:40 +10:00
Andrew Tridgell 51af21f6d9 HAL_Linux: removed ESC scaling, moved to AP_HAL 2023-08-24 13:06:40 +10:00
Andrew Tridgell 49f1e5d1db HAL_ChibiOS: removed ESC scaling, moved to AP_HAL 2023-08-24 13:06:40 +10:00
Andrew Tridgell 64040bfab4 AP_HAL: move ESC scaling up to AP_HAL level 2023-08-24 13:06:40 +10:00
Andrew Tridgell 19ce28a49d autotest: allow CAN test to run at speedup 10
we can now use larger speedups for DroneCAN SITL AP_Periph
2023-08-24 13:06:40 +10:00
Andrew Tridgell b76e2342db HAL_SITL: added "Waiting for" message
this is needed for test.CAN autotest as it waits for periph startup
2023-08-24 13:06:40 +10:00
Andrew Tridgell 6d81f34db8 HAL_SITL: added --defaults handling to periph SITL 2023-08-24 13:06:40 +10:00
Andrew Tridgell 52a2824085 autotest: fixed periph param defaults 2023-08-24 13:06:40 +10:00
Andrew Tridgell 65ced84a0e HAL_SITL: handle periph voltage/current and improve timing 2023-08-24 13:06:40 +10:00
Andrew Tridgell 2380849b4d AP_Torqeedo: allow build for periph 2023-08-24 13:06:40 +10:00
Andrew Tridgell 9665959e84 autotest: added default params for periph 2023-08-24 13:06:40 +10:00
Andrew Tridgell e3653adea2 autotest: rename option --can-peripherals from --can-gps 2023-08-24 13:06:40 +10:00
Andrew Tridgell 0a04043c4c AP_CANManager: allow SITL CAN with speedup 2023-08-24 13:06:40 +10:00
Andrew Tridgell 9cde659545 SITL: disable gimbal and ADSB in SITL periph
lack of MAVLink makes these problematic
2023-08-24 13:06:40 +10:00
Andrew Tridgell 698e38e849 AP_Periph: allow SITL periph with more devices 2023-08-24 13:06:40 +10:00
Andrew Tridgell ce288856b5 waf: enable mag, baro, compass, airspeed and rangefinder in SITL periph 2023-08-24 13:06:40 +10:00
Andrew Tridgell a42a2fec2a HAL_SITL: implement multicast comms for SITL AP_Periph 2023-08-24 13:06:40 +10:00
Andrew Tridgell 5d4bf9fc14 AP_AHRS: fixed build for SITL periph 2023-08-24 13:06:40 +10:00
Andrew Tridgell 9706a207b1 AP_Terrain: fixed build for periph
needed for SITL periph rangefinder
2023-08-24 13:06:40 +10:00
Andrew Tridgell 791d0acefe SITL: removed GPS FIFO 2023-08-24 13:06:40 +10:00
Andrew Tridgell c151d9bc3d Tools: removed native_millis/micros 2023-08-24 13:06:40 +10:00
Andrew Tridgell 3752750f0a AP_Mount: removed native_millis/micros 2023-08-24 13:06:40 +10:00
Andrew Tridgell 85c2c3609b AP_HAL_SITL: removed native_millis/micros 2023-08-24 13:06:40 +10:00
Andrew Tridgell 8ed289a514 AP_HAL_Linux: removed native_millis/micros 2023-08-24 13:06:40 +10:00
Andrew Tridgell 6a54c5e952 AP_HAL: removed native_millis/micros 2023-08-24 13:06:40 +10:00
Andrew Tridgell 39153a1c01 AP_HAL_ChibiOS: removed native_millis/micros 2023-08-24 13:06:40 +10:00
Andrew Tridgell babd2d2033 AP_GPS: removed native_millis/micros 2023-08-24 13:06:40 +10:00
Andrew Tridgell 232509ad7a AP_DroneCAN: removed native_millis/micros 2023-08-24 13:06:40 +10:00
Andrew Tridgell b55c1d7193 AP_CANManager: removed native_millis/micros 2023-08-24 13:06:40 +10:00
Peter Barker a44820cfde autotest: tidy Rover DriveMaxRCIN test
take advantage of created infrastructure
2023-08-24 12:02:38 +10:00
Ryan Friedman 1839db7c1f AP_ExternalAHRS: Allow multiple external AHRS GPS instances
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-08-24 12:01:32 +10:00
Ryan Friedman 01cd42d1e7 AP_GPS: Allow multiple external AHRS GPS instances
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-08-24 12:01:32 +10:00
Nick Exton f2dcf72fbb AP_Bootloader: Reserve 100 IDs for SYPAQ Systems 2023-08-24 11:59:32 +10:00
Nick Exton 9184653c4d AP_Bootloader: Adjust reserved IDs for SpektreWorks
Reserve 100 IDs instead of 101.
2023-08-24 11:59:32 +10:00
Nick Exton e5e20143a3 AP_Bootloader: Adjust reserved IDs for Carbonix
Reserve 100 IDs instead of 101.
2023-08-24 11:59:32 +10:00
Nick Exton fad1f35d93 GCS_MAVLink: Remove unreachable return in handle_command_mount() 2023-08-24 11:57:55 +10:00
Ryan Friedman 1ae25d9a61 Docker: Add args to allow changing base image
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-08-24 09:55:51 +10:00
Pierre Kancir d78fe1ad99 AP_HAL_SITL: fix possible divide by 0 on synth.hpp 2023-08-24 07:46:20 +10:00
Andrew Tridgell b3954afe52 Copter: add friend for AP_ExternalControl_Copter 2023-08-24 07:46:06 +10:00