I'm using Java, my code for the Dashboard looks like this:
Code:
Dashboard lowDashData = DriverStation.getInstance().getDashboardPackerLow();
lowDashData.addCluster(); {
lowDashData.addCluster(); {
lowDashData.addDouble(j1.getX());
lowDashData.addDouble(j1.getY());
} lowDashData.finalizeCluster();
lowDashData.addCluster(); {
lowDashData.addDouble(j2.getX());
lowDashData.addDouble(j2.getY());
} lowDashData.finalizeCluster();
} lowDashData.finalizeCluster();
lowDashData.commit();
System.out.println("Dashboard updated");
Where j1 is the left joystick and j2 is the right joystick.
When I run my code, this shows up on the classmate:
Quote:
|
Warning: The Dasboard Datatype used thy the robot project and this dashboard do not match. See Diagram for more details.
|
What's going on here and how can I fix it?