|
Re: Customizing the Dashboard
The dashboard class will just populate the data being sent to the dashboard program. I don't have the Java apis, but the C++ apis have things to add just about any data type that you want (signed/unsigned int 8,16, 32, float, double, bool, string). Additionally it lets you organize the data in arrays and clusters.
The dashboard program has a large cluster on the left side of the diagram that needs to match what is being sent over. Once that matches, you can read out of the cluster to populate gui items.
I would suggest pulling up the default robot side code and look for where the dashboard data is populated. Then pull up the default dashboard program and see how the cluster corresponds to the way the data is filled in by the robot. Once you understand that, you can do whatever you want with the data once it is read from the socket.
|