Go to Post Just as you and your team will make hard decisions as you struggle to build a robot, FIRST has had to make hard decisions concerning maximizing safety while making the number of rules as small as possible. - Mike Betts [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 01-03-2013, 15:12
sretter's Avatar
sretter sretter is offline
Registered User
AKA: Shaked
FRC #2231 (OnyxTronix)
Team Role: Leadership
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Shoham
Posts: 33
sretter is on a distinguished road
SmartDashboard updates only after disabling

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
  #2   Spotlight this post!  
Unread 01-03-2013, 15:14
joelg236 joelg236 is offline
4334 Retired Mentor & Alumni
AKA: Joel Gallant
no team
Team Role: Mentor
 
Join Date: Dec 2011
Rookie Year: 2012
Location: Calgary
Posts: 733
joelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond repute
Re: SmartDashboard updates only after disabling

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.
__________________
All opinions are my own.
  #3   Spotlight this post!  
Unread 01-03-2013, 16:29
sretter's Avatar
sretter sretter is offline
Registered User
AKA: Shaked
FRC #2231 (OnyxTronix)
Team Role: Leadership
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Shoham
Posts: 33
sretter is on a distinguished road
Re: SmartDashboard updates only after disabling

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.
  #4   Spotlight this post!  
Unread 02-03-2013, 16:38
sretter's Avatar
sretter sretter is offline
Registered User
AKA: Shaked
FRC #2231 (OnyxTronix)
Team Role: Leadership
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Shoham
Posts: 33
sretter is on a distinguished road
Re: SmartDashboard updates only after disabling

Somehow now it works now,not sure what exactly changed, but thanks for trying to help
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 03:31.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi