Tom Pittenger
56b01e0067
gitignore mission.stg (missions on sd card)
2023-10-23 10:25:59 -07:00
Andrew Tridgell
928d50900a
SITL: use connect_timeout() for realflight
...
this gives much better handling of network glitches, preventing long
simulation timeouts which impact on the stability of the simulation
2023-10-23 20:27:49 +11:00
Andrew Tridgell
26823b56ae
AP_HAL: added connect_timeout to SocketAPM
2023-10-23 20:27:49 +11:00
bugobliterator
fd319c6b2c
AP_HAL_ChibiOS: fix setting APP_RAM size
...
also allows passing APP_RAM_START index through hwdef
2023-10-23 10:43:42 +11:00
Iampete1
8018d30cc7
Copter: 4.4.2 stable release notes
2023-10-22 21:52:08 +01:00
Andrew Tridgell
63de33bce9
Plane: update release notes for 4.4.2
2023-10-23 07:38:33 +11:00
Andrew Tridgell
b6c9ac2569
AP_InertialSensor: added optional FIFO rate logging to invensensev3 driver
...
this is useful for tracking down and confirming the stuck gyro issue
on the ICM42688
2023-10-22 15:09:40 +11:00
Andrew Tridgell
792d8a4cb8
AP_InertialSensor: fix for ICM42688 stuck gyro issue
...
these undocumented bits in register 0x4d control the "adaptive full
scale range" mode of the ICM42688. The feature is enabled by default
but has a bug where it gives "stuck" gyro values for short periods
(between 1ms and 2ms):, leading to a significant gyro bias at longer
time scales, enough to in some cases cause a vehicle to crash if it is
unable to switch to an alternative IMU
this fixes https://github.com/ArduPilot/ardupilot/issues/25025
2023-10-22 15:09:40 +11:00
Andrew Tridgell
cf6fe205d2
AP_Scripting: make 2-position switch easier for quicktune
...
this allows for low/high instead of low/mid for quicktune with a 2
position switch such as with a herelink transmitter
2023-10-21 08:14:03 +11:00
Peter Barker
c65675a64d
autotest: add an epsilon kwarg for assert_parameter_values
...
... and reimplement assert_parameter_vaue in terms of that function
2023-10-20 17:59:05 +11:00
muramura
68350130b0
SimOnHW: Incorporate POSHOLD by default
2023-10-20 07:57:21 +11:00
Hayden
b237fd9fa4
AP_Compass: fix AK09916 hangup issue
2023-10-20 07:56:56 +11:00
Rhys Mainwaring
e05780c446
AP_Vehicle: standardise AP_DDS message prefix
...
Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
2023-10-20 07:06:13 +11:00
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