Andrew Tridgell
d88e3d27f6
AP_Scripting: added composition of composed paths
2022-10-29 21:22:29 +11:00
Andrew Tridgell
5a0311c6d8
AP_Scripting: use composer object to prepare for nested composition
2022-10-29 21:22:29 +11:00
Andrew Tridgell
4e154b17a2
AP_Scripting: convert remaining paths to composite functions
2022-10-29 21:22:29 +11:00
Andrew Tridgell
7541eed80c
AP_Scripting: fixed height gain/loss in upline/downline
2022-10-29 21:22:29 +11:00
Andrew Tridgell
efff5dc7ea
AP_Scripting: added throttle lookahead
...
anticipate the pitch and add extra throttle ready for the pitch up
2022-10-29 21:22:29 +11:00
MatthewHampsey
a4c544436a
AP_Scripting: Added box trajectories, adding warning log for insufficent roll rate
2022-10-29 21:22:29 +11:00
Andrew Tridgell
8bc847fcf1
AP_Scripting: convert more paths to use composer
2022-10-29 21:22:29 +11:00
Andrew Tridgell
b1e123df9e
AP_Scripting: added entry and exit bank rates
2022-10-29 21:22:29 +11:00
Andrew Tridgell
20f1e8a6e6
AP_Scripting: fixed NED -> ENU in view_paths
...
thanks MattH !
2022-10-29 21:22:29 +11:00
Andrew Tridgell
7c7de7eee6
AP_Scripting: added stall turn
...
not really working well
2022-10-29 21:22:29 +11:00
Andrew Tridgell
f509359c24
AP_Scripting: removed debug
2022-10-29 21:22:29 +11:00
Andrew Tridgell
f31fa6daf2
AP_Scripting: add Split-S, Upline-45 and Downline-45
2022-10-29 21:22:29 +11:00
Andrew Tridgell
8873f95e52
AP_Scripting: re-implement humpty bump with composition
2022-10-29 21:22:29 +11:00
Andrew Tridgell
9242786d1e
AP_Scripting: added path composition
...
allow creation of paths from a sequence of sub-paths
2022-10-29 21:22:29 +11:00
Andrew Tridgell
3dfbca62a6
AP_Scripting: catch NaN in view_path
2022-10-29 21:22:29 +11:00
Andrew Tridgell
c0559935ed
AP_Scripting: ensure time doesn't go past 1.0
2022-10-29 21:22:29 +11:00
Andrew Tridgell
16583704ed
AP_Scripting: make target speed max of current and trim speed
2022-10-29 21:22:29 +11:00
Andrew Tridgell
dd390c257d
AP_Scripting: remove unused code
2022-10-29 21:22:29 +11:00
Andrew Tridgell
119852b390
AP_Scripting: fixed mirroring for some -ve radius paths
2022-10-29 21:22:29 +11:00
Andrew Tridgell
4b53e16ea2
AP_Scripting: document trajectory scripting
2022-10-29 21:22:29 +11:00
Andrew Tridgell
0ae3b39a66
AP_Scripting: implement tricks on a switch on top of trajectory tracking
...
this re-implements tricks on a switch with the new accurate trajectory
tracking code.
It adds new parameters:
- TRIK_ENABLE=0/1
- TRIK_COUNT for number of tricks
- TRIK_ACT_FN for the rc option to use to activate tricks (default 300)
- TRIK_SEL_FN for the rc option to use to select which trick (default 301)
So if you want to use a 3 position switch on RC7 to activate and use a
knob on RC8 for selection then you would set:
- RC7_OPTION = 300
- RC8_OPTION = 301
then if tricks are enabled the following parameters are created per trick:
- TRIKn_ID
- TRIKn_ARG1
- TRIKn_ARG2
- TRIKn_ARG3
- TRIKn_ARG4
You can have a maximum of 11 tricks.
The ID numbers are from the trajectory table. The arguments are path specific.
2022-10-29 21:22:29 +11:00
Andrew Tridgell
500ac9b99c
Plane: cleanup abort of NAV_SCRIPT
...
use the same enable flag for tricks and auto NAV_SCRIPT_TIME and
ensure we disable if the script stops controlling
2022-10-29 21:22:29 +11:00
Andrew Tridgell
06edc9a139
Plane: constrain throttle in NAV_SCRIPT
2022-10-29 21:22:29 +11:00
Andrew Tridgell
210dac7356
Plane: default takeoff pitch to 15 deg for PPDS
2022-10-29 21:22:29 +11:00
Andrew Tridgell
ff5b4f1b13
Plane: unlock cruise/loiter heading while doing a scripted trick
...
and reset height
2022-10-29 21:22:29 +11:00
Andy Piper
e97bb0c318
Copter: add turtle mode safety features.
2022-10-27 10:37:51 +09:00
Peter Barker
db2736c297
GCS_MAVLink: correct potential uint underflow in stream slowdown
2022-10-27 08:40:21 +11:00
Peter Barker
77abaef092
GCS_MAVLink: use AP_NOTIFY_MAVLINK_LED_CONTROL_SUPPORT_ENABLED
2022-10-26 21:22:39 +11:00
Peter Barker
c136257a3a
AP_Notify: gate mavlink access on HAL_GCS_ENABLED
...
via AP_NOTIFY_MAVLINK_LED_CONTROL_SUPPORT_ENABLED
2022-10-26 21:22:39 +11:00
Peter Barker
eead037513
AP_BattMonitor: remove unneeded include of Notify
2022-10-26 21:22:39 +11:00
Peter Barker
9ca19c25a9
GCS_MAVLink: process mavlink play_tune in frontend
2022-10-26 21:22:39 +11:00
Peter Barker
f846f703e4
AP_Notify: process mavlink play_tune in frontend
2022-10-26 21:22:39 +11:00
Henry Wurzburg
59b5a6e604
Plane: clarify ALT_HLD_FBWCM description
2022-10-26 21:21:25 +11:00
Peter Barker
c9ce6f28b2
Tools: rename parameter name BRD_SAFETYENABLE to BRD_SAFETY_DEFLT
2022-10-26 19:53:03 +11:00
Peter Barker
0d0b470a0d
ArduSub: rename parameter name BRD_SAFETYENABLE to BRD_SAFETY_DEFLT
2022-10-26 19:53:03 +11:00
Peter Barker
fdd5c048a4
ArduPlane: rename parameter name BRD_SAFETYENABLE to BRD_SAFETY_DEFLT
2022-10-26 19:53:03 +11:00
Peter Barker
959982c053
AP_HAL_ChibiOS: rename parameter name BRD_SAFETYENABLE to BRD_SAFETY_DEFLT
2022-10-26 19:53:03 +11:00
Peter Barker
b4a42e61f3
AP_BoardConfig: rename parameter name BRD_SAFETYENABLE to BRD_SAFETY_DEFLT
2022-10-26 19:53:03 +11:00
Peter Barker
21d27d8988
AP_BoardConfig: correct description of safety switch
2022-10-26 19:53:03 +11:00
MatthewHampsey
51481eff24
AP_Scripting: Made negative radii steer in other direction for remaining trajs
2022-10-25 16:37:19 +11:00
MatthewHampsey
d011c8977f
AP_Scripting: Fix humpty bump
2022-10-25 16:37:19 +11:00
Peter Barker
56c4794700
AP_Notify: use existing method for setting rgb and rate
2022-10-25 12:11:38 +11:00
Andrew Tridgell
69b23eea14
mavlink: update submodule
...
support extra 2 args for NAV_SCRIPT_TIME
2022-10-25 11:50:52 +11:00
Yuri
c474edc7b8
AP_Vehicle: enable HNTCH for Rover
2022-10-25 09:48:51 +09:00
Yuri
87d86ec090
Rover: enable HNTCH for Rover
2022-10-25 09:48:51 +09:00
Andrew Tridgell
eb1d27df7b
AP_Scripting: adjust EFI_SkyPower for rev 0.3 protocol
2022-10-25 11:44:45 +11:00
Andrew Tridgell
78c7bcf132
AP_EFI: fixed units of exhaust gas temperature
2022-10-25 11:44:45 +11:00
Andrew Tridgell
aea9dea005
AP_Scripting: added CANDRV to HFE EFI driver and document
2022-10-25 11:44:45 +11:00
Andrew Tridgell
d5f804b7cb
Rover: enable EFI_STATUS mavlink message
2022-10-25 11:44:45 +11:00
Andrew Tridgell
96852a8eb4
AP_Scripting: added throttle and generator control for EFI_SkyPower driver
...
and added documentation for the driver
2022-10-25 11:44:45 +11:00