Commit Graph

65865 Commits

Author SHA1 Message Date
Iampete1 02a83c37b9 RC_Channel: use `@LoggerEnum` to give name for three level source enum 2024-12-20 23:17:16 +00:00
Iampete1 10491702b5 Tools: autotest: logger_metadata: allow `@LoggerEnum` to override enum name 2024-12-20 23:09:46 +00:00
Iampete1 19f197d47e GCS_MAVLink: set source index when running aux functions 2024-12-20 22:30:42 +00:00
Iampete1 78ef79bd70 AP_Scripting: set source index when running aux functions 2024-12-20 22:30:42 +00:00
Iampete1 e2a57a0e6e AP_Mission: set source index when running aux functions 2024-12-20 22:30:42 +00:00
Iampete1 72ce853fb0 AP_Button: set source index when running aux functions 2024-12-20 22:30:42 +00:00
Iampete1 b5df1c2554 Plane: set source index when running aux functions 2024-12-20 22:30:33 +00:00
Iampete1 c0d1be4d2e Copter: set source index when running aux functions 2024-12-20 22:30:22 +00:00
Iampete1 dfc312d8fa RC_Channel: add source index to aux function trigger 2024-12-20 22:29:51 +00:00
Iampete1 6f9571a1db AP_ICEngine: reinstate `STARTCHN_MIN` looking up PWM using source index 2024-12-20 22:29:51 +00:00
Iampete1 f75a389217 Plane: RC_Channel: pass trigger object onto ICE 2024-12-20 21:25:06 +00:00
Iampete1 858d57f0aa Rover: move to AuxFuncTrigger structure 2024-12-20 21:25:06 +00:00
Iampete1 496cbd7ead Blimp: move to AuxFuncTrigger structure 2024-12-20 21:25:06 +00:00
Iampete1 746250117a ArduPlane: move to AuxFuncTrigger structure 2024-12-20 21:25:06 +00:00
Iampete1 37a9a51383 ArduCopter: move to AuxFuncTrigger structure 2024-12-20 21:25:06 +00:00
Iampete1 2a902bd9b9 RC_Channel: move to AuxFuncTrigger structure 2024-12-20 21:25:06 +00:00
Iampete1 2c7cce20ba GCS_MAVLink: move to AuxFuncTrigger structure 2024-12-20 21:25:06 +00:00
Iampete1 80f52dd241 AP_Scripting: move to AuxFuncTrigger structure 2024-12-20 21:25:06 +00:00
Iampete1 0420f13c30 AP_Mission: move to AuxFuncTrigger structure 2024-12-20 21:25:06 +00:00
Iampete1 435aff1d86 AP_Button: move to AuxFuncTrigger structure 2024-12-20 21:25:06 +00:00
Iampete1 62eb4993e5 Tools: autotest: quadplane: MAV_CMD_DO_ENGINE_CONTROL: wait after RC input change before sending command 2024-12-20 21:25:06 +00:00
Iampete1 b1e1585a1c AP_ICEngine: fully move to aux function removing dedicated min PWM and high low thresholds 2024-12-20 21:25:06 +00:00
Iampete1 16f50e9719 Plane: `do_aux_function` call `ice_control.do_aux_function` 2024-12-20 21:25:06 +00:00
Peter Barker cb6907992b AP_Proximity: prevent buffer overflow in LD06 driver
We're using a value off the wire before it has been validated.  That value is used to limit indexing into a buffer, and that buffer isn't big enough to handle all possible "bad" values that index could take on.  Note that "read" here returns int16_t....
2024-12-19 22:58:29 +11:00
Bob Long 3982d576eb autotest: plane: enable ICE frames in FlyEachFrame
Now that starter control is an aux channel, engine commands are no
longer blocked by default, so it's easy to enable ICE frames by adding
an engine start command to the beginning of the missions.
2024-12-19 22:11:00 +11:00
Bob Long b908f1cb9c autotest: update broken reason for plane-tailsitter 2024-12-19 22:11:00 +11:00
Bob Long 058f66fbe6 autotest: plane: fix flyeachframe param loading
This was previously fixed in copter
2024-12-19 22:11:00 +11:00
Eric Katzfey 5c9003dd02 AP_Volz_Protocol: Moved member variable definition within proper #define block to prevent unused variable warning 2024-12-18 21:50:27 +11:00
bugobliterator 42e2e23464 AP_Networking: fix memory error generated by CAN mcast driver 2024-12-18 21:48:54 +11:00
Andreas Gising 300e5ccedd AP_Scripting: add glide-into-wind example without RC override 2024-12-18 19:35:34 +11:00
Peter Barker f5d81abb42 AP_AHRS: return EAS from get_unconstrained_airspeed_EAS
Co-authored-by: luweiagi <luweiagi@163.com>
2024-12-18 19:10:15 +11:00
Peter Barker 46b9f06011 AP_AHRS: use TAS in DCM drift correction code
Co-authored-by: luweiagi <luweiagi@163.com>
2024-12-18 19:10:15 +11:00
Siddharth Purohit 92241daef1 AP_InertialSensor: do not read FIFO faster than requested rate for ICM45686 2024-12-18 19:05:20 +11:00
Randy Mackay 523b34fbb9 AP_Scripting: add follow-target-send applet 2024-12-18 18:28:12 +11:00
Randy Mackay 5c7cfa13cf AP_Scripting: add FOLLOW_TARGET msg definition 2024-12-18 18:28:12 +11:00
Randy Mackay 56cb20ac50 AP_Scripting: add get_vel_target poscontrol binding 2024-12-18 18:28:12 +11:00
Randy Mackay 74c702674b AC_PosControl: add get_vel_target and get_accel_target 2024-12-18 18:28:12 +11:00
Randy Mackay f02b1ddea2 Rover: mavlink stream rate requests not saved to params 2024-12-18 18:16:29 +11:00
Bob Long 726e05afb2 autotest: update SIM_ENGINE_FAIL to mask 2024-12-18 18:06:50 +11:00
Bob Long dee88b4ecb SITL: default SIM_ENGINE_MUL to 0
This makes SIM_ENGINE_FAIL work a little more intuitively, since it is
usually used to simulate a complete failure.

Also, drive-by fix of the SIM_ENGINE_MUL documentation.
2024-12-18 18:06:50 +11:00
Bob Long 58c3854325 SITL: make SIM_ENGINE_FAIL a mask
The param docs already claimed it was one.
2024-12-18 18:06:50 +11:00
Peter Barker 7c084e9955 autotest: use perfect sim gps to avoid races in frsky test
can't get mavlink and frsky to agree on a value!
2024-12-17 21:31:15 +11:00
Peter Barker 31ec6f66d9 autotest: fix FRSkyPassThroughSensorIDs test
need to clear the read buffers before re-polling sensors - just in case we don't need to!
2024-12-17 21:31:15 +11:00
Peter Barker 84440108e3 AP_AHRS: rename DCM members to clarify EAS vs TAS 2024-12-17 20:17:48 +11:00
Peter Barker 73710d888d Rover: tidy WATER_DEPTH send checks 2024-12-17 20:17:19 +11:00
Peter Barker 07edfdd323 Rover: only send WATER_DEPTH for boat frames 2024-12-17 20:17:19 +11:00
Peter Barker 9f2253a109 Rover: move sending of WATER_DEPTH into Rover code
only compiled in on Rover at the moment.

need to add an additional Rover-specific check for frame type, so move this code into Rover for now.
2024-12-17 20:17:19 +11:00
Peter Barker 33a788ebb5 GCS_MAVLink: move sending of WATER_DEPTH into Rover code
only compiled in on Rover at the moment.

need to add an additional Rover-specific check for frame type, so move this code into Rover for now.
2024-12-17 20:17:19 +11:00
Peter Barker c5284c6fdf Rover: allow WATER_DEPTH mavlink message rate to be specified
... and reduce the default rate

this is currently unconditionally streamed at 50Hz, chewing up all available bandwidth on some telemetry radios.
2024-12-17 20:17:19 +11:00
Peter Barker 6e49333a40 AP_HAL_ChibiOS: do not build QuickTune on peripherals
kills heavy peripherals

../../libraries/AP_Quicktune/AP_Quicktune.cpp: In member function 'void AP_Quicktune::update(bool)':
../../libraries/AP_Quicktune/AP_Quicktune.cpp:177:32: error: 'vehicle' is not a member of 'AP'
  177 |     const auto &vehicle = *AP::vehicle();
      |                                ^~~~~~~
compilation terminated due to -Wfatal-errors.

[ 688/1225] Compiling libraries/AP_TemperatureSensor/AP_TemperatureSensor_TSYS03.cpp
Waf: Leaving directory `/home/pbarker/rc/ardupilot/build/CubeOrange-periph-heavy'
2024-12-17 20:16:30 +11:00