support
support copied to clipboard
[Feature] Add drivebase reset measurements block
Discussed in https://github.com/orgs/pybricks/discussions/1342
Originally posted by @ggramlich December 20, 2023 In Blocks mode you can get the distance and angle of the drivebase. As the documentation states, it is "Driven distance since last reset.", "Accumulated angle since last reset.". But there is no block to reset the drivebase. You can still store the value at a point where you wanted to reset in a variable and then calculate the difference between that and the current value, but this makes it harder in Blocks than in Python.
Is there any reason behind it or have I overlooked something?
Thank you. I think we can add a block for this on the input tab, similar to being able to reset the motor angle.