Skip to content

Commit d0e743d

Browse files
committed
models: replace outdated vehicle_angular_acceleration topic with sensor_combined/gyro
Signed-off-by: Silvan Fuhrer <[email protected]>
1 parent 781195e commit d0e743d

File tree

3 files changed

+12
-29
lines changed

3 files changed

+12
-29
lines changed

Tools/parametric_model/configs/quadplane_model.yaml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -174,19 +174,14 @@ dynamics_model_config:
174174
- "accelerometer_m_s2[0]"
175175
- "accelerometer_m_s2[1]"
176176
- "accelerometer_m_s2[2]"
177+
- "gyro_rad[0]"
178+
- "gyro_rad[1]"
179+
- "gyro_rad[2]"
177180
dataframe_name:
178181
- "timestamp"
179182
- "acc_b_x"
180183
- "acc_b_y"
181184
- "acc_b_z"
182-
vehicle_angular_acceleration:
183-
ulog_name:
184-
- "timestamp"
185-
- "xyz[0]"
186-
- "xyz[1]"
187-
- "xyz[2]"
188-
dataframe_name:
189-
- "timestamp"
190185
- "ang_acc_b_x"
191186
- "ang_acc_b_y"
192187
- "ang_acc_b_z"

Tools/parametric_model/configs/quadrotor_model.yaml

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -91,18 +91,6 @@ dynamics_model_config:
9191
estimate_angular_acceleration: True
9292
data:
9393
required_ulog_topics:
94-
#Use with simulator logs only, disable estimate_angular_acceleration when using
95-
# vehicle_angular_acceleration:
96-
# ulog_name:
97-
# - "timestamp"
98-
# - "xyz[0]"
99-
# - "xyz[1]"
100-
# - "xyz[2]"
101-
# dataframe_name:
102-
# - "timestamp"
103-
# - "ang_acc_b_x"
104-
# - "ang_acc_b_y"
105-
# - "ang_acc_b_z"
10694
actuator_outputs:
10795
id: 0
10896
ulog_name:
@@ -159,9 +147,14 @@ dynamics_model_config:
159147
- "accelerometer_m_s2[0]"
160148
- "accelerometer_m_s2[1]"
161149
- "accelerometer_m_s2[2]"
150+
- "gyro_rad[0]"
151+
- "gyro_rad[1]"
152+
- "gyro_rad[2]"
162153
dataframe_name:
163154
- "timestamp"
164155
- "acc_b_x"
165156
- "acc_b_y"
166157
- "acc_b_z"
167-
158+
- "ang_acc_b_x"
159+
- "ang_acc_b_y"
160+
- "ang_acc_b_z"

Tools/parametric_model/configs/standardplane_model.yaml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -171,19 +171,14 @@ dynamics_model_config:
171171
- "accelerometer_m_s2[0]"
172172
- "accelerometer_m_s2[1]"
173173
- "accelerometer_m_s2[2]"
174+
- "gyro_rad[0]"
175+
- "gyro_rad[1]"
176+
- "gyro_rad[2]"
174177
dataframe_name:
175178
- "timestamp"
176179
- "acc_b_x"
177180
- "acc_b_y"
178181
- "acc_b_z"
179-
vehicle_angular_acceleration:
180-
ulog_name:
181-
- "timestamp"
182-
- "xyz[0]"
183-
- "xyz[1]"
184-
- "xyz[2]"
185-
dataframe_name:
186-
- "timestamp"
187182
- "ang_acc_b_x"
188183
- "ang_acc_b_y"
189184
- "ang_acc_b_z"

0 commit comments

Comments
 (0)