Skip to content
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

Add tecs alt setpoint and remove thrust #199

Open
wants to merge 1 commit into
base: bokeh0.12.6_compat
Choose a base branch
from

Conversation

moreba1
Copy link
Contributor

@moreba1 moreba1 commented Aug 6, 2020

I added tecs alt setpoint for better analysis.
there is not need to display thrust in this graph, also thrust scale is different with altitude scale.

I added tecs alt setpoint for better analysis.
there is not need to display thrust in this graph, also thrust scale is different with altitude scale.
Copy link
Member

@bkueng bkueng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you provide a preview of your changes?

@@ -269,9 +269,9 @@ def generate_plots(ulog, px4_ulog, db_data, vehicle_data):
data_plot.change_dataset('position_setpoint_triplet')
data_plot.add_circle(['current.alt'], [plot_config['mission_setpoint_color']],
['Altitude Setpoint'])
data_plot.change_dataset('actuator_controls_0')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please do not remove existing data w/o good reason. It's generally useful for MC's.
To improve the plot regarding the offset difference, you could add the minimum baro altitude (rounded down to the next lower 100) as an offset to the thrust. Then everything is in a similar range.

data_plot.add_graph([lambda data: ('thrust', data['control[3]']*100)],
colors8[6:7], ['Thrust [0, 100]'])
data_plot.change_dataset('tecs_status')
data_plot.add_graph(['altitude_sp'], colors8[3:4], ['Tecs Altitude Setpoint'])
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
data_plot.add_graph(['altitude_sp'], colors8[3:4], ['Tecs Altitude Setpoint'])
data_plot.add_graph(['altitude_sp'], colors8[3:4], ['TECS Altitude Setpoint'])

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants