Skip to content

Commit 6fdf870

Browse files
mengchaohengbkueng
authored andcommitted
Fix missing torque plots for actuator_controls_1
1 parent 1ba40aa commit 6fdf870

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

app/plot_app/configured_plots.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,8 @@ def generate_plots(ulog, px4_ulog, db_data, vehicle_data, link_to_3d_page,
561561
# (only present on VTOL, Fixed-wing config)
562562
data_plot = DataPlot(data, plot_config, actuator_controls_1.torque_sp_topic,
563563
y_start=0, title='Actuator Controls 1 (VTOL in Fixed-Wing mode)',
564-
plot_height='small', changed_params=changed_params, topic_instance=1,
564+
plot_height='small', changed_params=changed_params,
565+
topic_instance=actuator_controls_1.topic_instance,
565566
x_range=x_range)
566567
data_plot.add_graph(actuator_controls_1.torque_axes_field_names,
567568
colors8[0:3], ['Roll', 'Pitch', 'Yaw'], mark_nan=True)

0 commit comments

Comments
 (0)