DeepBlueRobotics / DeepBlueSim

MIT License
8 stars 0 forks source link

Fix to work with spec compliant CAN sims. #53

Closed brettle closed 4 months ago

brettle commented 4 months ago

Rename SimDeviceEncoderMediator.java to CANEncoderMediator.java.

Rename SimDeviceMotorMediator.java to CANMotorMediator.java.

Add DutyCycleMediator.java to handle SparkMaxAbsoluteEncoder and CANCoder devices.

Add AnalogInputMediator.java to handle SparkMaxAnalogSensor devices.

Currently passes system test but that doesn't test any of the new functionality.

brettle commented 4 months ago

Includes PR #50 and PR #49.