1757WestwoodRobotics / 2022-RapidReact

Competition Bot for FRC 2022 Season
MIT License
5 stars 1 forks source link

Use direct WPI_TalonFx objects in subsystems when running on real robot #88

Closed caloisio closed 2 years ago

caloisio commented 2 years ago

Attempt to improve performance by using direct WPI_TalonFx objects when operating on the robot rather than accessing through the Falcon wrapper class.

As a side-effect, the use of if RobotBase.isReal(): in hot-loops is reduced which simplifies the code path.

Should address https://github.com/1757WestwoodRobotics/2022-RapidReact/issues/86