Julian Oes
2703a34900
mavsdk_tests: add link back to github action
4 years ago
Julian Oes
64d0ce43b6
mavsdk_tests: upload to logs.px4.io in test_runner
...
By doing the upload directly inside the mavsdk_test_runner.py we have
more context such as the model, case, etc.
4 years ago
Julian Oes
2315618b85
mavsdk_tests: use autopilot timestamps to sleep
...
This way we should be able to avoid some of the timeouts happening on
the PX4 side if MAVSDK doesn't send setpoints in time.
4 years ago
Julian Oes
6c26387e85
mavsdk_tests: try to prevent auto-disarm
...
We should not spend too much time sending RC init messages because if it
takes too long, we might auto-disarm in the meantime.
4 years ago
Julian Oes
c1de27acf7
mavsdk_tests: use more conservative speed_factor
4 years ago
Julian Oes
0ebb8c6981
mavsdk_tests: use microseconds to avoid sleep(0)
4 years ago
Julian Oes
b6b9ce5f11
mavsdk_tests: robustify test by climbing longer
4 years ago
Julian Oes
b79553862e
mavsdk_tests: remove timeout for mission upload
...
Just use what is MAVSDK internal.
4 years ago
isidroas
0c5291d194
Heading reset to magnetometer from GPS or EV ( #969 )
4 years ago
Mathieu Bresciani
d4258cc66d
yaw emergency: check angle between vel observation and estimate ( #975 )
...
use thresholds based on state and obs variance
* [AUTO COMMIT] update change indication
4 years ago
Julian Oes
aca1e85da4
mavsdk_tests: don't forget to check for rootfs dir
4 years ago
Julian Oes
4184c204c4
autopilot_tester: don't poll mission progress
...
Instead use subscription here as well in order not to miss an update.
4 years ago
Julian Oes
2971ce8664
mavsdk_tests: don't clear logs
4 years ago
Julian Oes
176d932f23
mavsdk_tests: prevent missing updates
...
It seems like we are often missing updates from topics like flight mode
or in air state, both topics that are sent out infrequenctly e.g. at 1
Hz. Therefore, instead of polling for that data we should probably
subscribe to the updates and that way get notified of each an every
update.
For instance this should prevent the case where we miss the mode change
from mission to descend and back to mission once landed and disarmed.
4 years ago
Julian Oes
2772022785
mavsdk_tests: disable mag stuck test
...
The estimator sometimes diverges in vz after landing which makes the
test fail. This needs to be dealt with first before we can enable the
test again.
4 years ago
Julian Oes
e592bed7d3
mavsdk_tests: use timestamp from attitude field
...
The flight_information field was not updated often enough which lead
to timeouts.
4 years ago
Julian Oes
397fa84cd0
mavsdk_tests: add time in front of debug lines
4 years ago
PX4BuildBot
9521e81b09
[AUTO COMMIT] update change indication
4 years ago
PX4 BuildBot
ae0c054d75
Update geo_lookup WMM to latest Mon Feb 8 11:48:14 UTC 2021
4 years ago
Julian Kent
14cb98a6b4
Increase corridor check thresholds for mission tests
4 years ago
Julian Kent
977cf52322
Ignore debug line in code coverage
4 years ago
priseborough
c25c97f8b5
[AUTO COMMIT] update change indication
4 years ago
Paul Riseborough
96418101e1
test: Allow for larger vel variance growth due to dvel bias variance
4 years ago
Paul Riseborough
1b1c049e81
test: Update unit test to match expected behaviour
4 years ago
bresch
c212975abe
rng height: reset to baro using common logic
...
The failsafe from rng height to baro height should occur after a reset
to baro triggered by the controlHeightSensorTimeouts function and not in
the fusion selector.
Until now, the EKF was fusing baro measurements between rng updates if
the range finder ODR was slower than the EKF update rate. This is not
the case anymore as the height reset occurs after 5 seconds.
The unit test has been extended to show this behavior.
4 years ago
bresch
211c84c85b
Rng finder unit test: cover "un-stuck" logic
4 years ago
Julian Kent
054f8b12f4
Use a single inverse implementation for a single matrix size
4 years ago
Lorenz Meier
fda63f802e
Tone alarm: Adjust log levels
...
The earlier log levels represented normal operation scenarios as errors, this aligns the log levels.
4 years ago
Lorenz Meier
3cc53f551d
MAVSDK tests: Use full system timeout off
...
Depending on loop iterations for timeouts is not accurate, as usleep behavior depends on the system load and asking for a 0 ms sleep can potentially return immediately.
4 years ago
Lorenz Meier
565da15f2f
MAVSDK test: Increase timeout
4 years ago
Mathieu Bresciani
18f334f4db
flow: add unit test for yaw motion ( #950 )
4 years ago
Julian Kent
15e54ceda1
Rework rank-detection tolerance in pseudoinverse
4 years ago
Julian Kent
d9a5e3dec2
Add test for new cutoff threshold
4 years ago
JacobCrabill
ea43303c1c
test/vector3: Add test for scalar +/- operators
4 years ago
Daniel Agar
398fe159ce
EKF: allow initialising without mag depending on configuration
...
- reduce initial number of required mag and baro samples before init
4 years ago
Mathieu Bresciani
5ccb8b457d
fakePosFusion: reset _last_known_posNE to current state when starting ( #943 )
...
* [AUTO COMMIT] update change indication
4 years ago
Daniel Agar
1541e4b414
EKF: update control status and fault status getters
...
- the fault status union exceeded 16 bits, but the getter was get_filter_fault_status(uint16_t *val)
4 years ago
Mathieu Bresciani
8f3df7a97b
flow: restructure optical flow control logic ( #928 )
...
- extract motion checks performed on ground
- move all non-timing check to controlOpticalFlowFusion. This simplifies and standardirzes the setOpticalFlowData function. Furthermore, in some cases (SITL, PX4Flow), the dt is forced to 0 when the quality is 0 (which is usual on ground) so the ekf needs to ignore those values on ground to initialize properly the flow fusion.
- add filter convergence test
- move check for dt time max in setOpticalFlowData
- in the simulator, do not update dt as this is the sensor integration
period.
4 years ago
Daniel Agar
03cfcb903e
EKF: RingBuffer minor improvements
...
- allocate IMU and output buffers on construction according to defaults
- determine buffer max time delay based on configuration parameters
- reorder flowSample and extVisionSample to minimize padding
- adjust parameter defaults to match PX4-Autopilot
4 years ago
PX4 BuildBot
67f13f7ede
Update geo_lookup WMM to latest Wed Dec 2 11:48:25 UTC 2020
4 years ago
Daniel Agar
fb1f360724
mavsdk_tests: consistent 180s disarm timeout
4 years ago
Daniel Agar
f5660c6b0c
mavsdk_tests: adjust px4 and gzserver priority relative to mavsdk_test
...
- this is to avoid starving the test runner
4 years ago
Daniel Agar
a8f665739d
mavsdk_tests: manual fly forward for slightly longer
4 years ago
Daniel Agar
756609c3e8
mavsdk_tests: relax corridor radius default for missions
4 years ago
Silvan Fuhrer
d4d02f449f
Improve tailsitter tuning master ( #16078 )
...
* tailsitter SITL: improve hover tuning
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
* Add SITL testing for tailsitter VTOLs
This enables SITL testing for Tailsitter vehicles
Co-authored-by: Jaeyoung-Lim <jaeyoung@auterion.com>
4 years ago
Daniel Agar
cf082d7f1c
Github actions: SITL tests upgrade MAVSDK v0.30.1 -> v0.33.1
4 years ago
bresch
e80a683981
CI: update change indicator of yaw emergency estimator
...
This was incorrectly uptated in 1a7c68ea72
4 years ago
Daniel Agar
76602b3a8f
mavsdk_tests: longer climb (5 -> 10 seconds) in fly forward altctl/posctl tests
4 years ago
Paul Riseborough
1a7c68ea72
EKF: update change indicator
4 years ago
JaeyoungLim
9d3e159e65
Make mavsdk test runner handle generated sdf files ( #15797 )
...
Update sitl_gazebo
Fix indent errors
Fix syntax error
Fix indentation errors
Fix syntax errors
use autopep8
4 years ago