Beta8397 / virtual_robot

A 2D robot simulator to help beginners learn Java programming for FTC Robotics
100 stars 171 forks source link

Fixed a couple of bugs in DeadWheelEncoder; Added DcMotorEx and LynxM… #32

Closed jkenney2 closed 3 years ago

jkenney2 commented 3 years ago

…odule for compatibility with bulk read

Made multiple methods in DeadWheelEncoder synchronized. Fixed a bug in DeadWheelEncoder that would have caused problems with Direction.REVERSE. Added LynxModule, DcMotorEx, DcMotorExImpl, and several support classes for bulk read. Made DeadWheelEncoder implement DcMotorEx, for compatibility with bulk read. NOTE: bulk read doesn't change simulator behavior, it is just for compatibility with team code.