Commit Graph

60264 Commits

Author SHA1 Message Date
Rhys Mainwaring fddea2558c AP_DDS: standardise GCS_SEND_TEXT message prefix
Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
2023-10-20 07:06:13 +11:00
Peter Barker 9de147a11a Tools: add script to filter output from size_compare_branches.py 2023-10-20 07:04:26 +11:00
Peter Barker 5b34a9bf13 hwdef: remove redundant MODE_TURTLE_ENABLED
this is defined later in the file
2023-10-19 20:53:28 +11:00
Rhys Mainwaring fbdd4d65c5 AP_DDS: use generated types for service serialisation
Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
2023-10-19 09:33:59 +11:00
Peter Barker 091c315fa4 autotest: add a test for quadplane Q_GUIDED_MODE 2023-10-19 09:16:45 +11:00
tomas.vrsansky 8d0c6c349f AP_Bootloader: Airvolute DCS2 ID reservation 2023-10-19 09:10:26 +11:00
Andy Piper 63805a00a9 AP_Scripting: add an applet to control LED brightness with a switch 2023-10-18 15:24:32 +01:00
AerofoxTech 63f28b6720 hwdef: To adapt the rotation directionof the QMC5883L on new Aerofox-Airspeed-DLVR 2023-10-18 19:50:46 +11:00
AerofoxTech c0780a45c1 hwdef: Adapt the rotation direction of the QMC5883L 2023-10-18 19:50:10 +11:00
Peter Barker 37b02725b3 GCS_MAVLink: handle MAV_CMD_DO_SEND_BANNER as both long and int 2023-10-18 19:49:17 +11:00
Peter Barker 0e458f3342 autotest: test DO_SEND_BANNER as both long and int 2023-10-18 19:49:17 +11:00
Peter Barker 69b4694cee autotest: allow more time for disarm on vtol-state test
right on the edge
2023-10-18 19:49:06 +11:00
Peter Barker aa78f53498 Plane: use origin-relative altitudes rather than home-relative 2023-10-18 19:49:06 +11:00
Peter Barker 7e1492d2b7 autotest: add test for MAV_CMD_NAV_TAKEOFF for quadplane using command_long 2023-10-18 19:49:06 +11:00
Peter Barker e71227fe3a GCS_MAVLink: handle MAV_CMD_GET_HOME_POSITION as both long and int 2023-10-18 19:48:23 +11:00
Peter Barker e8be3a4e21 autotest: add explicit test for MAV_CMD_GET_HOME_POSITION 2023-10-18 19:48:23 +11:00
bugobliterator 1ae842e4ed AP_HAL_ChibiOS: add option to set HAL_SPI_SCK_SAVE_RESTORE 2023-10-18 19:25:19 +11:00
bugobliterator 6c13d7bee9 AP_HAL_ChibiOS: fix mode setting for ICM45686 on CubeOrangePlus 2023-10-18 19:25:19 +11:00
bugobliterator 57f6f8e34d AP_HAL_ChibiOS: add support for saving and restoring SCK pin state
when SPI goes into undefined state during reset
2023-10-18 19:25:19 +11:00
Peter Barker b183d167d9 Blimp: remove misleading implementation of MAV_CMD_CONDITION_YAW
this would return success when it, in fact, does nothing.
2023-10-18 19:04:23 +11:00
Andy Piper 7a937cd23a AP_HAL_ChibiOS: correct printing of timer information 2023-10-18 18:01:48 +11:00
Peter Barker cc799d3d7e Copter: encapsulate auto takeoff into an ojbect
similar to the encapsulation of "user takeoff" into an object
2023-10-18 13:47:11 +11:00
Henry Wurzburg 410fbb998b Plane:reset in landing seq on mode change while disarmed 2023-10-18 13:37:55 +11:00
Peter Barker a98def0b6d autotest: add test for SET_ATTITUDE_TARGET headings 2023-10-18 11:17:32 +11:00
Andrew Tridgell 96f7cc2d38 AP_Scripting: added SVFFI generator support 2023-10-18 09:01:57 +11:00
Peter Barker fb87369c7e Tools: Replay: correct compilation when AdvancedFailsafe not available 2023-10-17 18:21:04 +11:00
Peter Barker c6b93baf44 AP_Beacon: fix example when Beacon not available
simply print the fact that the beacon librar y isn't compiled in
2023-10-17 18:21:04 +11:00
Henry Wurzburg 42d4b2671b hwdef:fix bug in AtomRCF405NAVI,fix some bds that aren't building 2023-10-17 18:21:04 +11:00
Henry Wurzburg a26ee15216 Plane:force min transition timer to 2 sec 2023-10-17 14:32:24 +11:00
Peter Barker 7d9cd3c1de Tools: accept LOITER_UNLIM and RETURN_TO_LAUNCH as command_int 2023-10-17 12:58:57 +11:00
Peter Barker c990b0105e ArduPlane: accept LOITER_UNLIM and RETURN_TO_LAUNCH as command_int 2023-10-17 12:58:57 +11:00
Iampete1 816b92346e AP_BattMonitor: DroneCAN: always have consumed energy 2023-10-17 11:13:26 +11:00
Peter Barker 7713b531a0 GCS_MAVLink: allow setting modes via COMMAND_INT and DO_SET_MODE 2023-10-17 10:41:36 +11:00
Peter Barker aaca600a94 autotest: test setting modes via COMMAND_INT and DO_SET_MODE 2023-10-17 10:41:36 +11:00
Peter Barker 90d39a6ee0 GCS_MAVLink: add build option for deprecated MISSION_REQUEST
replaced by MISSION_REQUEST_INT
2023-10-17 10:40:12 +11:00
Thomas Watson fa31a5e838 AP_ServoRelayEvents: allow mavlink command of rcin scaled functions
Allow `MAV_CMD_DO_SET_SERVO` and `MAV_CMD_DO_REPEAT_SERVO` to be used on
a servo output set to an RCINnScaled function (i.e. k_rcinN_mapped).

Scaling is applied so that a commanded servo PWM of <=1000 maps to
SERVOn_MIN, a PWM of 1500 maps to SERVOn_TRIM, and a PWM of >=2000 maps to
SERVOn_MAX. Linear interpolation is performed between ranges.
2023-10-17 10:32:39 +11:00
Thomas Watson 79b7852357 SRV_Channel: expose public function to convert scaled value to pwm
Allow other modules to get and store the PWM value for a specific scaled
value and re-apply it later.
2023-10-17 10:32:39 +11:00
Peter Barker 1ece48b2b3 GCS_MAVLink: handle MAV_CMD_DEBUG_TRAP as both long and int 2023-10-17 10:25:45 +11:00
Iampete1 105801c5b0 AP_Scripting: add support for dependencty on manual methods, remove handling of mission commands without AP_Mission 2023-10-17 10:23:20 +11:00
Iampete1 77e2d07979 AP_Scripting: add lots off missing binding dependencies 2023-10-17 10:23:20 +11:00
Iampete1 6a8e07e7ae AP_Scripting: Generator: allow unused enum loader function 2023-10-17 10:23:20 +11:00
Iampete1 cf2ba23089 AP_Scripting: generator: emit dependancys for operators 2023-10-17 10:23:20 +11:00
Iampete1 596433a19a AP_Scripting: lua_scripts: add missing HAL_LOGGING_ENABLED define 2023-10-17 10:23:20 +11:00
Iampete1 f712b202de AP_Scripting: require a file system 2023-10-17 10:23:20 +11:00
Iampete1 fc68bf8979 AP_Scripting: don't include CAN support on periph if there is only one CAN port 2023-10-17 10:23:20 +11:00
Iampete1 75ac3f98fa AP_Param: Allow override of AP_PARAM_DYNAMIC_ENABLED define 2023-10-17 10:23:20 +11:00
Iampete1 e736d5ecb7 AP_HAL_ChibiOS: hwdef: scripts: defaults_periph: disable unused libaries by defualt 2023-10-17 10:23:20 +11:00
Michael du Breuil dc35b2f6bc AC_PID: If PD max limiting isn't active clear the flag 2023-10-17 10:14:45 +11:00
Michael du Breuil 00a5c92635 AP_Periph: Rate limit EFI driver updates
Also remove the last update variables for features that were compiled
out.
2023-10-17 10:14:03 +11:00
Iampete1 3c6ddda5e8 Flter: notchfilter: remove unneeded value and pre-multiply for speed 2023-10-17 10:03:43 +11:00