I’ve got an S1 hooked into a NEMA 34 servomotor, and I can do more or less whatever I want at this point.
Except get encoder position estimation. Whenever I have that in my code it gives me:
encoder_position = axis.encoder.pos_estimate
^^^^^^^^^^^^
AttributeError: 'anonymous_interface_2975934636064' object has no attribute 'encoder'
I’ve found nothing online about others having this issue. I’ve run pip install odrive --upgrade
and all requirements have already been satisfied. I’ve run odrivetool dfu
and have no idea what I’m looking at. lots of green, yellow highlights, and a few red lines, but nothing jumping out as “this is wrong.” They do all start with File ~\anaconda3\...
so maybe that’s the issue?
No documentation suggests what the problem might be, and chatGPT is convinced its a hardware issue despite the online Gui showing no issues. When the encoder wasn’t connected it yelled at me, and given that its both not yelling at me now and in fact running as I tell it to, I’m inclined to believe that the ai is wrong.
So I come to you all for help. I am so lost here.