Commit Graph

34327 Commits

Author SHA1 Message Date
Peter Barker 3f730a8a94 AP_Math: add crc_sum_of_bytes
sums the values of the bytes in a buffer and returns that sum modulus 256
2023-11-17 13:09:02 +11:00
Pradeep CK 07d76a87fd AP_ICEngine: support relay for ignition and I2C for starter 2023-11-17 13:09:02 +11:00
Andrew Tridgell afd18cf13a AP_Relay: make set() method public
this neatens up some calling code
2023-11-17 13:09:02 +11:00
Peter Barker 4f4e6d646c AP_Mount: validate modes before setting them 2023-11-17 11:45:38 +11:00
Peter Barker bd05fad850 SITL: add code to add, remove or corrupt bytes in SITL::SerialDevice xfrs 2023-11-17 10:56:25 +11:00
Andrew Tridgell 4dcc64d82d AP_Scripting: added more params to revert script 2023-11-17 07:23:28 +11:00
muramura 8c27d81c6a AP_RangeFinder: Move to a process that uses maximum value acquisition 2023-11-16 11:02:21 -08:00
Tom Pittenger ac16f10ecd AP_HAL_ChibiOS: hwdef kha_eth to show SerialManager params 2023-11-16 10:58:50 -08:00
Andrew Tridgell 4cb2562ee5 AP_DroneCAN: cope with null stats (for SLCAN interface)
this caused a crash on CubeOrange on boot if SLCAN is enabled
2023-11-15 23:52:49 -08:00
Andrew Tridgell 8ff2fa4fd9 AP_Mount: added gimbal rates for SIYI
this helps diagnose issues with gyro bias versus control when camera
is spinning
2023-11-16 16:57:49 +11:00
Andrew Tridgell 7472f76336 AP_Mount: set clock on SIYI
this means photos on microSD have correct date
2023-11-16 16:57:35 +11:00
Peter Barker 24f00ddaf7 GCS_MAVLink: add and use AP_MAVLINK_COMMAND_LONG_ENABLED 2023-11-16 10:50:21 +11:00
Peter Barker 9ff9f8d216 GCS_MAVLink: remove no-longer-required location_from_command_t(command_long) 2023-11-16 10:50:21 +11:00
Peter Barker 485fa80f1c GCS_MAVLink: collapse un-needed method 2023-11-16 10:50:21 +11:00
Peter Barker e0eacdc197 ArduPlane: handle DO_SET_MISSION_CURRENT as both long and int 2023-11-16 10:50:21 +11:00
Peter Barker d7160aea2d GCS_MAVLink: handle DO_SET_MISSION_CURRENT as both long and int 2023-11-16 10:50:21 +11:00
Peter Barker b572fe80ec GCS_MAVLink: handle request autopilot capabilities as both long and int 2023-11-16 10:50:21 +11:00
Tom Pittenger d189730b9f AP_DDS: fix defines to make astyle happy 2023-11-15 12:43:41 -08:00
Andrew Tridgell 8151ee36c7 AP_Networking: fixed build with gcc 11.x 2023-11-15 12:43:41 -08:00
Andrew Tridgell 4a773eabb2 AP_Networking: added SITL backend
this allows the net tests to run on SITL, and for DDS testing using
the SocketAPM API
2023-11-15 12:43:41 -08:00
Andrew Tridgell c54e6ce44b AP_Networking: added NET_TEST_IP for test server IP address
and default to same as default for DDS server
2023-11-15 12:43:41 -08:00
Andrew Tridgell fbe2651840 AP_Networking: removed unuused send_udp in ChibiOS backend 2023-11-15 12:43:41 -08:00
Tom Pittenger 6cd24bb87b AP_DDS: Add user-selectable UDP IP 2023-11-15 12:43:41 -08:00
Tom Pittenger 74f9b74fe7 AP_Networking: add get_str() accessor to IP address parms 2023-11-15 12:43:41 -08:00
Andrew Tridgell 4afd0f746b AP_Networking: added networking test suite 2023-11-15 12:43:41 -08:00
Tom Pittenger df600e5582 AP_HAL: Enable SocketAPM to use LwIP/ChibiOS 2023-11-15 12:43:41 -08:00
Tom Pittenger 4c70670445 AP_DDS: use AP_NETWORKING_BACKEND_ANY 2023-11-15 12:43:41 -08:00
Randy Mackay da6f31d5c7 AP_RangeFinder: JRE rename data_buff_ofs 2023-11-15 19:10:05 +09:00
Peter Barker 6bd7024274 AP_RangeFinder: change JRE parsing to reduce RAM overhead 2023-11-15 19:10:05 +09:00
jfbblue0922 fef47303d2 AP_RangeFinder: add serial driver for JRE 2023-11-15 19:10:05 +09:00
Randy Mackay 265f19b396 SRV_Channel: fix scaled passthrough of ranges 2023-11-15 18:20:45 +11:00
Andrew Tridgell 901280902a AP_Mount: allow for larger SIYI packets
needed for attitude packet
2023-11-15 13:17:54 +11:00
Andrew Tridgell 691b23db7d AP_Mount: added sending of attitude and velocity for SIYI
will be used by SIYI for improved gimbal control
2023-11-15 13:17:54 +11:00
Jonathan Loong 0db1719c8f AP_Compass: Add in QMC5883P Driver 2023-11-15 10:53:38 +11:00
Jonathan Loong 16c55a3bc1 AP_HAL_ChibiOS: Add in CarbonixF405 QMC5883P compass enable 2023-11-15 10:53:38 +11:00
Jonathan Loong 8d64d5215e AP_Periph: CarbonixL496 crystal hwdef changes 2023-11-15 10:53:38 +11:00
Jonathan Loong 3f99891404 AP_BattMonitor: Merge in polynomial fit structure to FuelLevel_Analog
Update parameters and make current false
2023-11-15 10:52:10 +11:00
Peter Barker 044760cfb9 AP_Notify: document IS31FL3195 LED type for LED_TYPES parameter 2023-11-15 10:51:08 +11:00
Peter Barker aac949e227 AP_Notify: add IS31FL3195 to default LED types 2023-11-15 10:51:08 +11:00
Peter Barker 2a2a103195 SITL: add JAE JRE simulator 2023-11-15 10:50:49 +11:00
Peter Barker 2af98a949b AP_HAL_SITL: add JAE JRE simulator 2023-11-15 10:50:49 +11:00
jfbblue0922 c17907cadc AP_Math: add CRC crc16_ccitt_r function 2023-11-15 10:50:49 +11:00
Andy Piper 7639761d28 AP_HAL_ChibiOS: correct neopixel bitwidth
Use 64-bit timestamps for dshot send checks
2023-11-14 11:06:25 +11:00
Andy Piper ef5eccdf62 AP_HAL: correct neopixel bitwidth 2023-11-14 11:06:25 +11:00
Ryan Friedman ef6105c5e0 AP_ExternalAHRS: Specify brand on all log messages
* The VN driver was likely written before there were multiple types
* The log messages make it seem like core AHRS problems rather than
  issues directly with VN

Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-11-14 11:02:26 +11:00
Randy Mackay 0f0bc78de9 AP_OpticalFlow: increase scaler param desc ranges 2023-11-14 10:57:30 +11:00
Henry Wurzburg 4681e5fba6 hwdef:correct JFB110 defaults 2023-11-14 10:55:33 +11:00
olliw42 61aec54ea7 AP_RCTelemetry: throttle CRSF request RX device info messages 2023-11-14 10:36:56 +11:00
Ryan Friedman 201c66e417 AP_GPS: Fix GSOF autobaud detection msg
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-11-14 10:26:01 +11:00
Iampete1 55242445b2 AP_Motors: example: support setting and testing DUAL_MODE 2023-11-14 10:25:11 +11:00