Commit Graph

101 Commits

Author SHA1 Message Date
Richard Marko 04b46678a4 treewide: fix shebangs - /bin/bash -> /usr/bin/env bash
Most scripts/tools use non-portable `/bin/bash`, switch
to environment agnostic `/usr/bin/env bash`.
2024-02-13 11:36:23 +11:00
Iampete1 6d546eed8f AP_Motors: Example: allow setting of COL2YAW and autorotation flag 2023-12-12 11:23:15 +11:00
Iampete1 5dcdd238a9 AP_Motors: Example: allow testing of heli tail type 2023-12-12 11:23:15 +11:00
Iampete1 55242445b2 AP_Motors: example: support setting and testing DUAL_MODE 2023-11-14 10:25:11 +11:00
Ryan Friedman 85343baa01 AP_Motors: Add missing shebang
* This script was marked as executable but did not have a shebang

Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-09-08 17:09:26 +10:00
Iampete1 49226b6dcf AP_motors: Example: Test: allow to run on heliquad 2023-07-18 08:05:26 +09:00
Iampete1 c3200b00dd AP_Motors: Example: Test: make mostly flake 8 clean 2023-07-18 08:05:26 +09:00
Iampete1 b175e7a2f9 AP_Motors: example: heli comparison: update functionality and support setting swash type 2023-07-18 08:05:26 +09:00
Iampete1 c5c26e89da AP_Motors: example: allow setting shashplate type at runtime 2023-07-18 08:05:26 +09:00
Gone4Dirt d5e72a5440 AP_Motors: Fix up MotorTestSweep.sh now that frame_class is an enforced argument 2023-07-11 10:10:14 +10:00
Gone4Dirt 2563edc3c3 AP_Motors: Allow frame class to be a run-time arg to AP_Motors_test and add all heli frame classes to test
AP_Motors: Example: init each frame type correctly and warn for init fail
2023-07-11 10:10:14 +10:00
Iampete1 4fcd767f9e AP_Motors: example: add ability to dump all matrix motor layouts in JSON format 2023-05-23 10:18:17 +10:00
Iampete1 bea98fa909 AP_Motors: test: fix for heli 2023-05-09 10:38:33 +10:00
Iampete1 ab4777de14 AP_Motors: move thrust linerization to its own class 2023-04-18 09:32:22 +10:00
Iampete1 9e71c9953d AP_Motors: example: add thrust boost 2023-04-04 09:25:15 +10:00
Iampete1 e9da278164 AP_Motors: example: add script to run motor example at a range of head rooms and throttle average max values 2023-04-04 09:25:15 +10:00
Iampete1 f7a8668c30 AP_Motors: Example: rework and update take optional arguments 2023-04-04 09:25:15 +10:00
Leonard Hall 67205f8114 AP_Motors: Support changing update period 2022-12-13 17:10:06 +11:00
Iampete1 5181003228 AP_Motors: always check armed and interlocked in motor test 2022-02-10 07:43:40 +09:00
Iampete1 8b54665a48 AP_Motors: example: remove SRV_Channels calls 2022-01-13 23:33:34 +11:00
Iampete1 70897b5e38 AP_Motors: allow custom frame string from scripting 2022-01-05 19:51:19 +11:00
Iampete1 14dfac42e7 AP_Motors: remove use of external PWM min and max 2021-10-11 22:19:17 -04:00
Iampete1 484a0b989f AP_Motors: add expo inverse test example 2021-10-01 22:04:51 +01:00
murata 509d376c29 AP_Motors: Change the tab code to whitespace 2020-04-27 09:29:32 +09:00
Leonard Hall 036b47ec56 AP_Motors: Add seperate roll and pitch limits 2019-08-03 12:06:32 +09:00
Michael du Breuil f6b8bf49a1 AP_Motors: Simplify the example includes 2019-06-18 10:02:05 +10:00
Peter Barker 1e606cdc5b AP_Motors: make desired spool state and spool state enum-classes
This will help avoid getting the enumerations mixed up
2019-04-14 12:18:03 +09:00
Peter Barker b47733142f GLOBAL: rename DataFlash_Class to AP_Logger 2019-01-18 18:08:20 +11:00
Peter Barker 71c9c91c2d AP_Motors: fix example 2018-09-19 22:40:20 -07:00
Michael du Breuil a5b8279ea4 AP_Motors: Remove unused ADC include 2018-07-17 09:29:50 +10:00
Jacob Walser abcb845af5 AP_Motors: refactor output_test -> output_test_seq 2018-07-02 11:31:58 -04:00
Hiroshi Takey (hiro2233) aa6f66f29b AP_Motors: Updated Motor example. 2018-01-09 08:12:01 +09:00
Andrew Tridgell 03e1f6967f AP_Motors: removed enable() API
all output channels are already enabled by SRC_Channels::enable_aux_servos()
2017-10-22 15:52:50 +11:00
murata 92eb179acf AP_Motors: Unify from print or println to printf. 2017-01-27 18:20:22 +11:00
Andrew Tridgell 638f1364be AP_Motors: adapt to new RC_Channel API 2017-01-12 17:39:37 +11:00
Randy Mackay 037e411e35 AP_Motors: fix example sketch
Also minor formatting fix
Thanks to OXINARF for spotting this
2016-12-31 10:55:23 +09:00
Randy Mackay a276f5dc90 AP_Motors: fix example sketch 2016-12-31 10:55:23 +09:00
priseborough 509709ce9d AP_Motors: remove unused EKF1 include 2016-12-19 08:07:11 +11:00
Lucas De Marchi ae53920e5b build: don't build examples with old build system
We currently check examples are buildable with waf which doesn't need
the libraries to be specified in a make.inc file.  Having the makefiles
there is misleading since people try to build and realize the build is
broken.
2016-10-11 13:03:08 +11:00
Randy Mackay 79a73a5c2f AP_Motors: fix example sketch
No need to set throttle_mix nor throttle_min
2016-06-18 11:55:49 +09:00
skyscraper de5130fa13 AP_Motors: RC_Channel refactor
More fixing up of RC_Channel change access to
data members to functions
2016-05-10 16:21:16 +10:00
Randy Mackay bc1b8f415a AP_Motors: example sketch output limit flags 2016-04-01 11:59:30 +09:00
Randy Mackay c9055ccdb1 AP_Motors: example sketch tests Single and Coax 2016-04-01 11:59:30 +09:00
Randy Mackay a42706bdcc AP_Motors: remove unused example sketch to test timing
This test was only important on the slower AVR boards
2016-04-01 11:59:30 +09:00
Randy Mackay a3450b712c AP_Motors: fix example sketch 2016-04-01 11:59:30 +09:00
Randy Mackay 1a690772e1 AP_Motors: example sketch outputs headers 2016-04-01 11:59:30 +09:00
Randy Mackay 361b64f817 AP_Motors: example sketch uses AP_Motors set_desired_spool_state 2016-04-01 11:59:30 +09:00
Randy Mackay d4998089c8 AP_Motors: example sketch provides roll, pitch, yaw in -1 to +1 range 2016-04-01 11:59:30 +09:00
Randy Mackay 93597d152f AP_Motors: example sketch can test helicopter 2016-04-01 11:59:30 +09:00
Leonard Hall 90b3d7ca39 AP_Motors: example sketch tests stab patch more thoroughly 2016-04-01 11:59:30 +09:00