Commit Graph

61284 Commits

Author SHA1 Message Date
Paul Riseborough 7601a02e98 AP_AHRS: added AHRS_OPTIONS parameter
the first option is to disable DCM fallback on fixed wing. This is
suitable in environments with a high likelyhood of GPS interference
2023-12-05 19:28:50 +11:00
Andrew Tridgell 5fce4f5f6d SITL: added simple simulated jammer 2023-12-05 19:28:50 +11:00
Andrew Tridgell c316de75d0 SITL: fixed whitespace in SIM_GPS.cpp
this one has been really bad for a while
2023-12-05 19:28:50 +11:00
Willian Galvani 83559c41ec Mavlink: bump submodule for MANUAL_CONTROL extensions 2023-12-05 12:04:16 +11:00
Willian Galvani 15b480f105 Sub: add support for 32 buttons and two additonal axis 2023-12-05 12:04:16 +11:00
Andy Piper cca8f8219a hwdef: new variant of KakuteH7 using ICM42688 2023-12-05 11:41:08 +11:00
Andy Piper 0cc5cf7d2d AP_HAL_ChibiOS: allow betaflight converter to run on output from "dump hardware" 2023-12-05 11:38:53 +11:00
Martin Luessi 6e417f1d0c RADIX2HD: Set HAL_I2C_INTERNAL_MASK 2023-12-05 11:37:57 +11:00
Iampete1 b8114da102 AP_Motors: Heli: dual and quad: remove un-needed override methods 2023-12-05 09:12:37 +09:00
Ryan Friedman fadedbbb47 AP_HAL: Add MicroStrain7 support
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-12-05 11:09:22 +11:00
Ryan Friedman 5bcdaa360e AP_HAL_SITL: Add MicroStrain7 support to SITL
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-12-05 11:09:22 +11:00
Ryan Friedman 1ae13cd66d SITL: Switch to using GPS Timestamp for 5 series driver
* The old descriptor is deprecated

Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-12-05 11:09:22 +11:00
Ryan Friedman bcd11701fa Tools: Add MicroStrain7 support
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-12-05 11:09:22 +11:00
Ryan Friedman 7c183f4ab3 AP_ExternalAHRS: Add MicroStrain7 support
* Implement filter state without relying on GPS
* Implement health and initialization check based on filter state
* Fix pre-arm checks missing version
* Add version specifics to microstrain 5 log msgs
* Add utilities to microstrain packet to remove magic number array
  access

Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-12-05 11:09:22 +11:00
Iampete1 433f98fee1 AP_Vehicle: call scripting update from 1Hz loop 2023-12-05 11:03:58 +11:00
Iampete1 2a3a5b2804 AP_Scripting: add checksum of running and loaded scripts with arming check 2023-12-05 11:03:58 +11:00
Iampete1 423a218643 GCS_MAVLink: use new filesystem crc32 method 2023-12-05 11:03:58 +11:00
Iampete1 2c7e06dc5e AP_Filesystem: add crc 32 method 2023-12-05 11:03:58 +11:00
Iampete1 4ac9eb9509 Plane: set_servos_controlled: rework throttle output 2023-12-05 11:00:55 +11:00
Bob Long 24bf288e28 AP_InertialNav: freeze horiz_vel when !velned_ok
This addresses concerns about brief failures of get_velocity_NED causing
abrupt changes to the horizonatl velocity estimate.
2023-12-05 10:44:37 +11:00
Bob Long 49dea0bd2e autotest: add DCM climb rate test for quadplanes 2023-12-05 10:44:37 +11:00
Bob Long 467e62b967 GCS_Common: allow fallback vert rate in VFR_HUD 2023-12-05 10:44:37 +11:00
Bob Long 6eed40dec1 AP_InertialNav: add fallback vertical velocity 2023-12-05 10:44:37 +11:00
Iampete1 60816f4351 Copter: use base class AC_AttitudeControl object 2023-12-05 08:08:09 +09:00
Iampete1 d26fdfc3b2 AP_CustomControl: use base class AC_AttitudeControl object 2023-12-05 08:08:09 +09:00
Leonard Hall 60ceaec901 Copter: Fix AP_MISSION_NAV_PAYLOAD_PLACE_ENABLED 2023-12-04 09:06:10 +09:00
Andrew Tridgell c61ee15c1f AP_Vehicle: init networking after serial manager
init before serial manager led to not seeing any error messages if net
init failed
2023-12-04 10:12:41 +11:00
Andrew Tridgell 55b5e1cff1 AP_Networking: fixed off by one error in cache size calculation
this caused some of the memory to be cacheable which led to TCP
checksum errors
2023-12-04 10:12:41 +11:00
Peter Barker 0d9c658a1e SITL: add missing includes 2023-12-04 07:04:12 +11:00
Peter Barker 576dc9d05f Tools: clamp empy to version 3
API and syntax hanges make 4 problematic
2023-12-03 17:08:00 +11:00
Peter Barker 96ede5524c .github: clamp empy to version 3
API and syntax hanges make 4 problematic
2023-12-03 17:08:00 +11:00
Andrew Tridgell 63f9046265 AP_Networking: fixed docs for network port types
and document broadcast and multicast
2023-12-03 11:37:21 +11:00
Tom Pittenger 7f94ae6fe7 AP_Networking: only show NET_IP,DHCP,GW,MASK,MAC if it's actually used 2023-12-02 08:17:52 +11:00
Tom Pittenger 5bc3830451 autotest: don't set DHCP in SITL/CI because we can't 2023-12-02 08:17:52 +11:00
Andrew Tridgell 89506846a3 AP_Networking: improve startup wait
this ensures we wait till DHCP has completed
2023-12-01 18:33:29 +11:00
Andrew Tridgell 2ef560db0b AP_ExternalAHRS: reserve some ExternalAHRS type values 2023-12-01 14:59:57 +11:00
Iampete1 2c84799bb5 Tools: Scripts: Decode devid: add ICM45686 2023-11-30 14:26:26 -08:00
Clyde McQueen ce824b725d Sub: copy 4.1 parm defaults 2023-11-29 22:13:02 -03:00
Andy Piper 20b56bb4b8 ChibiOS: update to static networking option 2023-11-30 11:48:35 +11:00
Andrew Tridgell 11d0e36e36 Tools: added IMUOUT to build options 2023-11-30 07:05:02 +11:00
Andrew Tridgell aba5ec6854 AP_InertialSensor: added support for writing raw IMU data to a UART
this is for supporting external visual odomotry systems which need the
IMU data to correctly process image data

# Conflicts:
#	libraries/AP_InertialSensor/AP_InertialSensor.cpp
2023-11-30 07:05:02 +11:00
Andrew Tridgell e04d1bba9e Tools: added IMU decoder script 2023-11-30 07:05:02 +11:00
Andrew Tridgell 604559a844 AP_OSD: added new serial manager protocol 2023-11-30 07:05:02 +11:00
Andrew Tridgell e58e8b861d AP_Serialmanager: added IMOUT uart type
# Conflicts:
#	libraries/AP_SerialManager/AP_SerialManager.cpp
#	libraries/AP_SerialManager/AP_SerialManager.h
2023-11-30 07:05:02 +11:00
Randy Mackay 46298052b6 AP_Scripting: simplify Rover quick tune
Only tunes FF.  P and I are set as ratio to FF
2023-11-29 08:18:07 -08:00
Peter Barker 4ede307be2 AP_RCProtocol: rename crc_sum8 to crc_sum8_with_carry
the name "sum8" is usually used for "sum all bytes into a uint8_t discarding carry"
2023-11-29 18:50:26 +11:00
Peter Barker d34e6049c9 AP_Math: rename crc_sum8 to crc_sum8_with_carry
the name "sum8" is usually used for "sum all bytes into a uint8_t discarding carry"
2023-11-29 18:50:26 +11:00
Peter Barker 9394a7b26b AP_RangeFinder: use boolean uartdriver read method 2023-11-29 18:29:11 +11:00
Iampete1 41f61da0d9 Plane: Quadplane: add `get_throttle_input` method that behaves the same as Plane::get_throttle_input did 2023-11-29 18:15:01 +11:00
Iampete1 483ef18087 Plane: ignore invalid pilot throttle 2023-11-29 18:15:01 +11:00