-
Notifications
You must be signed in to change notification settings - Fork 197
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove thrust from altitude graph. Add HDOP, VDOP, and speed accuracy to GPS. Fix vibration instance 3 label. #284
Conversation
30f907e
to
947cf6c
Compare
if actuator_controls_0.thrust_z_neg is not None: | ||
data_plot.add_graph([lambda data: ('thrust', actuator_controls_0.thrust_z_neg*100)], | ||
colors8[6:7], ['Thrust [0, 100]']) | ||
if 'position_setpoint_triplet' in data and 'current' in data['position_setpoint_triplet']: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this changed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Without this, the Y axis range always starts at 0.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well this isn't correct though. How did you test this?
You probably need to take into consideration the valid
flag.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you have a log where this doesn't work?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Check any log that has some mission on https://logs.px4.io/browse, eg https://logs.px4.io/plot_app?log=22a7603d-edf4-476a-8b0e-0aa0a73b107b
data_plot.add_circle(['current.alt'], [plot_config['mission_setpoint_color']], | ||
['Altitude Setpoint']) | ||
data_plot.change_dataset(actuator_controls_0.thrust_sp_topic) | ||
if actuator_controls_0.thrust_z_neg is not None: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you separate the commit and provide the reason for the change for future reference?
We could also shift the thrust into the range of the altitude instead.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Split the commit and added a comment.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
947cf6c
to
a4dd894
Compare
Remove thrust from altitude graph. Add HDOP, VDOP, and speed accuracy to GPS. Fix vibration instance 3 label.
@dakejahl @dagar