Go to Post Do you mean...? If so, it's illegal under . (insert your favorite reminder to read the manual here) - EricH [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 04-02-2012, 10:56
sctjkc01 sctjkc01 is offline
Registered User
FRC #3181 (Pittsford Panthers)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2009
Location: New York
Posts: 4
sctjkc01 is an unknown quantity at this point
Using a custom data packet on the SmartDashboard

So, I'm trying to create a widget that is basically an all-in-one for all our data, except I can't figure out how to get the widget to read the information we're trying to send it.

As far as I've planned, I've created a class on the cRIO called FRC3181DataPacket, which implements edu.wpi.first.wpilibj.smartdashboard.SmartDashboar dData.

getType() returns "3181 Custom Packet" (Creative name, I know...) and getTable() returns NetworkTable.getTable("3181DataTunnel");.

I know we gotta set TYPES to { DataType.getType("3181 Custom Packet") } but I'm having loads of !!FUN!! trying to figure out what to do from there.

I guess it would also help to figure out exactly how to attach information to the packet...
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 00:45.

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