robotpy / robotpy-wpilib

Moved to https://github.com/robotpy/mostrobotpy
https://robotpy.github.io
Other
169 stars 59 forks source link

ChassisSpeeds missing constructor taking arguments #635

Closed auscompgeek closed 4 years ago

auscompgeek commented 4 years ago

It should take vx, vy, omega as arguments that default to 0.

auscompgeek commented 4 years ago

Turns out the fields are read-only from Python, so this is blocking actually being able to use the kinematics classes.

auscompgeek commented 4 years ago

With the fix to robotpy-build, the attributes are now read-write, but we really should have a constructor taking the values like Java does.