I wrote code to decode quadrature data from 2 of the 4 encoders on the Rover 5 platform, and the code works very well. But java is pausing periodically, meaning I am occasionally missing quadrature steps. I well know java is not a real time language, as it stops periodically for garbage collection.
I'm currently experiencing about 5% missed quadrature events, which for the moment I will ignore hoping that it will not impact on navigation significantly. At some point in the future I may have to move to a hardware based solution for counting quadrature events.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.
Are you sure? yes | no