Update -- changing the value that comes to the dashboard didn't seem to work.
Quote:
Originally Posted by Ginto8
If you want an indicator of when the NetworkTable is updated, you could have a boolean value that you invert every update, as a way of indicating the change. This would be a MUCH better idea than tweaking the double because it wouldn't actually skew your data at all. Floating point is a little weird because changes that you think are easily reversible may not be after all, which means that tweaking a double is just generally a very bad idea 
|
Yes, but then the double wouldn't have changed and the value wouldn't be updated. I'm not doing any calculations with the numbers other than graphics math on the dashboard, and I don't care if the graph is 1 pixel off. Don't worry, It would always be the last step before smartdashboard.