Created
January 18, 2018 02:04
-
-
Save primetoxinz/0805ad8d8ca803c64ec0c5ef2c34adb3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"game": [ | |
{ | |
"type": "header", | |
"data": { | |
"title": "Game" | |
} | |
}, | |
{ | |
"type": "numbervalue", | |
"data": { | |
"prefice": "Robot Time", | |
"key": "/SmartDashboard/robotTime", | |
"id": "robotTime", | |
"formats": { | |
"low": { | |
"predicate": { | |
"min": 0, | |
"max": 100 | |
}, | |
"color": "#0000FF" | |
} | |
} | |
} | |
} | |
], | |
"main": [ | |
{ | |
"type": "header", | |
"data": { | |
"title": "Stats", | |
"background": "#AA00AA", | |
"color": "white" | |
} | |
}, | |
{ | |
"type": "graph", | |
"data": { | |
"prefice": "Voltage", | |
"key": "/SmartDashboard/voltage", | |
"id": "voltage", | |
"format": { | |
"interpolation": "linear", | |
"minValue": 0, | |
"grid": { | |
"strokeStyle": "gray", | |
"fillStyle": "black", | |
"lineWidth": 1, | |
"millisPerLine": 250, | |
"verticalSections": 6 | |
} | |
} | |
} | |
}, | |
{ | |
"type": "graph", | |
"data": { | |
"prefice": "Current", | |
"key": "/SmartDashboard/current", | |
"id": "voltage", | |
"format": { | |
"interpolation": "linear", | |
"minValue": 0, | |
"grid": { | |
"lineWidth": 1, | |
"millisPerLine": 250, | |
"verticalSections": 6 | |
} | |
} | |
} | |
} | |
], | |
"options": [ | |
{ | |
"type": "header", | |
"data": { | |
"title": "Options", | |
"background": "#AA0000", | |
"color": "white" | |
} | |
}, | |
{ | |
"type": "selector", | |
"data": { | |
"prefice": "Autonomous", | |
"key": "/SmartDashboard/autonomous", | |
"id": "autonomous", | |
"choices": [ | |
"left", | |
"center", | |
"right" | |
] | |
} | |
}, | |
{ | |
"type": "stringvalue", | |
"data": { | |
"prefice": "Robot Phase", | |
"key": "/SmartDashboard/robotPhase", | |
"id": "robotPhase" | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment