Open SloMusti opened 8 years ago
Good thinking. I'll add something to automatically check the encoder diagnostics when I get a chance.
Based on #4 calibration routine should do a sanity check on the magnetic encoder values over one rotation, such that they change over the rotation for the full 16384 (2^14) range, else return a warning or error.
Prior to calibrating it would be good to implement a sanity check if magnetic field is sufficient and encoder generates valid results. Note the encoder may return magnetic field too high flag even if ti is too low.