Commit Graph

7329 Commits

Author SHA1 Message Date
Bredemeier, Fabian (TD-M)
bc3b923ff6 Tools: Remove legacy code from sid_pre.m
Fixes #22594
2023-01-10 14:39:08 +11:00
rishabsingh3003
1c49373088 Tools: Add autotest for checking terrain db pre arm for copter auto mission 2023-01-10 13:22:44 +11:00
Peter Barker
65915441b6 Tools: make check_var_info void
Given all the callers die anyway, make it void
2023-01-10 10:48:15 +11:00
Rhys Mainwaring
c7b969a8b7 Tools: Update ardupilot_gazebo install script
- Update prerequisites
- Update workspace and build order.
- Update GZ envs.

Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
2023-01-10 08:33:05 +09:00
Pierre Kancir
a25e6bbb2d CI: remove pip progress bar to reduce logs size 2023-01-10 07:18:44 +11:00
Andrew Tridgell
6d2e060deb waf: add -fcheck-new to g++ build
this ensures the compiler doesn't assume that new always returns a
non-NULL value. Without this the compiler may remove the error path in
code like this:

```
MyObject *x = new MyObject;
if (x == nullptr) {
  ::printf("Alloc failed\n");
}
```

the reason it can do this is the new operator is marked as throwing an
exception on failure, which means the error path is unreachable. As we
don't have C++ exceptions in ArduPilot could (and do!) have code that
ends up losing protection against allocation failures
2023-01-09 15:04:22 +11:00
bugobliterator
cf2d1ec290 Tools: fix CI error while building for macos 2023-01-08 11:48:33 +11:00
auturgy
82ad70968f AP_Bootloader: sync ArduPilot and PX4 boards.txt
This PR aligns boards.txt between ArduPilot and PX4. A matching PR will be submitted to the other repo.
2023-01-07 21:06:54 +11:00
Sanket Sharma
20550d42a9 updated ardupilot_gazebo source and dependencies 2023-01-07 08:13:37 +09:00
Sanket Sharma
3a85f1152b Tools: Add ardupilot_gazebo install script
Added ardupilot_gazebo package for simulation purposes
2023-01-07 08:13:37 +09:00
Peter Barker
f20769057b autotest: give WindEstimate more time to converge
this was right on the edge
2023-01-06 15:06:22 +11:00
Tom Pittenger
401f55254b Tools: fix wsl2 check in sim_vehicle to match uploader.py 2023-01-06 11:27:52 +11:00
Peter Barker
d9564d973d autotest: fix un-set variable problem in verify_innov 2023-01-06 11:11:22 +11:00
Tom Pittenger
c68bab44a5 Tools: fix wsl2 sim_vehicle.py host IP check 2023-01-05 19:45:41 +09:00
WillyZehnder
b64cec7e36 Tools:environment_install:install-prereqs-ubuntu.sh: Mint to Ubuntu
translate Mint-codenames to Ubuntu-codenames
2023-01-05 08:30:42 +11:00
Peter Barker
f5320f1691 autotest: rover: remove pointless try/except block 2023-01-05 07:29:44 +11:00
Tom Pittenger
642ebb44cf Tools/autotest: automate sim_vehicle in WSL2 2023-01-04 20:03:34 +11:00
Peter Barker
1a262010ff autotest: simplify Plane Rangefinder test
this was written before there was an implicit context and reboot-on-failure at the level calling these tests
2023-01-04 18:29:41 +11:00
Peter Barker
128a6430de autotest: add test for AHRS backend wind estimates 2023-01-04 12:30:27 +11:00
Peter Barker
f0641f2734 Tools: implement parameter CopyFieldsFrom and use it 2023-01-03 11:08:43 +11:00
Iampete1
7b171867af Tools: autotest: set new ARSPD_ENABLE param where needed 2023-01-03 10:17:56 +11:00
Iampete1
bba1d0b9d9 AP_Periph: rename airspeed param group to match vehicles 2023-01-03 10:17:56 +11:00
Iampete1
cb6891821e AP_Periph: always call airspeed init to allow param conversion 2023-01-03 10:17:56 +11:00
Iampete1
e4f3720e9b Tools: update for new airspeed tube order param name 2023-01-03 10:17:56 +11:00
Peter Barker
7d38164176 autotest: add simple test for LoiterAltQLand 2022-12-31 10:58:19 +11:00
Leonard Hall
fea86f78ca AutoTest: Increase mission timeout to account for lower corner acceleration 2022-12-30 17:03:32 +09:00
Peter Barker
d23be442a1 test_build_options.py: add a list of must-have-defines for a board to compile
these are likely to be barometers at least initially...
2022-12-30 10:59:52 +11:00
Peter Barker
6651818215 autotest: test_build_options.py: correct invocation of test_enable_features 2022-12-30 10:59:52 +11:00
Andy Piper
60dcb0423a autotest: add basic FFT post-filter test
record gyro data in FFT postfilter test
check post-filter gyro logging and change notch settings for post-filter FFT
add motor noise test
FFT SNR now has sensible default for post-filter
2022-12-28 18:14:56 +11:00
Peter Barker
cbecb20614 autotest: param_parse.py: allow Values and Bitmasks to span multiple lines 2022-12-28 13:21:18 +11:00
Peter Barker
a71911c19f autotest: ensure vehicle is armed before issuing takeoff command
sending the arm command isn't sufficient if there are other arming problems.

Caught a test failing when throttle was found to be high - I think the rc(3, 1700) was managing to have effect before we processed the arm command because of the way the input queues to ArduPilot SITL work
2022-12-27 11:32:19 +11:00
Peter Barker
89ecd8fb17 autotest: create a context-per-check whentesting motors blocked
without this all subsequent tests will find the string in the context's collection of statustexts.  So use a context-per-mode
2022-12-27 11:32:19 +11:00
Peter Barker
5a429a9a79 github: macosx: remove github-installed Python symlinks in /usr/local/bin
installing packages fails as symlinks that brew wants to install already exist

https://github.com/orgs/Homebrew/discussions/3895
2022-12-26 14:14:38 +11:00
Peter Barker
ec0b51dadd Tools: add --no-merge-base option to size_compare_branches.py 2022-12-24 08:56:49 +11:00
Henry Wurzburg
6348fd5f86 AP_HAL_ChibiOS: free space on ReaperF745 2022-12-23 11:04:35 +11:00
Henry Wurzburg
5cf6bf1520 Tools: rename to ReaperF745 2022-12-23 11:04:35 +11:00
Bredemeier, Fabian (TD-M)
2abfb1bec8 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 structs
- sid_sim_init.m: Loads signals and parameters from Matlab structure into Simulink model
- sid_controller_validation.m: Validation of the flight controller model with the flight data loaded to the Matlab workspace.
2022-12-23 09:57:21 +11:00
Peter Barker
f44a50bdd8 autotest: use epsilon when testing for zero variance in EK3_RNG_USE_HGT 2022-12-22 21:12:39 +11:00
Peter Barker
73d1c28e23 Tools: macos-env: overwrite files when upgrading Python
the 3.10.8 to 3.10.9 upgrade is failing in CI
2022-12-22 14:58:21 +11:00
Randy Mackay
5148698dc8 Tools: correct autotest copter-gimbal .parm 2022-12-22 10:05:44 +11:00
Andrew Tridgell
909a9f77fa Tools: fixed for new openocd syntax 2022-12-21 19:52:31 +11:00
Andrew Tridgell
3a725ad1b0 autotest: removed deprecated distutils
prevent deprecation warning
2022-12-20 11:14:05 +11:00
Leonard Hall
aedac8a6d0 Model: Callisto param update Yaw D 2022-12-20 08:48:43 +09:00
Andrew Tridgell
51acbadcec Tools: added MatekL431-BattMon bootloader 2022-12-20 10:44:52 +11:00
Andrew Tridgell
69cb6796f3 AP_Periph: send GNSS Heading message
if not sending RelPosHeading then send Heading message if we have yaw
2022-12-20 10:23:58 +11:00
Andrew Tridgell
dcab2d2f2a AP_Periph: cope with GPS without yaw accuracy 2022-12-20 10:23:58 +11:00
Andrew Tridgell
0a518077ca Tools: added C-RTK2-HP bootloader 2022-12-20 10:23:58 +11:00
Andrew Tridgell
26fbd38f2e Tools: added NMEA_UNICORE to build options 2022-12-20 10:23:58 +11:00
Peter Barker
86864ad3a5 Tools: build_options.py: mention that the DPS280 driver also runs the DPS310 2022-12-19 12:11:27 +11:00
Leonard Hall
350e18fb94 Model: Callisto param update 2022-12-19 07:59:48 +09:00