Hello, I want to get angle information from encoder amt103-v in robot code.
I am using edu.wpi.first.wpilibj.Encoder class, which data in this class should I process.
Is there any sample code or direct code you can share ?
Hello, I want to get angle information from encoder amt103-v in robot code.
I am using edu.wpi.first.wpilibj.Encoder class, which data in this class should I process.
Is there any sample code or direct code you can share ?
Have you tried searching frc-docs for amt103-v?
Of course,
But I couldn’t find how to get the pain value.
AMT103s are relative encoders. To find an angle, you’ll either need an absolute encoder or you’ll have to do some math if it’s on a mechanism with a known starting position.
Yes I know, my question is how can I get this angle value? I know it requires mathematics, but how can I use what to get the angle value?