Commit Graph

5994 Commits

Author SHA1 Message Date
fbredeme
c0123bdc2f Copter: Simulink model and init scripts
- arducopter.slx: Simulates ArduCopter Stabilize and Althold controller and optional plant model
- sid_pre.m: Loads *.bin files to Matlab structures
- sid_sim_init.m: Loads signals and parameters from Matlab structure into Simulink model
2022-10-05 20:24:05 +09:00
Peter Barker
f9496843de autotest: comment out probably-defunct test 2021-12-18 12:17:22 +09:00
Andy Piper
ae1f274919 autotest: set SMAX during autotune test 2021-11-29 19:02:38 +09:00
Peter Barker
2bf777ccb7 autotest: FETtec tests: give vehicle a chance to realise ESCs are dead
Should remove the race condition where we disable an ESC but the vehicle
doesn't realise and lets the vehicle arm.

Also, waiting this long causes the ESCs to just go missing, not give a
telemetry failure
2021-11-29 19:02:38 +09:00
Peter Barker
4903224b47 autotest: add test for FETtec OneWire ESCs
make sure the SERVO_FWT_MASK is valid:
  - it can have bit gaps between active channels, but channels higher than 12 are not allowed (AP_EST_TELEM limitation)
  - Explain that the FETtec ESC IDs inside the FETtec Firmware need to be contiguous and start at 1.
add tests for ESC power outages
add test that safety switch zeroes PWM for FETtec ESC
a gap in the beginning of the SERVO_FTW_MASK is now allowed, test it
2021-11-29 19:02:38 +09:00
Pierre Kancir
4049c15557 Tools: link AP_FETtecOneWire 2021-11-29 19:02:38 +09:00
Andrew Tridgell
c8b8aa1f4f Tools: define obal board 2021-11-29 19:02:38 +09:00
Samuel Tabor
b733f6cd95 autotest: fly_mission should respect mission_timeout when waiting for wps. 2021-11-29 19:02:38 +09:00
Samuel Tabor
5eea705234 autotest: Add plane test for landing with barometer drift. 2021-11-29 19:02:38 +09:00
Andrew Tridgell
5d360e8327 git: changed to https git protocol 2021-11-02 19:36:29 +11:00
Andrew Tridgell
644c56361c Tools: added bootloader for MatekF765-SE 2021-10-17 19:03:42 -04:00
Andy Piper
ecfdbaa01a Tools: add Pixhawk4-bdshot bootloader 2021-09-10 14:07:37 +09:00
Andy Piper
4171141a5f Tools: add CUAVv5-bdshot bootloader 2021-09-10 14:07:37 +09:00
Andy Piper
9a056d8097 Tools: add CUAVv5Nano-bdshot bootloader 2021-09-10 14:07:37 +09:00
mateksys
29a028d361 Tools: added MatekF765-SE to autobuild 2021-08-28 14:41:27 +09:00
Andrew Tridgell
3d58d71dfa autotest: disable broken test
missing upload_square_mission_items_around_location
2021-08-28 14:41:27 +09:00
Andrew Tridgell
eac9ec4392 autotest: add test for two consecutive drops with no reboot 2021-08-28 14:41:27 +09:00
Andrew Tridgell
47929df430 Tools: add Flywoo boards to board list and manifest 2021-08-28 14:41:27 +09:00
Andrew Tridgell
82f947a5ab Tools: bootloader for FlywooF745Nano 2021-08-28 14:41:27 +09:00
Peter Barker
4180fad6af autotest: rover: wait ready to arm before running motor test 2021-08-14 10:44:08 +09:00
Andrew Tridgell
87e5d47ed7 waf: add files from ROMFS_custom to ROMFS
this allows for lua scripts in the root of the source tree as ROMFS_custom/scripts/*.lua

it also allows for any other custom data files that may be
needed. This is cleaner for custom scripts than having the files in
AP_HAL_ChibiOS/hwdef/BOARD/scripts, and allows for the same scripts
working in SITL, Linux and ChibiOS
2021-08-14 10:44:08 +09:00
Leonard Hall
efd7042d44 Frame_params: update FILT to FLTE 2021-08-14 10:44:08 +09:00
Paul Riseborough
ad15d62941 Tools: Rework Plane.EKFlaneswitch autotest 2021-07-22 19:07:36 +09:00
Paul Riseborough
697cc5cb44 Tools: Rework Copter VibrationFailsafe test to use commanded land 2021-07-22 19:07:36 +09:00
Paul Riseborough
21dfefa5f2 Tool: Allow more time for quadplane autotest to land and disarm 2021-07-22 19:07:36 +09:00
Paul Riseborough
ed30a7ce35 Tools: relax navigation test accuracy 2021-07-22 19:07:36 +09:00
Paul Riseborough
8db073a8d6 Tools: Fix AIRSPEED_AUTOCAL test failure
The mission plan for this test causes a lot of overshoot when turning onto final approach with the result that there is still some lateral offset when passing the landing waypoint that is not a measure of estimator accuracy.
2021-07-22 19:07:36 +09:00
Peter Barker
65d0dcf3b7 Tools: split yaw-vehicle-for-mount-roi test out 2021-07-22 19:07:36 +09:00
Andy Piper
e2bf62e7fe iomcu: update for pulse width changes 2021-07-22 19:07:36 +09:00
Leonard Hall
88042ec153 Tools: Autotest update guided bitbask to include acceleration 2021-07-22 19:07:36 +09:00
Andrew Tridgell
72be5fc575 autotest: adjust test_altitude_types for small change in longitude_scale 2021-07-22 19:07:36 +09:00
Andrew Tridgell
df9950fbb3 Tools: allow for double EKF build 2021-07-22 19:07:36 +09:00
Andrew Tridgell
5bccdf5e5a waf: added --ekf-double configure option 2021-07-22 19:07:36 +09:00
Andrew Tridgell
843f87d618 Tools: install geocoder 2021-06-29 15:41:26 +10:00
Andrew Tridgell
d81b758d77 autotest: support using geocoder for -L location
this allows for location names from OSM, for example:

  sim_vehicle.py -L '26 Carstensz St Griffith' --console --map
2021-06-29 15:41:26 +10:00
Rafael Araujo Lehmkuhl
4f7da5867d Tools: Allow direct execution of firmware_version_decoder.py from command line 2021-06-29 09:24:04 +10:00
Peter Barker
99a0f5a86a autotest: disable quadplane ConfigErrorLoop test
failing on the autotest server (and locally).

AT-1474.6: RC values bad: (ch=1 want=1500 got=0)
AT-1474.6: AP: Config error: Baro: unable to initialise driver
AT-1474.6: AP: Config Error: fix problem then reboot
AT-1474.6: RC values bad: (ch=1 want=1500 got=0)
AT-1474.6: RC values bad: (ch=1 want=1500 got=0)
AT-1474.6: RC values bad: (ch=1 want=1500 got=0)
2021-06-27 11:09:39 +10:00
Randy Mackay
5ec75578ab Tools: add copter gps_glitch_loiter_test2
checks for twitches in Loiter after GPS glitch
2021-06-25 16:52:57 +09:00
Andrew Tridgell
220107b2a6 Tools: added boat circuit for Rabi 2021-06-25 15:33:55 +10:00
Andrew Tridgell
396094a82c Tools: added a mission around Rabi, close to -180 degrees lon 2021-06-25 15:33:55 +10:00
Andrew Tridgell
75ae2548a7 Tools: added some locations close to the date line 2021-06-25 15:33:55 +10:00
Andrew Tridgell
3204ce4bf1 Tools: added --postype-single for sim_vehicle.py 2021-06-24 21:34:30 +10:00
Andrew Tridgell
895ab6c089 waf: added --postype-single option
for SITL with single precision postype_t
2021-06-24 21:34:30 +10:00
Peter Barker
4c173e01ef autotest: increase number of parameter retries
sets were failing just after we uploaded very large numbers of
parameters.  I'm guessing the parameter queue in ArduPilot is still
full.
2021-06-24 17:58:31 +10:00
Peter Barker
4bb91d1ec1 autotest: shift where we print which attempt we are doing 2021-06-24 17:58:31 +10:00
Peter Barker
e6eb6dea3f Tools: mark decode_watchdog.py flake8-clean 2021-06-24 08:59:41 +10:00
Peter Barker
e38e026c6e Tools: mark build_examples.py flake8-clean 2021-06-24 08:59:41 +10:00
Peter Barker
4ea8c32c61 Tool: uploader.py: flake8-clean 2021-06-24 08:59:41 +10:00
Peter Barker
b35a586447 Tool: make_apj.py: flake8-clean 2021-06-24 08:59:41 +10:00
Peter Barker
fad9b5d345 Tool: pretty_size_diff.py: flake8-clean 2021-06-24 08:59:41 +10:00