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.SmartDashboardData.
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…