Andrew Tridgell
49e83841d4
Plane: review fixes
...
thanks Pete!
2022-03-12 08:00:49 +09:00
Andrew Tridgell
c970562ef9
SITL: fixed ship offset velocity correction
2022-03-12 08:00:49 +09:00
Andrew Tridgell
e6590382d8
AP_Common: improved accuracy of get_bearing()
...
make base function ftype, then convert to int32_t for get_bearing_to()
2022-03-12 08:00:49 +09:00
Andrew Tridgell
dad6f6da97
AP_Scripting: update lua docs
2022-03-12 08:00:49 +09:00
Andrew Tridgell
0a2f347c36
Plane: wait till motors are fully up before takeoff in guided mode
...
this allows for guided mode takeoff in tilt-rotors. Otherwise motors
till be pointing forward and takeoff will go very badly
2022-03-12 08:00:49 +09:00
Andrew Tridgell
9d1e218f4c
Plane: cope with high angle error in airbrake state
...
if we are flying too far off the target vector then exit airbrake
state. This prevents flying for a long distance away from the landing
point in airbrake mode
2022-03-12 08:00:49 +09:00
Andrew Tridgell
993248b6d5
Plane: setup target accel in POSITION1 state
2022-03-12 08:00:49 +09:00
Andrew Tridgell
c5b7fd03d8
Plane: allow for a trans decel margin
...
so if we are behind the velocity curve we are less likely to overshoot
landing
2022-03-12 08:00:49 +09:00
Andrew Tridgell
8c454e4019
Tools: update runplanetest.py
...
added prearm check and cope with python3
2022-03-12 08:00:49 +09:00
Andrew Tridgell
70caec60b0
AP_Scripting: plane ship landing script
2022-03-12 08:00:49 +09:00
Andrew Tridgell
5369c147e9
AP_Scripting: added rotate_xy for Vector3f
2022-03-12 08:00:49 +09:00
Andrew Tridgell
342032477a
AP_Scripting: added follow API
2022-03-12 08:00:49 +09:00
Andrew Tridgell
32e071eb08
AP_Vehicle: added update_target_location()
2022-03-12 08:00:49 +09:00
Andrew Tridgell
8df4b1adda
SITL: added ship offset and ATTITUDE
2022-03-12 08:00:49 +09:00
Andrew Tridgell
d7913104cb
Plane: fix NAV_CONTROLLER_OUTPUT in Q modes
...
Q modes don't always use wp_nav, but do use pos_control
AUTO and QRTL setup the plane navigation as well, so can use the L1
data
2022-03-12 08:00:49 +09:00
Andrew Tridgell
2b257663dc
Plane: added APIs for lua ship landing
2022-03-12 08:00:49 +09:00
Andrew Tridgell
0e70270f49
Plane: link in AP_Follow
...
ready for ship landing
2022-03-12 08:00:49 +09:00
Andrew Tridgell
4d916055ad
AP_Follow: added APIs for plane ship landing
2022-03-12 08:00:49 +09:00
Andrew Tridgell
deee8354de
Tools: added SFO_Bay location
2022-03-12 08:00:49 +09:00
Andrew Tridgell
59c56a5fc5
Plane: removed terrain home correction
2022-03-12 08:00:49 +09:00
Andrew Tridgell
119712d885
SITL: removed terrain home correction
2022-03-12 08:00:49 +09:00
Andrew Tridgell
1c88f8801a
AP_Terrain: removed terrain home correction
2022-03-12 08:00:49 +09:00
Andrew Tridgell
e5df662751
AP_Scripting: removed terrain home correction
2022-03-12 08:00:49 +09:00
Andrew Tridgell
8b46782070
AP_HAL_SITL: removed terrain home correction
2022-03-12 08:00:49 +09:00
Andrew Tridgell
ad0f2a39ff
AP_Common: removed terrain home correction
2022-03-12 08:00:49 +09:00
Andrew Tridgell
fc7a8a1a19
Plane: added Q_LAND_ALTCHG parameter
...
this is the threshold height change over 4 seconds for a landing to be
detected. It can be raised if landing detection is very slow
2022-03-12 08:00:49 +09:00
Randy Mackay
c32b7823e8
AP_Follow: zreo velocities if not provided
2022-03-12 08:00:49 +09:00
Andrew Tridgell
4233bf5fda
AP_Follow: support the FOLLOW_TARGET mavlink message
...
this is used by qgroundcontrol, allowing follow on a mobile device
note that you must set the qgc option to "always send follow" and also
must set FOLL_ALT_TYPE=2 in ArduPilot
2022-03-12 08:00:49 +09:00
Andrew Tridgell
36f68c8b64
AP_NavEKF3: fixed constrain indexing bug
...
fixes #20180
thanks to @liyue75 for spotting this!
2022-03-12 08:00:49 +09:00
Andrew Tridgell
47739344b8
Plane: prepare for 4.2.0beta1
2022-03-12 08:00:49 +09:00
Andrew Tridgell
66cda54be1
Plane: added release notes for 4.2.0beta1
2022-03-12 08:00:49 +09:00
Randy Mackay
d0dbc1dfd6
Rover: version to 4.2.0-beta1
2022-02-28 12:03:24 +09:00
Randy Mackay
c343995956
Copter: version to 4.2.0-beta1
2022-02-28 12:03:22 +09:00
Randy Mackay
a843249f11
Rover: 4.2.0-rc1 release notes
2022-02-28 11:43:37 +09:00
Randy Mackay
0846a950bb
Copter: 4.2.0-rc1 release notes
2022-02-28 11:43:37 +09:00
Peter Barker
122d97ece7
autotest: add comment clarifying what an error actually means
2022-02-28 12:47:57 +11:00
Peter Barker
43bbfacef5
AP_Baro: reformat log message to separate fields out
2022-02-28 12:47:57 +11:00
Peter Barker
7bb13e934d
autotest: add support for multi-line log formats
2022-02-28 12:47:57 +11:00
Peter Barker
13fa1e30ad
ArduPlane: rename and make enum RC_Channel::ControlType
...
Type:: is too generic; get_type should probably be get_control_type
2022-02-27 09:55:01 +11:00
Peter Barker
37af7e5166
RC_Channel: rename and make enum RC_Channel::ControlType
...
Type:: is too generic; get_type should probably be get_control_type
2022-02-27 09:55:01 +11:00
Peter Barker
4e122a3d50
AP_IOMCU: rename and make enum RC_Channel::ControlType
...
Type:: is too generic; get_type should probably be get_control_type
2022-02-27 09:55:01 +11:00
Peter Barker
14ce09279f
RC_Channel: privatise switch reading functions
2022-02-27 09:51:04 +11:00
Peter Barker
d3db716dd9
RC_Channel: remove unused functions
2022-02-27 09:51:04 +11:00
Peter Barker
d41388f242
RC_Channel: privatise range accessors
2022-02-27 09:51:04 +11:00
Peter Barker
f79c43eebd
Tools: build_binaries.py: ensure existence of buildlogs dir
...
If buildlogs didn't exist then the sqlite database creation would fail.
This really shouldn't have been done in init anyway...
2022-02-26 14:17:01 +11:00
Henry Wurzburg
f5766bb098
AP_BattMonitor: update name of type 10 to Sum of Selected Monitors
2022-02-26 08:31:24 +09:00
murata
53d8d9b58e
Frame_params: Add DJI AGRAS MG-1
2022-02-26 08:28:45 +09:00
Peter Barker
e6c1bc2402
autotest: fix MAVFTP test
2022-02-26 10:11:19 +11:00
Randy Mackay
10e69373b3
AP_Scripting: copter-fast-descent has less aggressive slowdown at end
2022-02-26 08:05:05 +09:00
Randy Mackay
3efebcf1e0
AP_Scripting: copter-fast-descent uses small default radius
2022-02-26 08:05:05 +09:00