Peter Barker
c91968017b
ArduPlane: tidy use of GPS mavlink defines
2023-10-27 14:16:47 +11:00
Peter Barker
628bc02bf1
ArduPlane: save bytes when AP_AIS_ENABLED is false
2023-10-27 14:16:47 +11:00
Peter Barker
7961eb6045
Plane: consider nan as zero in DO_REPOSITION
...
QGC's interfaces want to send nan for these parameters
2023-10-27 14:16:07 +11:00
Peter Barker
edb4f25953
ArduPlane: remove MSG_BATTERY_STATUS from steams if AP_BATTERY_ENABLED is false
2023-10-26 13:23:57 +11:00
Michael du Breuil
28d4603a46
Plane: Support not sending a status text on state change
2023-10-25 09:39:51 -07:00
Paweł Rozenblut
1c6b4debe2
Plane: send attitude target message implementation (for quadplanes)
...
Minor modification - implementation of the send_attitude_target msg. streaming (for quadplanes). The code is analogous in its structure and functionality to the implementation in Copter
Co-Authored-By: Peter Hall <33176108+IamPete1@users.noreply.github.com>
2023-10-25 09:53:13 +11:00
Michael du Breuil
b630efd4db
ArduPlane: Pass the 4th parameter to ICE for engine start
2023-10-24 14:11:39 -07:00
Peter Barker
a97adcf9cd
ArduPlane: handle MAV_CMD_NAV_TAKEOFF via command_long and command_in
2023-10-24 12:59:19 +11:00
Andrew Tridgell
63de33bce9
Plane: update release notes for 4.4.2
2023-10-23 07:38:33 +11:00
Peter Barker
aa78f53498
Plane: use origin-relative altitudes rather than home-relative
2023-10-18 19:49:06 +11:00
Henry Wurzburg
410fbb998b
Plane:reset in landing seq on mode change while disarmed
2023-10-18 13:37:55 +11:00
Henry Wurzburg
a26ee15216
Plane:force min transition timer to 2 sec
2023-10-17 14:32:24 +11:00
Peter Barker
c990b0105e
ArduPlane: accept LOITER_UNLIM and RETURN_TO_LAUNCH as command_int
2023-10-17 12:58:57 +11:00
Randy Mackay
6bd7c37039
Plane: 4.4.2-beta1 release notes
2023-10-14 11:24:37 +11:00
Andrew Tridgell
c980e0488e
Plane: fixed terrain RTL with rally points
...
this fixes a bug where if the terrain database cache does not have the
tile for the location of a rally point then RTL to the rally point
with TERRAIN_FOLLOW=1 will not track terrain
The underlying issue is that Location::loc.change_alt_frame() will
return false if the location is not in the terrain memory cache. We
can't just extrapolate as the rally point could be in a totally
different terrain area to the current location. So instead we set it
as terrain_following_pending and fix it as soon as the terrain cache
is filled.
fixes https://github.com/ArduPilot/ardupilot/issues/25157
2023-10-14 10:46:00 +11:00
Mykhailo Kuznietsov
b7c040e8bc
ArduPlane: Fix some typos
...
Fixed some typos found in the code.
2023-10-12 18:30:42 +11:00
Peter Barker
e13566695b
ArduPlane: allow for compilation without AP_RTC_ENABLED
2023-10-11 19:17:27 +11:00
Peter Barker
2e494d496b
ArduPlane: allow Plane to run MAV_CMD_MISSION_START as long and int
2023-10-11 19:05:56 +11:00
Henry Wurzburg
7c46585bac
ArduPlane: add airspeed estimate status logging
2023-10-10 08:11:10 +09:00
Peter Barker
be3f292ba4
ArduPlane: don't send fence_status mavlink message if fence not compiled in
2023-10-04 19:13:23 +11:00
Peter Barker
e965b987f6
Plane: accept MAV_CMD_DO_LAND_START as both command_long and COMMAND_INT
2023-10-04 19:04:25 +11:00
Iampete1
9381e2f411
Plane: GuidedHeading PID: remove slew limit
2023-10-03 11:28:18 +11:00
Iampete1
73db3c3823
Plane: MAV_CMD_GUIDED_CHANGE_HEADING: allow changing heading type or rate for same heading
2023-10-03 11:28:18 +11:00
Iampete1
e9fbf6db24
Plane: fix guided heading control anti windup
2023-10-03 11:28:18 +11:00
Peter Barker
af3992d795
Plane: handle DO_GO_AROUND as both COMMAND_LONG and COMMAND_INT
2023-09-27 17:37:55 +10:00
Andrew Tridgell
babdb3625a
Plane: moved assign tilt to the run() function
...
this prevents double calling and fixes qhover
2023-09-27 11:43:45 +10:00
Paul Riseborough
2f0bbf14a4
Plane: fix metadata units for Q_FWD_PIT_LIM
2023-09-27 11:43:45 +10:00
Paul Riseborough
3866f2b4b5
Plane: Rework pitch limiting in QuadPlane::assign_tilt_to_fwd_thr
...
Don't unnecessarily increase the forward pitch limit when position control forward action is saturated.
2023-09-27 11:43:45 +10:00
Paul Riseborough
acf8dbaeee
Plane: Add diagnostics logging to QuadPlane::assign_tilt_to_fwd_thr
2023-09-27 11:43:45 +10:00
Paul Riseborough
fa5aef050c
Plane: Restructure throttle scaling and pitch limiting to enable logging
2023-09-27 11:43:45 +10:00
Paul Riseborough
fb7c383946
Plane: Prevent quadplane.assign_tilt_to_fwd_thr() being called twice
2023-09-27 11:43:45 +10:00
Paul Riseborough
c2d6db13ec
Plane: explicitly type cast pitch limit
2023-09-27 11:43:45 +10:00
Paul Riseborough
90eacaeb88
Plane: fix centi-degree scaling bug
2023-09-27 11:43:45 +10:00
Paul Riseborough
da595bbf88
Plane: Add protection for failed quadplane forward thrust motor
2023-09-27 11:43:45 +10:00
Andrew Tridgell
e3ce7d966b
Plane: fixes from review
2023-09-27 11:43:45 +10:00
Andrew Tridgell
573de2fc17
Plane: implement methods for aux switch control of vfwd code
...
and use a common function for the active method
2023-09-27 11:43:45 +10:00
Paul Riseborough
4993dcb814
Plane: Remove duplicated parameter check
2023-09-27 11:43:45 +10:00
Paul Riseborough
f834d4730b
Plane: Add Q_FWD_THR_GAIN to table of transmitter tuning parameters
2023-09-27 11:43:45 +10:00
Paul Riseborough
6ad7588857
Plane: Add arming check for incompatible Q_VFWD_GAIN and Q_FWD_THR_USE
2023-09-27 11:43:45 +10:00
Paul Riseborough
daea00168b
Plane: Use Q_FWD_THR_USE parameter to control modes that use Q_FWD_THR_GAIN
2023-09-27 11:43:45 +10:00
Paul Riseborough
ed91d428e1
Plane: Default Q_FWD_THR_GAIN to 0 and update meta data
2023-09-27 11:43:45 +10:00
Paul Riseborough
7bbd0ed74e
Plane: prevent wind up of Q-mode velocity controller I term
2023-09-27 11:43:45 +10:00
Paul Riseborough
b3a1807349
Plane: Fix use of q_fwd_nav_pitch_lim_cd class variable
2023-09-27 11:43:45 +10:00
Paul Riseborough
16895003df
Plane: if statement cleanup in QuadPlane::assign_tilt_to_fwd_thr
2023-09-27 11:43:45 +10:00
Paul Riseborough
57cfe854b2
Plane: Add Q_FWD_THR_GAIN value arming check for tailsitters
2023-09-27 11:43:45 +10:00
Paul Riseborough
04e5f6b5f6
Plane: use forward tilt instead of forward throttle when close to ground
2023-09-27 11:43:45 +10:00
Paul Riseborough
8988de3c7c
Plane: Allow non positive values of Q_FWD_PIT_LIM to be used
2023-09-27 11:43:45 +10:00
Paul Riseborough
e866998b21
Plane: Rename q_fwd_tilt_lim to q_fwd_pitch_lim
2023-09-27 11:43:45 +10:00
Paul Riseborough
c15bb3f1e3
Plane: remove code that can never run
2023-09-27 11:43:45 +10:00
Paul Riseborough
98220c7315
Plane: Handle reset of q_fwd_throttle in QuadPlane::mode_enter(void)
2023-09-27 11:43:45 +10:00