Okay, it seems alright then.
But I really see no point of converting it to deg/s, unless you want a speedometer or something like that?Because it really doesn't matter if just need it to make it balance.But of course it's always nice to know what your robot is capable of
int speed = speedRaw*((double)PWMVALUE)/100; // Scale from 100 to PWMVALUE
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16