Scatter Plot Demo
Without Eigen C++ Library
- 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.
slowRatio=10
The primary readout group's trigger rate is 10x the trigger rate of the encoder.
slowRatio=100
The primary readout group's trigger rate is 100x the trigger rate of the encoder.
Demonstration of Polynomial Fit Using Eigen Package
...
Example Plots (Click on Image Below for More)