Team-1922 / TinMan2016

The year the code works
0 stars 0 forks source link

Network Tables listener for Lateral PID control #7

Closed KevinMackenzie closed 8 years ago

KevinMackenzie commented 8 years ago

This will be a separate class that is a non-traditional command which stores static data with thread-safe access

KevinMackenzie commented 8 years ago

Pending completion, just need to do more code validation and perhaps testing. There is no command running on this subsystem, because the command it does run HAS to run before any others, therefore it is hard-coded in.

KevinMackenzie commented 8 years ago

The default value for a window's properties will be -1, therefore the 'centerY' value will be always off the screen to the right. As the PID controller moves in a circle, the window will only appear to get close when it actually gets into frame. This is useful in auto mode where we want it to keep spinning until it finds the window, but will be validated in tele-op NOT to do this.

KevinMackenzie commented 8 years ago

Things are happening, however Center Y is the correct value (I think). The value may be set to 641 instead of -1, however that is still undecided

KevinMackenzie commented 8 years ago

centerX is the correct value

KevinMackenzie commented 8 years ago

This is as functional as we need it to be at this time