bitcraze / crazyflie-clients-python

Host applications and library for Crazyflie written in Python.
Other
301 stars 468 forks source link

Implement x axis manipulation in plotting tab #715

Closed gemenerik closed 2 months ago

gemenerik commented 3 months ago

The last N seconds can now be plotted. A range can now be set in seconds (low, high limits). The starting range is automatically adapted to match the latest view in samples / seconds mode. This makes the range mode useful for zooming in on certain parts of the plot.

Changed x axis behavior such that the range configuration (samples, seconds, range) dictates x limits of the plot even if there is a (partial) lack of data for the range. Rather than stretching the plot as it fills up, now the entire plot limits are shown immediately. This immediate feedback helps with choosing a desirable x axis setting.

gemenerik commented 2 months ago

Looks good! Nice feature!

Great commit message, makes it easy to review.

Image would help to see the change visually.

Thanks for the review! Adding an image to a GUI related pull request is a good idea!