Log in

View Full Version : SmartDashboard updates only after disabling


sretter
01-03-2013, 15:12
Hi everyone,
I had a strange issue that I couldn't manage to solve:
When I passed data to the SmartDashboard it didn't update immediately, at first I thought that it didn't update at all, but then after disabling it did.
Anyone else had this issue or can help solve?
Thanks,Shaked from 2231

P.S: I'm programming in Java

joelg236
01-03-2013, 15:14
Are you sure the data is being sent? Are you also sure the data is sent during teleoperated? Does it always send when disabling? If so, I have a feeling that you're sending the data during disabled period.

sretter
01-03-2013, 16:29
I'm pretty sure the data is being sent during tele-operated(added a print message after sending to the dashboard and it was printed)- and It doesn't seem to constantly update during disabled-only updates the last value received.

Anyways I'll check tomorrow if I'm mistaken and I'm really sending during disabled.

sretter
02-03-2013, 16:38
Somehow now it works now,not sure what exactly changed, but thanks for trying to help :)