Quote:
Originally Posted by Greg McKaskle
Did you update the dashboard to bind the controls in the Camera Tracking tab?
The dashboard binding pushes user initiated value changes to the robot and it updates controls and indicators when a SmartDashboard value comes in.
By default, programmatic updates to indicators and controls will not trigger an event. This is to avoid cycles and side-effects.
The way I was recommending is to add a SmartDashboard write of double to the place you are updating distance. Explicitly update the variable when you update the indicator.
Greg McKaskle
|
So if I understand correctly, you want me to write to the indicator in the Dashboard using a SD Write Double Bool.vi, then read from the indicator with the SD Read Double Bool.vi, instead of directly trying to read from the indicator on the Dashboard?
Will this update the variable when I update the indicator, as you say?