bugobliterator
948a0012c5
waf: fix build issue on cygwin after changes for external flash
2021-09-06 18:04:48 +10:00
Andy Piper
36283daf0e
Tools: openocd config for h7
2021-09-06 11:01:16 +10:00
Josh Henderson
9d32e481c2
Tools: locations.txt move Grand Canyon to better defined terrain data
2021-09-04 17:00:10 +10:00
Pierre Kancir
575c608688
Tools: allow to use sim_vehicle.py without pymavlink installed
2021-09-04 07:49:42 +10:00
Pierre Kancir
2e71c6fc98
Tools: don't install MAVProxy submodule Cesium on CI
2021-09-03 13:18:22 +10:00
Peter Barker
e5c35d399c
autotest: re-enable Heli spline waypoint test
...
position controller has been completely rewritten, so the bug should be
gone now....
2021-09-03 12:46:33 +10:00
Andrew Tridgell
6e33910c25
AP_Periph: use a longer loop delay on non-H7
...
the short delay broke the F412 based CUAV_GPS
2021-09-02 21:56:03 +10:00
Peter Barker
b9d62e7ff2
autotest: add test for setting multiple messages to same rate
2021-09-02 09:24:11 +10:00
Peter Barker
42c2f8d9f3
Revert "Tools: comment out the FETtecESC_safety_switch() function for now because it is failing"
...
This reverts commit d53299ecb0
.
2021-09-01 18:25:51 +10:00
bugobliterator
5940cfac8a
waf: move SRCROOT env variable setting to common Board class
2021-09-01 17:10:53 +10:00
Siddharth Purohit
47a3298236
CPUInfo: print time upto 4 decimal points
2021-09-01 17:10:53 +10:00
Siddharth Purohit
2dc51d9bae
Tools: handle unsupported ext flashsize
2021-09-01 17:10:53 +10:00
Siddharth Purohit
7cf9db4cc9
AP_Bootloader: fix bootloader build issues
2021-09-01 17:10:53 +10:00
Siddharth Purohit
1afbf666ad
AP_Bootloader: remove dependency on Semaphores in QSPIDevice
2021-09-01 17:10:53 +10:00
Siddharth Purohit
fc4be3695f
AP_Bootloader: add support for running from external flash
2021-09-01 17:10:53 +10:00
Siddharth Purohit
35df1b1bd3
Tools: add support for uploading firmware to boards with external flash
2021-09-01 17:10:53 +10:00
Siddharth Purohit
f15f5e9334
waf: create separate image sections for internal and external flash
2021-09-01 17:10:53 +10:00
Siddharth Purohit
75bcc76189
AP_Bootloader: add support for flashing erasing and verifying ext flash
2021-09-01 17:10:53 +10:00
Siddharth Purohit
3317b0aff8
Tools: add support to erase external flash in bootloader
2021-09-01 17:10:53 +10:00
Siddharth Purohit
a1499f9593
AP_Bootloader: add support for erasing external flash
2021-09-01 17:10:53 +10:00
Siddharth Purohit
edb590e055
AP_Bootloader: fix variable name for External flash support
2021-09-01 17:10:53 +10:00
Siddharth Purohit
8dff6dd27b
AP_Bootloader: build FlashIface for bl with external flash support
2021-09-01 17:10:53 +10:00
TunaLobster
1df66731c8
Tools: Add rstlatexpdf emitter
2021-08-31 09:28:03 +10:00
Iampete1
dd031dd43e
Tools: autotest: default_params: tri: set MOT_YAW_SV_ANGLE to 60
2021-08-28 10:32:59 +09:00
Peter Barker
3d1ed896c8
Tools: make_intel_hex.py: show required size in error message
2021-08-27 17:26:28 +10:00
Marcelo Rodrigues
92b179e0f3
AP_Bootloader: add SKYSTARSF405DJI
2021-08-27 08:54:37 +10:00
Patrick José Pereira
24713326a2
Tools: scripts: Improve help text to make it clear which format is accepted
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2021-08-27 07:35:32 +10:00
Patrick José Pereira
47d2021780
Tools: scripts: Add PIE support in firmware_version_decoder
...
Calculate pointer offset for PIE (Position Independent Executables) binaries.
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2021-08-27 07:35:32 +10:00
Andrew Tridgell
70764bfaeb
Tools: added BirdCANdy bootloader
2021-08-26 09:43:39 +10:00
Andrew Tridgell
d3c367d0fe
Tools: added BirdCANdy to build list
2021-08-26 09:43:39 +10:00
Marek S. Łukasiewicz
47f2e13024
HAL_ChibiOS: Add hwdef for BirdCANdy
2021-08-26 09:43:39 +10:00
Iampete1
2fa24fa7da
Tools: autotest: enable tailsitter for tailsitter test
2021-08-25 14:34:50 +01:00
yaapu
17cdb07bd5
Tools:autotest: added test for FRSky PassThrough WIND frame 0x500C
2021-08-25 17:13:16 +10:00
Peter Barker
784d1ddf7c
waf: check for AP_PERIPH define in hwdef includes
2021-08-25 10:09:23 +10:00
bugobliterator
2970c865c8
AP_Bootloader: add HereID to board types
2021-08-25 10:09:23 +10:00
Gone4Dirt
b4346ba5a3
Autotest: Update RPM in default params
2021-08-25 09:36:58 +10:00
Gone4Dirt
fba15f3035
Autotest: Update RPM param.
2021-08-25 09:36:58 +10:00
Andrew Tridgell
4169656176
Tools: added MCU_STATUS message
2021-08-25 07:11:31 +10:00
Josh Henderson
695ad5b4f6
Autotest: BaroDrivers tighten leeway for pressure and temp deltas
2021-08-24 09:55:01 +10:00
TunaLobster
7d92ab1fb0
Tools: Fix emit.py regex
2021-08-23 14:44:27 +10:00
bugobliterator
f790a66781
.github: set specific version of pyenv so pyenv upstream doesn't break our CI
2021-08-20 17:53:53 +10:00
TunaLobster
6381297215
Tools: Move reboot required from table to note
2021-08-20 11:23:21 +10:00
Peter Barker
c443a93b15
autotest: add grand-canyon location
2021-08-20 10:51:03 +10:00
Samuel Tabor
9f77d5ac9d
autotest: fly_mission should respect mission_timeout when waiting for wps.
2021-08-19 17:59:33 +10:00
Samuel Tabor
3a185e7533
autotest: Add plane test for landing with barometer drift.
2021-08-19 17:59:33 +10:00
bugobliterator
90c9fb7804
AP_Periph: manage separate transfer ids for different transfer desc
2021-08-19 14:20:58 +10:00
bugobliterator
bb65ab83be
AP_Periph: reduce Rx latency by reading while sitting in delay
2021-08-19 14:20:58 +10:00
bugobliterator
aa9a40acf5
AP_Periph: add a way to transmit MovingBaseline Data on another port
2021-08-19 14:20:58 +10:00
bugobliterator
54f03b9b64
AP_Periph: add support for moving baseline heading
2021-08-19 14:20:58 +10:00
TunaLobster
b5f7fca254
Tools: parameter emitter spelling pass
2021-08-19 10:00:16 +10:00
Andy Piper
3483df5303
Tools: add Flywoo boards to board list and manifest
2021-08-18 17:06:09 +10:00
Andy Piper
6c26dd075b
Tools: bootloader for FlywooF745Nano
2021-08-18 17:06:09 +10:00
Josh Henderson
70166c8173
autotest: add battery_charge_state ok & low tests
2021-08-18 15:32:28 +10:00
Peter Barker
12ac5174d7
autotest: check battery_status.charge_state is critical on failsafe
2021-08-17 14:40:55 +10:00
Dr.-Ing. Amilcar do Carmo Lucas
d53299ecb0
Tools: comment out the FETtecESC_safety_switch() function for now because it is failing
...
I do not understand why it is failing, and failed at fixing it.
2021-08-13 16:22:37 +10:00
Peter Barker
20f58afa93
Tools: complete rewrite of the ESC-configuration state machine
...
Co-authored-by: Dr.-Ing. Amilcar do Carmo Lucas <amilcar.lucas@iav.de>
tidy message sending using templates
Calculate and enforce the minimum update period.
Disable unused features to save flash
forced time gaps between all transmits
correct ESC reset functionality
Avoid re-initialization repeatition
Make sure we stop FETtec if safety is on (ignore reverse) this reduces duplicated code
Error count calculation changed
as the telemetry error count is absolute only the overflow status can be safed and used for the percentage calculation
Update the README to add autotests information
FETtec needs a time gap between frames
This allows running at high fast_loop_rates
do not send fast_throttle data if a configuration command just got sent
Example parameter configuration file is for a Quadcopter with ESCs connected to Telem2
remove two FIXME
fix compilation in master
Fix the ESC not re-initializing issue.
Now we re-init whenever we loose connection
RVMASK parameter changes only take effect when not armed
Improve documentation
Always use the same wording when referring to fast-throttle commands
fix pre-arm check message
assure the length of the memmove is positive
Set HAL_AP_FETTEC_CONFIGURE_ESCS to 0 when no ESC hardware is available and you want to test the UART send function
2021-08-13 16:22:37 +10:00
Peter Barker
e263063600
autotest: a gap in the beginning of the SERVO_FTW_MASK is now allowed, test it
...
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
2021-08-13 16:22:37 +10:00
Peter Barker
3bc4cf710f
autotest: add test for FETtecESC
2021-08-13 16:22:37 +10:00
Pierre Kancir
28706f5e23
Tools: link AP_FETtecOneWire
2021-08-13 16:22:37 +10:00
Mike Lyons
12ccb6df1d
Tools: added name to GIT_Success.txt
2021-08-13 14:21:35 +09:00
Peter Barker
0d4bee8f7b
autotest: except QRTL/QLAND from airmode tests due to non-armability
...
The test wasn't checking the return value for arming, so of course the
motors weren't spinning.... now we've fixed the checked-for-arming thing
these two modes were failing.
2021-08-13 13:40:28 +10:00
Peter Barker
8fc6e98900
autotest: raise exception for arm/disarm failures on switch/rc
...
Users were calling these without checking the return values. Make that
a non-issue
2021-08-13 13:40:28 +10:00
Peter Barker
5e81026e78
autotest: add option to hard-reset after every test
2021-08-13 08:01:20 +10:00
Peter Barker
013bee99f4
autotest: rover: wait ready to arm before running motor test
2021-08-13 08:00:52 +10:00
Peter Barker
d03cfb8615
autotest: Plane: wait for origin before enabling fence
...
we load into memory as origin-relative positions
2021-08-12 20:34:36 +10:00
bugobliterator
dba40481c6
Tools: add CubeOrange-periph to CI build test
2021-08-12 07:57:12 +10:00
bugobliterator
acab1478a2
AP_Periph: fix build error
2021-08-12 07:57:12 +10:00
Peter Barker
cccec5c21c
autotest: add test for FRSkyD battery
2021-08-11 15:17:43 +10:00
bugobliterator
1d81eb5c47
AP_Periph: fix checking compass available before init
2021-08-11 07:47:56 +10:00
Andrew Tridgell
fadadfb50e
waf: avoid problem with custom build server
...
this happens on custom build server when building into a new directory
2021-08-10 21:34:36 +10:00
Andrew Tridgell
11b073841f
Tools: auto-build Swan-K1
2021-08-10 10:08:05 +10:00
Andrew Tridgell
5b95f92984
Tools: added Swan-K1 bootloader
2021-08-10 10:08:05 +10:00
Leonard Hall
3d68d9c32a
Frame_params: update FILT to FLTE
2021-08-10 08:33:56 +09:00
xianglunkai
27dd97383c
Tools: added name to GIT_Success.txt
2021-08-09 19:24:32 +09:00
Peter Barker
abb6521127
Revert "autotest: use SIM_STATE (common.xml) instead of SIMSTATE (ardupilotmega.xml)"
...
This reverts commit 540a56adb8
.
Polling this message caused issues on reboot - shouldn't be a problem
but is.
Retrying that showed that the Tracker GUIDED test failed reliably due to
a yaw problem.
2021-08-07 16:18:05 +10:00
Pierre Kancir
231ee84ab9
Tools: correct author name formatting
...
prevent error
fatal: --author 'pierre.kancir.emn@gmail.com' n'est pas de la forme 'Nom <email>' ni ne correspond à aucun auteur existant
2021-08-06 23:52:49 +10:00
Peter Barker
44d5885d99
autotest: augment blending test to ensure GPS switch events make log
2021-08-06 15:30:18 +10:00
Andrew Tridgell
2b1e80c70d
Tools: copy board_list.py for build_binaries.py
2021-08-06 10:00:08 +10:00
Andrew Tridgell
3c0238ce8b
Tools: break out boards list
...
this is to help with the custom build server
2021-08-06 07:35:37 +10:00
Andrew Tridgell
0ea26b4d3a
AP_Periph: fixed float16 conversions for scalars
...
libcanard does already convert scalars, but doesn't convert arrays. By
calling fix_float16 on scalers we were double converting, which
reduced resolution.
2021-08-05 19:04:41 +10:00
Peter Barker
540a56adb8
autotest: use SIM_STATE (common.xml) instead of SIMSTATE (ardupilotmega.xml)
...
It is a useful superset
2021-08-05 18:35:11 +10:00
Peter Barker
27fcb3a100
autotest: fix simstate error message
2021-08-05 18:35:11 +10:00
Peter Barker
ca35d01baa
autotest: move upload_simple_relhome_mission up
2021-08-05 10:38:03 +10:00
Andrew Tridgell
37935262ff
AP_Periph: fixed formatting errors
2021-08-05 09:43:35 +10:00
Andrew Tridgell
751b901ed9
Tools: fixed printf format errors
2021-08-05 09:43:35 +10:00
Josh Henderson
162b3b70cf
Autotest: use MAV_POS_TARGET_TYPE_MASK, remove POS_TYPE_MASK_FORCE
2021-08-03 12:48:38 +10:00
Andrew Tridgell
54d92551d1
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-03 10:57:38 +10:00
Peter Barker
8e72dc32d1
autotest: add test home is restored persistently on wdog reset
2021-08-03 10:36:50 +10:00
Andrew Tridgell
e6f15ed6c0
autotest: cope with WriteStreaming() in doc tests
2021-08-03 10:23:36 +10:00
Josh Henderson
1cb11a5ff2
Tools: autotest change smartbatt param names
2021-08-03 09:36:26 +10:00
Iampete1
27b324742e
Tools: sim_vehicle: pass on slave comandline CMD
2021-08-03 09:22:19 +10:00
Andrew Tridgell
19a9e1a416
Tools: cope with build_binaries.py being copied out
...
the build server uses a copy of build_binaries.py, so __file__ isn't
the right directory
2021-08-01 13:28:09 +10:00
Andrew Tridgell
a0da76243d
autotest: reboot after AHRS_ORIENTATION test
...
the EKF can be left very unhappy by this test
2021-07-31 10:01:14 +10:00
Peter Barker
d40587062e
AP_Periph: use AP::compass().available in place of enabled()
2021-07-30 12:19:42 +10:00
Braedon O'Meara
de91058b1a
Tools: Add tmux support to run_in_terminal_window.sh
...
Added in an option so that if running SITL in a tmux session it will open a new window in tmux.
More or less an alternate option to screen.
It will detect if its running in a tmux session by checking the $TMUX and $TERM env variables.
I put it before other options because when I am running a tmux session even in a GUI environment
I would prefer a new Tmux window compared to a new terminal.
This will only run if youre already in a tmux session it will not launch a new session.
2021-07-30 12:05:15 +10:00
Peter Barker
2ae483cee0
autotest: stop uploading artifacts to autotest server
...
github action's CI is good at this
2021-07-30 11:32:59 +10:00
Andrew Tridgell
69376cdb5f
Tools: added mRo M10095 bootloader
2021-07-30 10:20:52 +10:00
Andrew Tridgell
4b0736ecf4
Tools: added bootloader for G491
2021-07-30 10:20:52 +10:00
Andrew Tridgell
adb8e1fc7e
Tools: added mRo-M10095 board type
2021-07-30 10:20:52 +10:00
Andrew Tridgell
f507e85f10
Tools: added Nucleo-491
2021-07-30 10:20:52 +10:00
Andrew Tridgell
cfdf91e18a
AP_Bootloader: fixed G4 MCU descriptions
2021-07-30 10:20:52 +10:00
Iampete1
d2a14f4283
Tools/ardupilotwaf: make skipped summary warning red
2021-07-28 18:25:27 +10:00
Peter Barker
7929122f49
autotest: improve AHRS trim test
2021-07-28 17:20:28 +10:00
Peter Barker
909decc5be
autotest: move wait_attitude up to common.py
2021-07-28 17:20:28 +10:00
bugobliterator
6f3e3a913a
AP_Periph: fix dna wait blink
2021-07-28 17:09:41 +10:00
Andrew Tridgell
791b043586
waf: added 10.2.1 gcc to whitelist of compilers for -Werror
2021-07-27 19:50:21 +10:00
Andrew Tridgell
243dc06fd4
Tools: switched development to the 10.2.1 compiler for STM32
2021-07-27 19:50:21 +10:00
Andrew Tridgell
e95abce466
Tools: use 10.2.1 compiler for latest builds of ChibiOS boards
2021-07-27 19:50:21 +10:00
Andrew Tridgell
18cbd25828
Tools: removed remnants of px4 build support
2021-07-27 19:50:21 +10:00
Andrew Tridgell
66bad7b885
waf: added --assert-cc-version configure option
...
this will allow build_binaries.py to confirm it is using the right
compiler for each build
2021-07-27 19:50:21 +10:00
Peter Barker
da3ff2c142
autotest: add test for live change of AHRS orientation
2021-07-27 17:28:09 +10:00
Peter Barker
04ddc9de03
autotest: correct order of progress vs action in set-param
2021-07-27 16:51:48 +10:00
Peter Barker
e1884bcd6e
autotest: run dumpstack/dumpcore on stuck SITL process
2021-07-27 16:51:48 +10:00
Peter Barker
f20644b6cf
board_types.txt: reserve ID for Argosdyne DP1000
2021-07-26 18:54:00 +10:00
mateksys
08cd1171bf
Tools: added MatekF765-SE to autobuild
2021-07-26 18:13:46 +10:00
Hwurzburg
2c83ab264f
Tools: Add Qiotek f103 periph to build list
2021-07-26 18:12:37 +10:00
bugobliterator
35d94b17eb
AP_Periph: add support for MAVLink for HerePro
2021-07-26 13:45:43 +10:00
Andrew Tridgell
ea84f295ea
Tools: updated MambaF405US-I2C bootloader
...
this was forgotten in the PR
2021-07-26 06:22:05 +10:00
Andrew Tridgell
299b3ef200
AP_Periph: fixed msp gps yaw
...
build failed with 10.2 compiler, but is a real bug
2021-07-25 21:00:09 +10:00
Isaac Alich
c84a880de4
Tools: Add Diatone MambaF405US-I2C
2021-07-25 09:28:17 +10:00
Paul Riseborough
9207744152
Tools: Rework Plane.EKFlaneswitch autotest
2021-07-22 18:20:45 +10:00
Paul Riseborough
7f3980c1f4
Tools: Rework Copter VibrationFailsafe test to use commanded land
2021-07-22 18:20:45 +10:00
Paul Riseborough
ef1dda005f
Tool: Allow more time for quadplane autotest to land and disarm
2021-07-22 18:20:45 +10:00
Paul Riseborough
ff1c465a17
Tools: relax navigation test accuracy
2021-07-22 18:20:45 +10:00
Paul Riseborough
a0ae998a4d
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 18:20:45 +10:00
Andrew Tridgell
d181adfa75
Replay: added --accuracy option
...
useful for finding what has diverged
2021-07-21 17:55:04 +10:00
Peter Barker
eff4bc4cfb
autotest: drain pexpects in set_parameters loop
...
This loop doesn't self.mav.recv(), so the idle loop isn't called, so the
pexpects aren't drained. That can cause ArduPilot to block on stderr if
it is trying to print a stacktrace, for example
2021-07-21 17:05:17 +10:00
Peter Barker
27de0a3d23
autotest: add new Copter yaw tests
2021-07-21 17:05:01 +10:00
Peter Barker
43a4ea734f
autotest: add some diagnostics for missing processes
2021-07-21 15:50:50 +10:00
bugobliterator
65606b4d1d
Tools: add debug target in CI build script
2021-07-21 11:27:52 +10:00
Peter Barker
571ae46b0f
Tools: split yaw-vehicle-for-mount-roi test out
2021-07-19 18:16:13 +10:00
Andrew Tridgell
618fa156c7
autotest: added --replay option to autotest
...
make for easy creation of EKF replay logs
2021-07-16 21:13:53 +10:00
Andrew Tridgell
e52b9f78c2
autotest: fixed tuning of tilthvec quadplane model
2021-07-16 08:41:47 +10:00
Siddharth Purohit
1af2453b54
AP_Bootloader: ignore cast alignment when reading from flash
2021-07-15 07:50:12 +10:00
Siddharth Purohit
7a2c460496
waf: remove cast-align disable flags from CXXFLAGS
2021-07-15 07:50:12 +10:00
Stephen Dade
d5d2aa011c
Tools: Force Cygwin environment install to use GCC 7.4
2021-07-14 18:19:05 +10:00
Andy Piper
c5b323fcb6
iomcu: update for pulse width changes
2021-07-14 17:50:06 +10:00
Peter Barker
2ae6030f0c
autotest: add baro i2c drivers autotest
2021-07-14 17:46:15 +10:00
Peter Barker
d2be5231cb
ardupilotwaf: probe external baros in SITL
2021-07-14 17:46:15 +10:00
Peter Barker
14d271776e
autotest: break out a fly_mission method
2021-07-14 17:46:15 +10:00
Peter Barker
53e980bada
autotest: add test for two consecutive drops with no reboot
2021-07-14 16:38:36 +09:00
bugobliterator
ef48d706ed
AP_Periph: do not wait for DNA to finish before starting AP_Periph
2021-07-14 15:18:42 +10:00
bugobliterator
a9fda29d42
AP_Periph: remove return res from canard_broadcast
2021-07-14 15:18:42 +10:00
bugobliterator
64c41e51ba
AP_Periph: use range for loop instead of indexed for loops
2021-07-14 15:18:42 +10:00
Siddharth Purohit
67ed54bfca
waf: add option to disable Watchdog
2021-07-14 15:18:42 +10:00
Siddharth Purohit
6d76990c1e
AP_Bootloader: add option to disable Watchdog
2021-07-14 15:18:42 +10:00
Siddharth Purohit
3ed53c58e9
AP_Periph: provide separate instances of canard objects per iface
2021-07-14 15:18:42 +10:00
Peter Barker
9fb7ef915e
Tools: add support for ms5525 i2c sensor
2021-07-13 12:00:37 +10:00
Pierre Kancir
8234fd4c39
Tools: autotest: add IRLock SITL test
2021-07-12 17:50:31 +10:00
Peter Barker
9ff77d8f1c
Tools: remove AC_TERRAIN compilation option
...
Use AP_TERRAIN_AVAILABLE instead
2021-07-12 17:34:44 +10:00