Skip to content

Instantly share code, notes, and snippets.

@porglezomp
Created March 4, 2017 03:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save porglezomp/76e28be296970b235ed77950170ef421 to your computer and use it in GitHub Desktop.
Save porglezomp/76e28be296970b235ed77950170ef421 to your computer and use it in GitHub Desktop.
Driver Stuff!
<html>
<head>
<meta charset="utf8"/>
<title>Driver Station</title>
</head>
<body>
<img src="http://10.10.76.17:5807/?action=stream" width="480" height="360" class="flip"/>
<img src="http://10.10.76.19:5809/?action=stream" width="480" height="360" class="flip"/>
<style>.flip { transform: rotate(180deg); }</style>
</body>
</html>
<xml version="1.0">
<dashboard>
<widget field="Recalibrate Gyro" type="Command" class="edu.wpi.first.smartdashboard.gui.elements.Command">
<location x="161" y="11"/>
</widget>
<widget field="Auto mode" type="String Chooser" class="edu.wpi.first.smartdashboard.gui.elements.Chooser">
<location x="156" y="37"/>
</widget>
<widget field="Left Factor" type="Number" class="edu.wpi.first.smartdashboard.gui.elements.TextBox">
<location x="2" y="22"/>
</widget>
<widget field="Turn Reduction Threshold" type="Number" class="edu.wpi.first.smartdashboard.gui.elements.TextBox">
<location x="270" y="225"/>
</widget>
<widget field="Turn Amount" type="Number" class="edu.wpi.first.smartdashboard.gui.elements.TextBox">
<location x="342" y="78"/>
</widget>
<widget field="Turn Reduction Factor" type="Number" class="edu.wpi.first.smartdashboard.gui.elements.TextBox">
<location x="286" y="203"/>
</widget>
<widget field="Vision Norm Factor" type="Number" class="edu.wpi.first.smartdashboard.gui.elements.TextBox">
<location x="304" y="180"/>
</widget>
<widget field="First Drive Speed" type="Number" class="edu.wpi.first.smartdashboard.gui.elements.TextBox">
<location x="324" y="19"/>
</widget>
<widget field="Gyro P" type="Number" class="edu.wpi.first.smartdashboard.gui.elements.TextBox">
<location x="12" y="178"/>
</widget>
<widget field="First Drive Time" type="Number" class="edu.wpi.first.smartdashboard.gui.elements.TextBox">
<location x="330" y="43"/>
</widget>
<widget field="Gyro I" type="Number" class="edu.wpi.first.smartdashboard.gui.elements.TextBox">
<location x="14" y="202"/>
</widget>
<widget field="Vision P" type="Number" class="edu.wpi.first.smartdashboard.gui.elements.TextBox">
<location x="140" y="179"/>
</widget>
<widget field="Second Drive Speed" type="Number" class="edu.wpi.first.smartdashboard.gui.elements.TextBox">
<location x="310" y="130"/>
</widget>
<widget field="Gyro D" type="Number" class="edu.wpi.first.smartdashboard.gui.elements.TextBox">
<location x="10" y="225"/>
</widget>
<widget field="Second Drive Time" type="Number" class="edu.wpi.first.smartdashboard.gui.elements.TextBox">
<location x="318" y="154"/>
</widget>
<widget field="Vision I" type="Number" class="edu.wpi.first.smartdashboard.gui.elements.TextBox">
<location x="142" y="203"/>
</widget>
<widget field="Right Factor" type="Number" class="edu.wpi.first.smartdashboard.gui.elements.TextBox">
<location x="0" y="42"/>
</widget>
<widget field="Vision D" type="Number" class="edu.wpi.first.smartdashboard.gui.elements.TextBox">
<location x="138" y="225"/>
</widget>
<widget field="Turn Speed" type="Number" class="edu.wpi.first.smartdashboard.gui.elements.TextBox">
<location x="350" y="102"/>
</widget>
</dashboard>
<live-window>
</live-window>
</xml>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment