Commit Graph

65341 Commits

Author SHA1 Message Date
ZeroOne-Aero 81768b26ff hwdef: added ZeroOneX6 picture
upload ZeroOneX6 picture
2024-10-15 15:04:49 +11:00
Andrew Tridgell b34417f683 GCS_MAVLink: raise number of MAVLink ports
with CAN serial ports and network serial ports sometimes need more
2024-10-15 13:13:54 +11:00
Andrew Tridgell 996b36531b AP_DroneCAN: force DroneCAN zero throttle when disarmed
if a user has set CAN_D1_UC_ESC_RV which is the mask of ESCs that are
reversible we were sending -8191 when disarmed, which is full reverse
throttle. This is the correct output when armed as it is treated as
full reverse at "PWM" 1000 and stopped at 1500, but when disarmed we
should always send zero or the user may find all ESCs spin up at full
reverse when disarmed if the ESC supports reverse throttle (which is
rare in DroneCAN ESCs)
2024-10-15 11:51:10 +11:00
Randy Mackay 84a5cc69a6 Plane: 4.5.7 release notes 2024-10-15 11:49:46 +11:00
Andrew Tridgell 8053c40993 AP_Logger: mark CSRV non-streaming
the rate of CAN servo messages is controlled by the servo. Having this
streaming means we can miss logging when there is more than one CAN
servo.

In the future we will move to holding the CAN servo data in a data
structure like we do for ESCs, and then log at a regular rate, but for
now this fixes the issue
2024-10-15 11:31:36 +11:00
Tom Pittenger 3ec92731d4 AP_Temperature: fix MCP9600 i2c address and TEMP9 index 2024-10-15 11:30:30 +11:00
Peter Barker b68427a406 waf: reference commit using python3 for waf-light 2024-10-15 11:11:38 +11:00
Peter Barker cbed802ff6 .github: remove use of python (as opposed to python3) 2024-10-15 11:11:38 +11:00
Peter Barker ced25ec0d7 Tools: remove use of python (as opposed to python3) 2024-10-15 11:11:38 +11:00
Peter Barker dc898e42dd Plane: document date of conversion code addition 2024-10-15 11:02:29 +11:00
Andrew Tridgell 02fd1f3561 AP_Scripting: use cached in AHRS_switch example
and use EKF2/EKF3, more likely to be useful
2024-10-15 10:48:11 +11:00
Peter Barker e15f72ce58 AP_DAL: document more replay messages 2024-10-15 10:46:45 +11:00
Peter Barker d8b109683a AP_NavEKF3: initialise variables as part of declaration 2024-10-15 10:45:59 +11:00
Peter Barker ba9b123e30 ArduSub: remove stray log_init declaration
this method went away
2024-10-15 10:42:36 +11:00
Peter Barker f01abb9d5d ArduPlane: remove stray log_init declaration
this method went away
2024-10-15 10:42:36 +11:00
Thomas Watson f2a9075d43 AP_PiccoloCAN: use 32 bit microsecond timeouts for write_frame
For consistency with other parts of the code.

Note that now different frames in a group could have slightly different
deadlines.
2024-10-15 10:24:25 +11:00
Thomas Watson 1354490621 AP_PiccoloCAN: use 32 bit microsecond timeouts for read_frame
For consistency with other parts of the code.

Makes obvious the curious fact that the read_frame timeout is always 0.
2024-10-15 10:24:25 +11:00
Thomas Watson 55c5cb10d0 AP_PiccoloCAN: use 32 bit microsecond timeouts for connection funcs
For consistency with other parts of the code.
2024-10-15 10:24:25 +11:00
Iampete1 baf41ae92e AP_Volz_Protocol: rate limit logs to 5Hz 2024-10-15 10:13:06 +11:00
Iampete1 441dba493f AP_Volz_Protocol: add support for telem and logging 2024-10-15 10:13:06 +11:00
bugobliterator 2524583dda AP_HAL_ChibiOS: increase the number of memory regions for crashdump
also checks num region overruns for bss and heap
2024-10-14 07:21:22 +11:00
Peter Barker c3affa4e94 autotest: move first landing waypoint further out
pathological conditions can mean we're not lined up correctly afterwards and overshoot
2024-10-11 10:03:41 +11:00
MattKear 20449e3c6a AC_Autorotation: Add RSC_Autorotation class 2024-10-11 09:54:26 +11:00
Gone4Dirt bbc2259cff Autotest: Update Autorotation tests for new mode change and bailout methods 2024-10-11 09:54:26 +11:00
MattKear 41694869d5 Autotest: Heli: minor improvements to TurbineCoolDown 2024-10-11 09:54:26 +11:00
MattKear 0281dc3a79 Autotest: Add method for check servo channel in range 2024-10-11 09:54:26 +11:00
Gone4Dirt 8ed5a18cf9 Sub: correct comment on prev control mode 2024-10-11 09:54:26 +11:00
Gone4Dirt b96bb5dc08 AC_Autorotation: Remove bailout case 2024-10-11 09:54:26 +11:00
Gone4Dirt 075ce596d2 Copter: Heli: simplify autorotation mode change and support RSC autorotation state 2024-10-11 09:54:26 +11:00
Gone4Dirt 431cc25dca AP_MotorsHeli: Consolidate all autorotation state into its own class within RSC 2024-10-11 09:54:26 +11:00
Tiziano Fiorenzani 969979cd17 AP_DDS: battery topic to report all the available batteries 2024-10-11 09:53:51 +11:00
Peter Barker b8e84cdcd0 autotest: restart MAVProxy if it exits when running under gdb
this is useful if you are running under GDB and ArduPilot fails early (eg. parameter sanity checks or SITL device configuration issues)
2024-10-11 09:52:26 +11:00
Peter Barker a8ce43426b AP_TemperatureSensor: compile all of TemperatureSensor in on boards with >2048 flash
this includes SITL but should also include CubeRed etc
2024-10-11 09:52:03 +11:00
Thomas Watson 9a497fe716 AP_KDECAN: standardize on 32 bit microsecond CAN timeouts
For consistency with other parts of the code. No compiler output change.
2024-10-11 09:51:43 +11:00
Alexis Guijarro 43b8900bec hwdef: Removed duplication for AP_STATS_ENABLED 2024-10-11 09:51:27 +11:00
Peter Barker b36f539c7c SITL: avoid floating point exception around rangefinder distance
projecting onto an infinite plane can cause exceptionally long rangefinder distances - for now jsut cap the distance that the simulated rangefinder can return to avoid floating point exceptions.

the FPE is caused in the Plane FlyEachFrame autotest when flying quadplane-copter_tailsitter - which ends up with a rangefinder at yaw-minus-180.
2024-10-10 20:44:04 +11:00
George Zogopoulos 4352129c4d Plane: Fix SLT_Transition::active_frwd() check 2024-10-09 19:25:50 +11:00
George Zogopoulos ecf11f2208 autotest: Added back-transition throttle test 2024-10-09 19:25:50 +11:00
Peter Barker 1a1edf92b7 Plane: evaluate assistance requirements on mode change
this avoid the AHRS being told we are flying forward - because we are no longer in a VTOL mode - and instantly being told we are not flying forward - because we are providing assistance
2024-10-09 19:19:29 +11:00
Peter Barker 39ab13cec4 autotest: quadplane: test AHRS flyFoward flag behaviour 2024-10-09 19:19:29 +11:00
Andy Piper cb111504e2 AP_InertialSensor: cope with negative ESC frequencies in notch updates 2024-10-09 18:31:57 +11:00
Peter Barker f588e9a230 autotest: add simple test that wind estimates from DCM and EKF3 converge 2024-10-09 10:02:02 +11:00
Tiziano Fiorenzani 57157d470f AP_DDS: Airspeed topic 2024-10-09 10:00:32 +11:00
Peter Barker dec10a1a58 hwdef: GEPRCF745BTHD: remove parachute and bl-flashing support (flash overflow) 2024-10-09 08:24:12 +11:00
Ryan Friedman 5f67904d19 Tools: Expose arbitrary waf configure and build args
* This allows someone using colcon full control over the build

Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2024-10-08 20:58:36 +11:00
Henry Wurzburg b71ed41c32 AP_BLHeli:correct RVMASK metadata 2024-10-08 20:58:16 +11:00
Peter Barker 8ba2dae936 AP_NavEKF2: clarify wind direction descriptions 2024-10-08 20:57:36 +11:00
Peter Barker 197d837b6c SITL: clarify wind direction descriptions 2024-10-08 20:57:36 +11:00
Peter Barker 8edcb4b8d3 AP_NavEKF3: clarify wind direction descriptions 2024-10-08 20:57:36 +11:00
Peter Barker 8487657137 AP_AHRS: DCM: log estimated wind 2024-10-08 20:57:36 +11:00