Skip to content

Commit

Permalink
position plot: don't mark NaN's in setpoint
Browse files Browse the repository at this point in the history
NaN is now used to indicate velocity-control only.
See PX4/PX4-Autopilot#11056
  • Loading branch information
bkueng committed Jan 7, 2019
1 parent 0382f3f commit 2ba9648
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plot_app/configured_plots.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ def generate_plots(ulog, px4_ulog, db_data, vehicle_data, link_to_3d_page):
data_plot.add_graph([axis], colors2[0:1], [axis.upper()+' Estimated'], mark_nan=True)
data_plot.change_dataset('vehicle_local_position_setpoint')
data_plot.add_graph([axis], colors2[1:2], [axis.upper()+' Setpoint'],
mark_nan=True, use_step_lines=True)
use_step_lines=True)
plot_flight_modes_background(data_plot, flight_mode_changes, vtol_states)

if data_plot.finalize() is not None: plots.append(data_plot)
Expand Down

0 comments on commit 2ba9648

Please sign in to comment.