Commit Graph

59299 Commits

Author SHA1 Message Date
Andrew Tridgell 4f0ba39b64 AP_Param: fixed parameter defaults array length handling
we need to add up the total for all comma separated parameter files
2023-08-22 11:07:30 +10:00
Willian Galvani 158b99c20a AP_MotorsUGV: add asymmetry factor for skid-steering
Co-authored-by: Iampete1 <iampete@hotmail.co.uk>
2023-08-22 09:14:42 +09:00
Peter Barker 460faa8659 Rover: pass mavlink_message_t to handle_command_*_packet
the "special case" blocks are getting longer and longer.  Merge the switch statements for the command type to be handled by passing around the message.
2023-08-22 10:11:33 +10:00
Peter Barker 0bf4a0a39a Blimp: pass mavlink_message_t to handle_command_*_packet
the "special case" blocks are getting longer and longer.  Merge the switch statements for the command type to be handled by passing around the message.
2023-08-22 10:11:33 +10:00
Peter Barker f064dcd902 ArduSub: pass mavlink_message_t to handle_command_*_packet
the "special case" blocks are getting longer and longer.  Merge the switch statements for the command type to be handled by passing around the message.
2023-08-22 10:11:33 +10:00
Peter Barker 7df3d29e9d ArduPlane: pass mavlink_message_t to handle_command_*_packet
the "special case" blocks are getting longer and longer.  Merge the switch statements for the command type to be handled by passing around the message.
2023-08-22 10:11:33 +10:00
Peter Barker 57eeda0439 ArduCopter: pass mavlink_message_t to handle_command_*_packet
the "special case" blocks are getting longer and longer.  Merge the switch statements for the command type to be handled by passing around the message.
2023-08-22 10:11:33 +10:00
Peter Barker 915be41cb5 AntennaTracker: pass mavlink_message_t to handle_command_*_packet
the "special case" blocks are getting longer and longer.  Merge the switch statements for the command type to be handled by passing around the message.
2023-08-22 10:11:33 +10:00
Peter Barker b141cca3d5 GCS_MAVLink: pass mavlink_message_t to handle_command_*_packet
the "special case" blocks are getting longer and longer.  Merge the switch statements for the command type to be handled by passing around the message.
2023-08-22 10:11:33 +10:00
Andrew Tridgell aaec99ae31 hwdef: removed baro from HolybroG4_GPS
not included in production versions, and baro is not generally a good
idea on a GPS due to impact of airflow

also disable unused IMU, SPI bus and 2nd I2C and re-enable 2nd CAN as
helical units have dual CAN
2023-08-22 09:37:20 +10:00
Peter Barker 95c13faac2 Rover: rely on AP_RALLY_ENABLED for rally support 2023-08-22 09:09:54 +10:00
Peter Barker 1dd5778956 GCS_MAVLink: correct placement of AP_MAVLINK_MISSION_SET_CURRENT_ENABLED 2023-08-22 09:09:54 +10:00
Peter Barker 2c3ac2fa4e build_options.py: create MAVLink section, populate it
this is for when we want to be able to add or remove mavlink features or mavlink message/command handling
2023-08-22 09:09:54 +10:00
Peter Barker b4a9c0ec1e AP_RPM: include backend header
in the case you're inlcuding the RPM library but no backends we don't know the shape of the backend class, so we can't call the update-esc-telem method.
2023-08-22 09:09:54 +10:00
Michelle Rossouw 362d4bf73b Blimp: Fix formatting to follow codestyle using script 2023-08-22 08:04:10 +10:00
Peter Barker 84b3c9e267 SITL: reset balancebot to vertical in a kinmetically consistent manner
The hard-reset of all state variables means we feed the EKF inconsistent gyro data.  Attempt to upright the vehicle with a simple p-gain when it is disarmed, as if someone is pushing the thing back upright
2023-08-21 22:09:04 +10:00
Michelle Rossouw b5d22ce47c Blimp: Remove extra defines and other code, fixup some formatting and naming 2023-08-21 21:01:47 +10:00
Michelle Rossouw de0dcdd9e4 Blimp: Fix inverted throttle 2023-08-21 21:01:47 +10:00
Michelle Rossouw 81650d34a3 Blimp: Add Loiter class and RTL mode 2023-08-21 21:01:47 +10:00
Michelle Rossouw aa09b0b409 Tools: Update blimp parameters for more realistic dynamics 2023-08-21 21:01:47 +10:00
Michelle Rossouw 26bbd6536a SITL: Improve Blimp dynamics and fin motion to be more realistic, allow SITL loop rate to be changed and add more logging 2023-08-21 21:01:47 +10:00
Tom Pittenger bb8b901dd2 Tools/autotest: reduce LAND_DISARMDELAY to 3 for Plane CI 2023-08-21 18:49:21 +10:00
Aaron Fabbri 0a14c159c3 BUILD.md: instructions for using clang 2023-08-21 18:44:58 +10:00
Andrew Tridgell c14e65850b Tools: allow selection of sdcard storage
this has been requested for MatekF765-Wing
2023-08-21 17:03:52 +10:00
Peter Barker 6386da7d1c bootloaders: add MatekL431-RC bootloader 2023-08-20 17:37:44 +10:00
Peter Barker efa680f1e0 AP_HAL_ChibiOS: add hwdef for bootloader for MatekL431-RC 2023-08-20 17:37:44 +10:00
arshPratap 8e7b6e6b6c Tools : Updated description for Arming Motor Service 2023-08-19 23:13:39 +10:00
Fred Kummer 7c6551af9b AP_DroneCAN: allow sending negative RawCommands to ESCs 2023-08-19 20:27:58 +10:00
Peter Barker 9fb872cdd7 AP_Periph: move RC IN parameters to sub-object 2023-08-19 20:27:24 +10:00
Andrew Tridgell 312ca017a0 AP_Periph: added RC input serial port options 2023-08-19 20:27:24 +10:00
Andrew Tridgell 24139d661a AP_RCProtocol: allow for fport without FRSky telem 2023-08-19 20:27:24 +10:00
Peter Barker ca549e1887 hwdef: add MatekL431-RC for RC input 2023-08-19 20:27:24 +10:00
Peter Barker 103caac92c AP_HAL_ChibiOS: add support for DroneCAN RCInput packets 2023-08-19 20:27:24 +10:00
Peter Barker ee0a49bb7c AP_Periph: add support for DroneCAN RCInput packets 2023-08-19 20:27:24 +10:00
Peter Barker b8a80817e4 AP_RCProtocol: add support for DroneCAN RCInput packets 2023-08-19 20:27:24 +10:00
Peter Barker 1e8d256bc2 AP_DroneCAN: add support for DroneCAN RCInput packets 2023-08-19 20:27:24 +10:00
Peter Barker 48b9172f5b RC_Channel: add note about copying parameter to AP_Periph 2023-08-19 20:27:24 +10:00
Ryan Friedman a56782546d Tools: Allow enforcing astyle in CLI automatically
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-08-19 20:26:55 +10:00
Randy Mackay 7d264f1700 Copter: 4.4.0 release notes 2023-08-18 17:37:15 +09:00
Andrew Tridgell 5e61bfe54c Plane: release notes from 4.4.0 2023-08-18 18:31:32 +10:00
Ryan Friedman e14afa6f2b AP_DDS: Add AP_DDS_config.h for feature defines
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-08-18 08:35:24 +10:00
Tom Pittenger 27f9a54a54 AP_HAL_ChibiOS: fix CubeRed default MAC Address 2023-08-17 13:51:54 +10:00
Tom Pittenger 7e62904d5e AP_Networking:fix default MAC address UID 2023-08-17 13:51:54 +10:00
Peter Barker 5a0f0915ed AP_RPM: tidy constructors and use of config.h 2023-08-17 09:22:41 +10:00
Peter Barker 8df2d4998b AP_Math: improve gating of use of AP_InternalError library
- gate calls into library directly on the define
 - INTERNAL_ERROR becomes empty if library not compiled in
2023-08-17 09:16:46 +10:00
Peter Barker 94e61a263d AP_InternalError: improve gating of use of AP_InternalError library
- gate calls into library directly on the define
 - INTERNAL_ERROR becomes empty if library not compiled in
2023-08-17 09:16:46 +10:00
Peter Barker bb6f0ae527 AP_HAL_ChibiOS: improve gating of use of AP_InternalError library
- gate calls into library directly on the define
 - INTERNAL_ERROR becomes empty if library not compiled in
2023-08-17 09:16:46 +10:00
Peter Barker c2f4fb5def hwdef: use APJ_BOARD_ID mapping for ACNS-CM4Pilot 2023-08-17 09:13:54 +10:00
Peter Barker 19bd97a893 chibios_hwdef.py: permit board ID to be specified as a string 2023-08-17 09:13:54 +10:00
Peter Barker b8978ad73a hwdef: explicitly state no-bootloader-embedding on some boards 2023-08-17 08:37:31 +10:00