Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pybricks.common.Motor: Make angle reset optional.
This adds a reset_angle=True keyword argument to the Motor class initialization. Setting it to false allows the encoder offset to be preserved between consecutive scripts. This way, you'd need to reset robot mechanisms only once instead of every time you run a program. pybricks/support#389
- Loading branch information