Skip to content

DistanceValue classes #541

Closed
Closed

Description

@dwalton76

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

  1. WasabiFan commented on Oct 28, 2018

    @WasabiFan
    Member

    I think this makes sense. What use cases do we have? Right now it would be the differential drive class?

  2. dwalton76 commented on Oct 28, 2018

    @dwalton76
    CollaboratorAuthor

    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.

  3. ddemidov commented on Oct 28, 2018

    @ddemidov
    Member

    May be at this point it is worth looking at something like https://pint.readthedocs.io.

  4. self-assigned this
    on Oct 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions