kendmaclean / gears_pybricks

Other
3 stars 3 forks source link

Robot speed error on turns #2

Open kendmaclean opened 4 years ago

kendmaclean commented 4 years ago

Feedback on code:

For the turn rate, I'm not clear how Pybricks implements this. Way I see it, I can easily set a speed and rate-of-turn value that results in an unachievable motor speed. Something will have to give in that case, but for Pybricks, I'm not sure if its implementation sacrifices forward speed and maintain rate of turn, or the other way around. If you have any insights into this, do share. From your code, it looks like you're working on a best effort basis; setting the required motor dps even if it's not achievable. I know that the Pybrick drive base synchronizes the two motors, so it probably isn't doing it that way.