I am a big fan of the way the SpeedValue classes have turned out, I think we should do the same for distances. Potential classes - DistanceValue - DistanceMilliMeters - DistanceCentiMeters - DistanceMeters - DistanceInches - DistanceFeet
Activity
WasabiFan commentedon Oct 28, 2018
I think this makes sense. What use cases do we have? Right now it would be the differential drive class?
dwalton76 commentedon Oct 28, 2018
Yep MoveDifferential could use this, right now all distances have to be in mm. Odometry (not implemented yet) would be another one.
DistanceStuds would be another handy class.
ddemidov commentedon Oct 28, 2018
May be at this point it is worth looking at something like https://pint.readthedocs.io.