Commit Graph

56258 Commits

Author SHA1 Message Date
Andrew Tridgell c5840e512b AP_Scripting: removed P23 schedules from main lua
now moved to Schedules directory
2022-11-28 10:40:50 +11:00
andypnz 136538e69b AP_Scripting: added schedules
this adds F3A, F4C and the NZ ClubMan schedules as txt files
2022-11-28 10:40:50 +11:00
Andrew Tridgell 2863f3954b AP_Scripting: remove support for loading binary luac
this saves about 2k of flash
2022-11-28 06:23:29 +11:00
Andrew Tridgell ef3016eff0 AP_Scripting: added a simple example of the load() function 2022-11-28 06:23:29 +11:00
Andrew Tridgell c1000041a6 AP_Scripting: use pcall and better load() approach
thanks to Pete Hall
2022-11-28 06:23:29 +11:00
Andrew Tridgell 2409b69245 autotest: adjust aerobatics test for new airshow schedule 2022-11-28 06:23:29 +11:00
Andrew Tridgell ce88ddef07 AP_Scripting: use the new lua load() functionality in the airshow 2022-11-28 06:23:29 +11:00
Andrew Tridgell 65746de112 AP_Scripting: enable load() function in lua scripts
can be used to parse user supplied lua
2022-11-28 06:23:29 +11:00
Andrew Tridgell 31b9299ad3 AP_Scripting: added function loading in aerobatic schedule text files
this allows for new maneuvers to be added inside the schedule
2022-11-28 06:23:29 +11:00
Peter Barker 23df336e80 hwdef: correct compilation of CubeOrange bdshot variants 2022-11-26 22:16:23 +11:00
Andrew Tridgell 57fcb91f73 Tools: allocate 1086 for JumperXiake800 2022-11-26 21:28:43 +11:00
Andrew Tridgell c30cd27000 AP_Scripting: added a stall turn test 2022-11-26 10:54:39 +11:00
Andrew Tridgell 2d02a3344d AP_Scripting: treat message attribute like any other attribute
simplfies txt schedule processing
2022-11-26 10:54:39 +11:00
Andrew Tridgell 38556ab8c8 AP_Scripting: removed test_all_paths from aerobatics
not used
2022-11-26 10:54:39 +11:00
Andrew Tridgell a85e9b2eb1 AP_Scripting: removed speed override in aerobatics
will be replaced with an attrib when needed again for aerobatic landing
2022-11-26 10:54:39 +11:00
Andrew Tridgell 133dcf240b AP_Scripting: simplify path attribute handling
avoid needing a separate accessor function for each attribute
2022-11-26 10:54:39 +11:00
Andrew Tridgell fc137d3bdc autotest: update plane-3d SCR params
need more memory for aerobatics
2022-11-26 10:54:39 +11:00
Andrew Tridgell 1aedb709e0 AP_Scripting: added real stall turn
reverses path at low throttle
2022-11-26 10:54:39 +11:00
Peter Barker e56544515a Blimp: remove some unused definitions 2022-11-25 20:13:24 +09:00
Iampete1 edf89b02ea Plane: Quadplane: 0 rate_bf_yaw_target as more or less the same as radians value in cd funcion 2022-11-25 18:13:00 +11:00
Randy Mackay 90220e83ac Copter: remove unused definitions 2022-11-25 11:32:15 +09:00
Randy Mackay f392d37941 Copter: remove unused RC failsafe timeouts 2022-11-25 11:32:15 +09:00
Wiktor Maslowski ca0ae1d9c6 Rover: fix long booting 2022-11-25 11:09:43 +09:00
Wiktor Maslowski ec2d5d0756 ArduSub: fix long booting 2022-11-25 11:09:43 +09:00
Wiktor Maslowski 72391d3649 ArduPlane: fix long booting 2022-11-25 11:09:43 +09:00
Wiktor Maslowski e139938e69 ArduCopter: fix long booting 2022-11-25 11:09:43 +09:00
Andrew Tridgell 814104cb33 AP_Scripting: added align_box and align_center
allows for alignment of maneuvers to the ends or center of the
aerobatic box
2022-11-24 19:37:59 +11:00
Andrew Tridgell bd4255f654 AP_Scripting: allow "thr_boost: true" in text aerobatic schedules
likes this:

  message: Loop
  thr_boost: true
  loop 30
2022-11-24 16:52:15 +11:00
ES-Alexander 82ab14c1d8 ArduSub: Parameters: mention PilotGain message 2022-11-23 15:39:31 -08:00
Peter Barker fc767c4f7f Tools: allocate a board ID for AP_HW_JFB100 2022-11-24 08:21:24 +11:00
Henry Wurzburg ef65274b9c Tools: add synthetic current sensor,fix SITL current 2022-11-24 06:53:35 +11:00
Henry Wurzburg cff3066591 SITL: add synthetic current sensor,fix SITL current 2022-11-24 06:53:35 +11:00
Henry Wurzburg f297e57176 AP_HAL_ChibiOS: add synthetic current sensor,fix SITL current 2022-11-24 06:53:35 +11:00
Henry Wurzburg 6b852e39c9 AP_BattMonitor: add synthetic current sensor,fix SITL current 2022-11-24 06:53:35 +11:00
Iampete1 c1cd095508 AP_Scripting: remove lua acess to ap object creation 2022-11-23 19:48:21 +11:00
Iampete1 2c847b1061 AP_UAVCAN: update options bitmask for PWM option 2022-11-23 19:47:50 +11:00
Peter Barker ce6763cc91 autotest: add test for Plane MANUAL_CONTROL handling 2022-11-23 19:33:46 +11:00
Peter Barker 38ea1b4039 Rover: factor out handle_manual_control_axes 2022-11-23 19:33:46 +11:00
Peter Barker 447392c7f4 Plane: factor out handle_manual_control_axes 2022-11-23 19:33:46 +11:00
Peter Barker c5a3dfaa57 ArduCopter: factor out handle_manual_control_axes 2022-11-23 19:33:46 +11:00
Peter Barker 3bd62c0e68 GCS_MAVLink: factor out handle_manual_control_axes 2022-11-23 19:33:46 +11:00
bugobliterator 644c7c316d AP_HAL_ChibiOS: add CubeOrangePlus bdshot hwdef 2022-11-23 18:52:52 +11:00
Peter Barker 65e8f153a3 autotest: add a test for EK3_RNG_USE_HGT 2022-11-23 18:40:58 +11:00
Andy Piper bcabaf0e74 Copter: inform GCS that turtle mode is active 2022-11-23 08:26:34 +09:00
bugobliterator e02e89a474 AP_HAL_ChibiOS: use CubeOrange default params for CubeOrange-bdshot 2022-11-23 10:17:38 +11:00
bugobliterator 29da18493b AP_HAL_ChibiOS: make EKF running on second IMU primary 2022-11-23 10:17:38 +11:00
Andrew Tridgell b12cd48843 AP_GPS: improve support for uBlox-M10
this sets up the M10 to use the BaiDou B1C signal instead of B1, and
disables glonass. This is needed to get a consistent 5Hz lock
2022-11-22 19:51:01 +11:00
Paul Riseborough 33349ed92a AP_NavEKF3: Prevent on ground range to ground being used in flight 2022-11-22 11:23:44 +11:00
Paul Riseborough 2228937536 AP_NavEKF3: Don't allow range finder use to start if terrain state is stale 2022-11-22 11:23:44 +11:00
Henry Wurzburg b9863d8514 Plane: enable QUAUTOTUNE build option 2022-11-22 10:58:03 +11:00