Quote:
Originally Posted by Kyledoo
Thank you, that should help a little bit, but how do you pack the data you receive from a function for the dashboard? Do I have to call another class (like DashboardDataFormat) or is it just another function?
For Example
double dblEncoder1Value;
dblEncoder1Value = encoder1.Get();
then would I do something like:
PackAndSend(dblEncoder1Value);
Forgive me if the questions I have asked sound obvious, I just really can't figure this out.
|
The DashboardDataFormat class in the example is just a way to organize the code. The actual library interface is the Dashboard class which you access via the DriverStation class using GetHighPriorityDashboardPacker() or GetLowPriorityDashboardPacker(). Follow the example you see in the code inside the DashboardDataFormat class.