Commit Graph

62512 Commits

Author SHA1 Message Date
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
Iampete1 4a310fb207 Tools: autotest: Plane: add min throttle test 2024-03-05 11:38:28 +11:00
Iampete1 674f75fce1 Plane: move manual mode throttle limits to main throttle limit function. 2024-03-05 11:38:28 +11:00
subashchandar 7db7f95a3b AP_HAL_ChibiOS: hwdef: Add new hardware pixflamingo f7 2024-03-04 23:26:50 +00:00
Andrew Tridgell bd928fb044 Plane: pass pitch trim parameter to TECS 2024-03-03 20:28:38 +11:00
Andrew Tridgell eadf5596ed AP_TECS: fixed adjusting speed without airspeed sensor
the pitch trim variable that was not connected in aparm is needed to
allow tuning of the flight speed using PTCH_TRIM_DEG and
TRIM_THROTTLE.

This was broken in 4.4.x by this PR:

https://github.com/ArduPilot/ardupilot/pull/22191
2024-03-03 20:28:38 +11:00
Peter Barker d6df142eaa GCS_MAVLink: allow FTP to be compiled out with build_options.py 2024-03-03 08:38:22 +11:00
Peter Barker a1a920ba78 waf: add and use AP_CUSTOMROTATIONS_ENABLED 2024-03-03 08:22:46 +11:00
Peter Barker 40a0e06db3 Tools: add and use AP_CUSTOMROTATIONS_ENABLED
also add to build_options.py
2024-03-03 08:22:46 +11:00
Peter Barker bff8688ac9 AP_Vehicle: add and use AP_CUSTOMROTATIONS_ENABLED
also add to build_options.py
2024-03-03 08:22:46 +11:00
Peter Barker cf9c85d295 AP_Math: add and use AP_CUSTOMROTATIONS_ENABLED
also add to build_options.py
2024-03-03 08:22:46 +11:00
Peter Barker 077dd82bdc AP_HAL_ChibiOS: add and use AP_CUSTOMROTATIONS_ENABLED
also add to build_options.py
2024-03-03 08:22:46 +11:00
Peter Barker 2f30fa2f56 AP_CustomRotations: add and use AP_CUSTOMROTATIONS_ENABLED
also add to build_options.py
2024-03-03 08:22:46 +11:00
Peter Barker 093deed610 AP_Compass: add and use AP_CUSTOMROTATIONS_ENABLED
also add to build_options.py
2024-03-03 08:22:46 +11:00
Peter Barker a836bd8583 AP_AHRS: add and use AP_CUSTOMROTATIONS_ENABLED
also add to build_options.py
2024-03-03 08:22:46 +11:00
David Buzz 73afd26465 AP_HAL_ESP32: bugfixes
bump  tick rate to 1kz to match chibios

experimentally make delay_microseconds not delay, and only yield ( vTaskDelay yields to higher-priority tasks )

ESP32 disable all watchdogs

emit info to console to tell user where to connect tcp/udp and what ports

comment out bad code throwing a ptr error
2024-03-03 07:29:35 +11:00