Skip to content

Fixes, improvements to lpy plugin

This merge request does several things:

Bug fixes:

  • Sample rate was being called using the old convention for ChannelBuf, rather than using buffer.sample_rate, causing the plugin to crash.
  • Fixed a bug with plots not zeroed at the time of the refined gps (or unrefined if it can't resolve)

Improvements:

  • Instead of using the refine window to create the plot, calls config.PLOT_WINDOWS and uses both the ZOOM and WIDE windows to make plots.
  • Refactored the code a bit to make clear what a magic number meant in gen_ylim, use zip instead in looping through the different subplots in length, pitch, yaw.

Example:

  1. Before:

.

  1. After:
  • Wide plot:

.

  • Zoomed plot:

.

Merge request reports