THSTechTeam / 4097-powerplay

BSD 3-Clause Clear License
1 stars 0 forks source link

Update `PIDController.java` to run on a separate thread #37

Open BrandonPacewic opened 1 year ago

BrandonPacewic commented 1 year ago

The main reason that this is necessary is that it will allow for the running of both Roadrunner trajectories and the PID at the same time without using the async stuff from roadrunner. Not having a async PID and instead relying on another library's implementation of one is a very non programmer solution to a purely programming type problem.

BrandonPacewic commented 1 year ago

Unfortunately this may not be possible due to the sdks insistence that only one thread can control hardware at a time.