Commit e4fb17f
committed
test: replace px4tools with pyulog for mission estimator analysis
px4tools is abandoned (last commit 2022) and its DataFrame handling
triggers a pandas ValueError where 'timestamp' is both an index level
and column label. This broke the MAVROS Mission post-flight analysis.
Replace the three px4tools calls (read_ulog, compute_data,
estimator_analysis) with a single analyze_estimator_attitude() function
that uses pyulog directly with vectorized numpy quaternion-to-euler
conversion. The six attitude error assertions are unchanged.
Also switch the CI pip install from ad-hoc package list to
Tools/setup/requirements.txt for consistency with the rest of PX4.1 parent c447f85 commit e4fb17f
File tree
2 files changed
+47
-5
lines changed- .github/workflows
- integrationtests/python_src/px4_it/mavros
2 files changed
+47
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1075 | 1075 | | |
1076 | 1076 | | |
1077 | 1077 | | |
1078 | | - | |
| 1078 | + | |
1079 | 1079 | | |
1080 | 1080 | | |
1081 | 1081 | | |
| |||
Lines changed: 46 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
| 47 | + | |
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
| |||
65 | 66 | | |
66 | 67 | | |
67 | 68 | | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
68 | 112 | | |
69 | 113 | | |
70 | 114 | | |
| |||
290 | 334 | | |
291 | 335 | | |
292 | 336 | | |
293 | | - | |
294 | | - | |
295 | | - | |
| 337 | + | |
296 | 338 | | |
297 | 339 | | |
298 | 340 | | |
| |||
0 commit comments