|
Re: Not able to read DS Indicators
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
|