Commit Graph

56258 Commits

Author SHA1 Message Date
Andrew Tridgell 21c9737ffa Plane: increase NAV_SCRIPT timeout to 1s
this is needed for processing of very complex schedules
2022-11-14 20:35:31 +11:00
Andrew Tridgell 93353442a4 AP_Scripting: fixed crossbox-humpty aerobatics 2022-11-14 20:35:31 +11:00
Andrew Tridgell a8318fc9bb AP_Scripting: added multi_point_roll 2022-11-14 14:28:33 +11:00
Paul Riseborough 2b1098c2b8 AP_Scripting: Add four and eight point rolls to plane aerobatics script
Signed-off-by: Paul Riseborough <gncsolns@gmail.com>
2022-11-14 14:28:33 +11:00
Paul Riseborough 79db2fe4da AP_Scripting: Prevent integrator windup in throttle 2022-11-14 14:28:33 +11:00
Andrew Tridgell 6a5fb54b04 AP_Arming: update docs for new THR_MIN behaviour on plane 2022-11-14 11:14:09 +11:00
Andrew Tridgell 15a2e0c1c8 Plane: only apply THR_MIN if ICE has allow_throttle_while_disarmed
this fixes the disarmed throttle to be zero on normal aircraft
2022-11-14 11:14:09 +11:00
Andrew Tridgell f366cbbcb4 AP_ICEngine: added allow_throttle_while_disarmed() 2022-11-14 11:14:09 +11:00
Akshat Upadhyay e46fec60e2 AC_Sprayer: fix grammer to make the sentence more understandable 2022-11-14 08:24:39 +09:00
Andrew Tridgell 3c9c7fac06 AP_Scripting: added yaw angular accel limit for aerobatics 2022-11-13 16:23:39 +11:00
Paul Blum b876dff441 AP_LeakDetector: add manual leak-pin selection 2022-11-12 20:38:35 -03:00
Andrew Tridgell 38a9269822 autotest: lower aerobatics speedup to 5 2022-11-12 10:45:18 +11:00
Andrew Tridgell 46d41e5995 autoest: fixed spelling
and adjust max error for aerobatics
2022-11-12 07:34:21 +11:00
Andrew Tridgell af44cbfc30 AP_Scripting: fixed spelling of barrel roll 2022-11-12 07:34:21 +11:00
Andrew Tridgell 8726962036 autotest: tight turns for plane-3d 2022-11-11 16:00:09 +11:00
Andrew Tridgell f2da06ebdf autotest: adjust aerobatics test for BarrellRoll 2022-11-11 14:19:44 +11:00
Andrew Tridgell 64e050da60 AP_Scripting: added barrell_roll
path OK, but exit orientation is wrong
2022-11-11 14:19:44 +11:00
Randy Mackay 3a36a1d405 Rover: add MANUAL_STR_EXPO 2022-11-11 08:52:30 +09:00
Andrew Tridgell 0d9397f451 AP_Scipting: cope with lua update being called too soon
in CI we occasionally get a loop called too fast (in one log the
micros() timestamp step was zero)
2022-11-11 08:25:33 +11:00
Andrew Tridgell 4ab0919d63 autotest: run aerobatics at slower speedup
need more cycles for lua
2022-11-11 08:25:33 +11:00
Andrew Tridgell c48eeec71d AP_Scripting: added AEROM_THR_MIN and AEROM_THR_BOOST
allow for better throttle control during maneuvers
2022-11-11 08:25:33 +11:00
Henry Wurzburg 48404f4e64 AP_Scripting: Update plane_aerobatics README.md 2022-11-10 13:54:56 +11:00
Andrew Tridgell 0abeca15e2 autotest: added scripting aerobatics test 2022-11-10 13:53:15 +11:00
Andrew Tridgell a1e172c7c3 AP_Scripting: added figure_eight to loadable tricks 2022-11-10 13:53:15 +11:00
Andrew Tridgell 46c6c28419 AP_Scripting: look in multiple directorys for trick txt files 2022-11-10 13:53:15 +11:00
Andrew Tridgell 8c671c8b29 AP_Scripting: removed old aerobatics system 2022-11-10 13:53:15 +11:00
Andrew Tridgell bf34bea4d6 AP_Scripting: moved aerobatics to applets/Aerobatics/FixedWing/ 2022-11-10 13:53:15 +11:00
Randy Mackay be922f20a2 AP_Mount: gremsy driver sends vehicle att at 50hz 2022-11-10 10:34:05 +09:00
Andrew Tridgell a98b9f2c44 AP_Scripting: removed old AUTO_MIS parameters
this mechanism not needed any more now we have full schedules
2022-11-10 12:27:53 +11:00
Andrew Tridgell bdcffe2966 AP_Param: allow for removing parameters from lua scripts
when a parameter is removed it leaves a gap in the index numbers. We
need to cope with that gap when we add the parameters in the script to
allow params to be re-ordered or removed
2022-11-10 12:27:53 +11:00
Andrew Tridgell 1c554ccc24 HAL_SITL: only do the cygwin speedup hack for scripting while armed
this stops us chewing lots of CPU while disarmed, and also stops the
logging thread from chewing a lot of CPU
2022-11-10 12:12:03 +11:00
Andrew Tridgell 5fc018fff4 AP_Filesystem: fixed open to return nullptr on failure
this impacts lua io.open()
2022-11-10 10:31:29 +11:00
Andrew Tridgell 7942b58fba SITL: load plane-3d.parm when -f plane-3d is chosen
this gets the right parameters in MissionPlanner SITL
2022-11-10 10:30:53 +11:00
Andrew Tridgell 98145f7a3f Tools: moved plane-3d.parm to models directory 2022-11-10 10:30:53 +11:00
Peter Barker aef745c693 AP_Compass: fix compilation when removing diagonals state 2022-11-09 21:14:04 +11:00
Peter Barker 9c726b8f68 Tools: change namespace of MultiCopter and FixedWing params
this stops the libraries knowing anything about AP_Vehicle
2022-11-09 19:04:37 +11:00
Peter Barker 752c6c7dc5 StorageManager: change namespace of MultiCopter and FixedWing params
this stops the libraries knowing anything about AP_Vehicle
2022-11-09 19:04:37 +11:00
Peter Barker 26e4e7fd3b SRV_Channel: change namespace of MultiCopter and FixedWing params
this stops the libraries knowing anything about AP_Vehicle
2022-11-09 19:04:37 +11:00
Peter Barker 7c8663747d RC_Channel: change namespace of MultiCopter and FixedWing params
this stops the libraries knowing anything about AP_Vehicle
2022-11-09 19:04:37 +11:00
Peter Barker ea538641ea Blimp: change namespace of MultiCopter and FixedWing params
this stops the libraries knowing anything about AP_Vehicle
2022-11-09 19:04:37 +11:00
Peter Barker 9e69f8211e ArduSub: change namespace of MultiCopter and FixedWing params
this stops the libraries knowing anything about AP_Vehicle
2022-11-09 19:04:37 +11:00
Peter Barker de4dda2d17 ArduPlane: change namespace of MultiCopter and FixedWing params
this stops the libraries knowing anything about AP_Vehicle
2022-11-09 19:04:37 +11:00
Peter Barker 1d1956739e ArduCopter: change namespace of MultiCopter and FixedWing params
this stops the libraries knowing anything about AP_Vehicle
2022-11-09 19:04:37 +11:00
Peter Barker e01cfbad5b AP_Vehicle: change namespace of MultiCopter and FixedWing params
this stops the libraries knowing anything about AP_Vehicle
2022-11-09 19:04:37 +11:00
Peter Barker d438cd9ed2 AP_TECS: change namespace of MultiCopter and FixedWing params
this stops the libraries knowing anything about AP_Vehicle
2022-11-09 19:04:37 +11:00
Peter Barker 573604582e AP_Soaring: change namespace of MultiCopter and FixedWing params
this stops the libraries knowing anything about AP_Vehicle
2022-11-09 19:04:37 +11:00
Peter Barker 00f72575c3 AP_NavEKF: change namespace of MultiCopter and FixedWing params
this stops the libraries knowing anything about AP_Vehicle
2022-11-09 19:04:37 +11:00
Peter Barker 806b2708c1 AP_NavEKF3: change namespace of MultiCopter and FixedWing params
this stops the libraries knowing anything about AP_Vehicle
2022-11-09 19:04:37 +11:00
Peter Barker a01202c723 AP_NavEKF2: change namespace of MultiCopter and FixedWing params
this stops the libraries knowing anything about AP_Vehicle
2022-11-09 19:04:37 +11:00
Peter Barker aad489c8cb AP_Mount: change namespace of MultiCopter and FixedWing params
this stops the libraries knowing anything about AP_Vehicle
2022-11-09 19:04:37 +11:00