DexterInd / GoPiGo3

The GoPiGo3 is a Raspberry Pi Robot!
https://gopigo.io
Other
96 stars 85 forks source link

reset speed after exiting from orbit #210

Closed CleoQc closed 5 years ago

CleoQc commented 5 years ago

The Orbit() method cannot reset the speed at the end when it's not in blocking mode as it negates the calculations for the orbit.

Solution: only reset the speed in blocking mode. User is responsible to reset speed when in non-blocking mode - which is not the default, so we're talking more advanced users. I've updated the documentation to reflect this limitation.

CleoQc commented 5 years ago

NOte: this PR also contains the changes in https://github.com/DexterInd/GoPiGo3/pull/209.

CleoQc commented 5 years ago

I fixed my repo, so 209 is its own PR. Better that way.