When I spin the flywheel in devices, it says the speed of the flywheel is 0 but the flywheel is spinning at max speed. I think its a motor encoder problem but i have tried replacing the motor and it still does not work.
Post the code.
Most like your code is at issue.
oops it was a bad direct connect, sorry