Fixed a few simple SmartDashboard FIXMEs and TODOs

SmartDashboard does usage reporting now (or will when it's implemented
in the HAL).

Global errors are raised in C++ when problems happen, since there is
no SmartDashboard instance.  Previously, no error reporting was done
at all.

GetData was uncommented.

Change-Id: I3331eb9f09924d1d0028e3fa041f0cf68caa5cf5
This commit is contained in:
Thomas Clark
2014-08-04 14:43:31 -04:00
parent d521eb79b9
commit dc341a448e
5 changed files with 53 additions and 38 deletions

View File

@@ -15,4 +15,9 @@ public class HardwareHLUsageReporting implements HLUsageReporting.Interface {
public void reportPIDController(int num) {
UsageReporting.report(tResourceType.kResourceType_PIDController, num);
}
@Override
public void reportSmartDashboard() {
UsageReporting.report(tResourceType.kResourceType_SmartDashboard, 0);
}
}