Closed auscompgeek closed 4 years ago
I would rather have the units present, to remind users that these objects have units associated with them and that they're not just raw values.
I would much rather be able to recreate these by just copy-pasting. You don't see the units when you instantiate these anyway.
The Java toString implementations don't include units either.
How often are you recreating these?
look I just know I'm going to screw up the maths when converting between our robot field coordinate system and the simulation coordinate system :P
From the Python documentation for
repr()
:This reverts the geometry
__repr__
and fixes the kinematics__repr__
implementations to adhere to the expected behaviour ofrepr()
.