Commit Graph

62377 Commits

Author SHA1 Message Date
Andrew Tridgell feff2f34e9 SITL: fixed the vehicle type of the simulated ship
this was broken by https://github.com/ArduPilot/ardupilot/pull/23763

we need to look for other places where we have assumed the MAVLink
field orderin in recent changes
2024-03-07 15:51:15 +11:00
Peter Barker dc7626887f AP_RCProtocol: do not detect async protocols if not enabled
Co-authored-by: olliw42 <waldmanns@gmx.de>
2024-03-07 13:58:31 +11:00
Willian Galvani 11127e885c Sub: update Release notes 2024-03-06 23:23:55 -03:00
Willian Galvani 1a443f7cbf SRV_Channel: fix comment 2024-03-07 08:33:58 +09:00
Peter Barker 3ca6e29ad1 autotest: reimplement wait_location with new object-based approach
the existing wait_and_maintain method is problematic when it comes to waiting on different value types.
2024-03-07 09:41:57 +11:00
Willian Galvani 1509a8ea8d Sub: add missing call to calc_pwm() 2024-03-06 17:49:53 -03:00
Peter Barker 690596580a autotest: show map, fence and rally when map is shown 2024-03-06 19:54:08 +11:00
Dr.-Ing. Amilcar do Carmo Lucas 573436e81b AC_PrecLand: use GCS_SEND_TEXT where possible 2024-03-06 19:53:55 +11:00
Dr.-Ing. Amilcar do Carmo Lucas 39e7e4bed1 AC_PrecLand: NFC move two local instances of inertial_data_delayed to single _inertial_data_delayed member variable
- improve code alignment
- simplify a return
- improve initialization of vectors
2024-03-06 19:53:55 +11:00
Dr.-Ing. Amilcar do Carmo Lucas 87435473b5 AC_PrecLand: Move accessors code to the .h file 2024-03-06 19:53:55 +11:00
Dr.-Ing. Amilcar do Carmo Lucas 4d7fc1fe46 AC_PrecLand: remove code duplication and use the same logic as the other backends (<= instead of <) 2024-03-06 19:53:55 +11:00
Andrew Tridgell 0f6f738a33 AP_GPS: added option to decode RTCM injected data
this allows for redundent RTCM links (eg. WiFi and SiK links for light
show drones) without causing corruption into the GPS.

If the GPS_DRV_OPTION bit is set then we instantiate a separate RTCM3
decoder per mavlink channel, and only inject when we get a full packet
that passes the RTCM 24 bit CRC
2024-03-06 19:38:06 +11:00
Andrew Tridgell fbfa3e43bc AP_Periph: allow for RTCMv3 packets larger than 300 bytes
with newer receivers, RTCMv3 packets can be larger than 300
2024-03-06 19:38:06 +11:00
Andrew Tridgell 0aba1ce939 GCS_MAVLink: pass channel number to AP_GPS on RTCM injection 2024-03-06 19:38:06 +11:00
jfbblue0922 7ba9030129 AP_HAL_ChibiOS/hwdef: add LED_SAFETY for JFB100 board definition 2024-03-06 18:52:35 +11:00
Peter Barker f88d0a7d54 build_ci.sh: do a test build with HAL_LOGGING_ENABLED false 2024-03-06 18:40:34 +11:00
Leonard Hall bc6d965bbc Copter: Payload Place: Change PLDP_RNG_MIN to PLDP_RNG_MAX 2024-03-06 15:16:16 +11:00
Andrew Tridgell cbe5cf8c81 Plane: support precland in QLAND for pos, velocity and descent rate
allow full override in QLAND
2024-03-06 09:39:51 +11:00
Andrew Tridgell dc863d878a AP_Scripting: fixed race condition in ship landing
and fixed lua warnings
2024-03-06 09:39:51 +11:00
Andrew Tridgell 6a67830556 autotest: added quadplane ShipLanding test 2024-03-06 09:39:51 +11:00
Andrew Tridgell c210675e95 AP_Scripting: added plane_precland lua script 2024-03-06 09:39:51 +11:00
Andrew Tridgell fa1d965224 AP_Scripting: added docs for precland 2024-03-06 09:39:51 +11:00
Andrew Tridgell bac99dc7ac AP_Scripting: added bindings for AC_PrecLand 2024-03-06 09:39:51 +11:00
Andrew Tridgell de786932a6 autotest: added PrecisionLanding test 2024-03-06 09:39:51 +11:00
Andrew Tridgell e3df084b96 autotest: fixed SIM_PLD_HEIGHT for AUTO_LAND_TO_BRAKE 2024-03-06 09:39:51 +11:00
Andrew Tridgell 350215eb70 autotest: fixed got and want ordering in text wait 2024-03-06 09:39:51 +11:00
Andrew Tridgell 4f9b66c267 SITL: fixed precland simulator
fixed units of height, was mixed cm and m, now just m AMSL
2024-03-06 09:39:51 +11:00
Andrew Tridgell 8c33e2d289 Plane: allow QLAND to use precision landing override 2024-03-06 09:39:51 +11:00
Andrew Tridgell a4109c6cf2 Plane: compile in AC_PrecLand for scripting 2024-03-06 09:39:51 +11:00
Andrew Tridgell e5f092482d AC_PrecLand: added get_target_location and get_target_velocity 2024-03-06 09:39:51 +11:00
Tom Pittenger 155f31a3a2 Plane: allow quadplanes to scale ESC CAN like normal 2024-03-06 09:30:58 +11:00
Andrew Tridgell 171da3dd08 AP_Motors: smoother ramp down in output_motor_mask
stop changing motors outside the given mask in output_motor_mask,
which gives smoother ramp down in tilt quadplanes when we are
transitioning to forward flight

thanks to Pete for the suggestion
2024-03-06 08:01:52 +11:00
Andrew Tridgell 2b784e01f9 AP_Motors: allow output_motor_mask() to work properly with slew limits
this fixes tilt quadplanes with slew limits when we set motors state
to SHUT_DOWN
2024-03-06 08:01:52 +11:00
Andrew Tridgell 4d2c7f3d64 Plane: don't special case tilt rotors for motors shutdown
this allows for Q_M_SPOOL_TIME to work correctly for back transition
2024-03-06 08:01:52 +11:00
Peter Barker 8a478abce9 RC_Channel: allow customisation of position text in aux switch announcement
this means that we get "EKFPosSource 1" rather than "EKFPosSource LOW"
2024-03-05 23:46:03 +11:00
Pulak Gautam 2d5e6a5f98 AP_ExternalAHRS: added missing #if AHRS logging 2024-03-05 17:11:38 +11:00
Peter Barker b09dd7b866 AP_HAL_ChibiOS: move defaulting of HAL_WITH_ESC_TELEM for periph 2024-03-05 12:37:40 +11:00
Peter Barker d0a7b54e61 AP_ESC_Telem: move defaulting of HAL_WITH_ESC_TELEM for periph 2024-03-05 12:37:40 +11:00
Iampete1 61560fd129 Rover: don't try and send MSG_RANGEFINDER if AP_RANGEFINDER_ENABLED is false 2024-03-05 12:32:20 +11:00
Iampete1 99bfc03bc5 Blimp: don't try and send MSG_RANGEFINDER if AP_RANGEFINDER_ENABLED is false 2024-03-05 12:32:20 +11:00
Iampete1 fd94222832 ArduSub: don't try and send MSG_RANGEFINDER if AP_RANGEFINDER_ENABLED is false 2024-03-05 12:32:20 +11:00
Iampete1 6461ebdfaf ArduPlane: don't try and send MSG_RANGEFINDER if AP_RANGEFINDER_ENABLED is false 2024-03-05 12:32:20 +11:00
Iampete1 e9397e10f9 ArduCopter: don't try and send MSG_RANGEFINDER if AP_RANGEFINDER_ENABLED is false 2024-03-05 12:32:20 +11:00
bnsgeyer cbb47ed42f Copter: Remove tradheli arming check for inverted flight 2024-03-05 10:24:06 +09:00
bnsgeyer d103eebf91 AC_AttitudeControl: Tradheli- fix inverted mode collective handling 2024-03-05 10:24:06 +09:00
Iampete1 52bffc4b4d Copter: Heli: ensure inverted flight only in supported modes 2024-03-05 10:24:06 +09:00
Iampete1 576ee75669 AC_AttitudeControl: Heli: invert throttle in inverted flight, move state down to heli 2024-03-05 10:24:06 +09:00
Iampete1 24c843dc26 AP_Motors: Heli: remove inverted flight state 2024-03-05 10:24:06 +09:00
Iampete1 73760ea393 Copter: Heli: remove duplicate inverted flight state 2024-03-05 10:24:06 +09:00
Iampete1 1bf7792fe5 AP_Motors: Heli: remove `output_armed_zero_throttle` and use identical `output_armed_stabilizing` 2024-03-05 10:20:03 +09:00