Commit Graph

55672 Commits

Author SHA1 Message Date
Peter Barker
33a319aaf3 GCS_MAVLink: do not run all commands received on private channel
Co-authored-by: dawid.kopec.spectalight@gmail.com

returning true from this function means that we should run the command locally.  We really don't want to do that unless the command (or other targetted message) was actually sent at us!
2022-11-29 10:32:02 +11:00
Peter Barker
d1cff53ba1 autotest: add test for mavlink private-channel 2022-11-29 10:32:02 +11:00
Peter Barker
c3efc78f0d autotest: fix warning about deprecated distutils.dir_utils.copy_tree 2022-11-29 10:32:02 +11:00
Mingchen Zhang
bb18372d95 Add RC_OPTIONS feature gating of crsf flight mode star 2022-11-29 10:30:47 +11:00
Mingchen Zhang
ad6355c029 Add * to the end of flight mode string in CRSF 2022-11-29 10:30:47 +11:00
Buzz
d85992613b .github: add esp32 build to CI
with binaries

less verbose

ESP32: fix bootloader build - reduce esp32 bootloader compile size and capture binaries
2022-11-28 20:32:22 +11:00
Buzz
1e11921646 AP_HAL_ESP32: add esp32 build to CI
with binaries

less verbose

ESP32: fix bootloader build - reduce esp32 bootloader compile size and capture binaries
2022-11-28 20:32:22 +11:00
Randy Mackay
90498579f3 SITL: vicon odometry corrected 2022-11-28 17:21:23 +11:00
Randy Mackay
906e8aced3 GCS_MAVLink: correct consumption of ODOMETRY velocity 2022-11-28 17:21:23 +11:00
Randy Mackay
a5aa25ef91 GCS_MAVLink: minor format fix 2022-11-28 17:21:23 +11:00
Wiktor Maslowski
99f6a31188 Tools: fixed builds for ESP32 2022-11-28 12:23:07 +11:00
Wiktor Maslowski
02b2b9b807 AP_Filesystem: fixed builds for ESP32 2022-11-28 12:23:07 +11:00
Andrew Tridgell
76b83c3d57 autotest: fixed aerobatics test for new Schedules location 2022-11-28 10:40:50 +11:00
Andrew Tridgell
6a1b3d4e30 AP_Scripting: moved trick72.txt to Schedules/AirShow.txt 2022-11-28 10:40:50 +11:00
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