|
Re: PIDController + Latency - related issues
I'm very confused on what an xbox controller and network latency has to do with any of this. Usually the only thing people do with the controllers is enable the PID loop. The PIDController class runs entirely on the RoboRIO every 20 milliseconds in its own thread, however the encoders read much faster then that from the FPGA. Network latency has nothing to do with this, unless you are running the PID calculations on the DS laptop, which is HIGHLY unlikely, and definitely wouldn't work.
__________________
All statements made are my own and not the feelings of any of my affiliated teams.
Teams 1510 and 2898 - Student 2010-2012
Team 4488 - Mentor 2013-2016
Co-developer of RobotDotNet, a .NET port of the WPILib.
|