Hello everyone,
Earlier this week I was experiencing an issue with a spark max not being inverted when settings were flashed to be so. Within the constructor of our arm subsystem we had a motor that occasionally (1 out of every 3-5 code reboots) would run in the wrong direction. When looking at it in runtime the motor was not inverted.
I was able to fix it by checking if the motor was inverted periodically and correcting it. Has anyone experienced this issue before? I am interested to know why this was occurring.
If anyone would like to view our code, it is located Here