robotpy / robotpy-rev

RobotPy bindings for REV Robotics' REVLib
Other
8 stars 13 forks source link

Ensure floats are set in high-level setter methods #20

Closed auscompgeek closed 5 years ago

auscompgeek commented 5 years ago

Prevents type assertions from failing if an int is passed into CANEncoder.setPosition() or CANPIDController.setIAccum().

auscompgeek commented 5 years ago

That'd probably be a good idea actually… that'll happen in pybind11, so why not do it in simulation too?