|
Re: 2013 Vision on DS
Good question. I've been waiting for someone to ask about that.
The SmartDashboard Server VI that is started in Robot Main and the SmartDashboard Client and Binding VI that is started in the Dashboard Main both support a parameter called Update Time. By default this is 100ms. That means that every 100ms, the code will notify the other side about any locally changed variables. The primary purpose is to batch the updates to avoid a jillion small TCP transactions. 100ms is relatively fast and low overhead, but you may want to shrink the number if using it for vision processing values.
The other option is to use the Flush Updates VI located in the Network Tables Extra palette. This will allow you to keep the time slower, but force an update whenever you choose, such as when you have aiming data from a processed image.
Let me know if you have any issues using them.
Greg McKaskle
|