Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Made images larger.

...

  • Linear interpolation calculated manually
  • Primary readout group running at 100 Hz
  • Encoder trigger running at 10 Hz   (10x slower  than primary readout group)

With Eigen C++ Library

Lab 3 Tests

The encoder simulator, triggered by readout group 5, sent a test pattern alternating between values 100 and 200. Three different ratios of trigger rate were tested: 1, 10, and 100.

slowRatio=1

No interpolation occurs because trigger rates are the same.

Image Added

slowRatio=10

The primary readout group's trigger rate is 10x the trigger rate of the encoder.

Image Added

slowRatio=100

The primary readout group's trigger rate is 100x the trigger rate of the encoder.

Image Added





Demonstration of Polynomial Fit Using Eigen Package

...