|
Re: ZomB: a C# Drag and Drop Dashboard
Got a Java port, just add the attached ZDashboard.java to your project.
Code:
import edu.wpi.first.wpilibj.SimpleRobot;
import org.thecatattack.System451.Communication.ZDashboard;
public class RobotTemplate extends SimpleRobot {
ZDashboard ZomB = new ZDashboard();
/**
* This function is called once each time the robot enters autonomous mode.
*/
public void autonomous() {
while (isAutonomous()) {
ZomB.Add("controlname", "value");
ZomB.Add("dataGraph", 0.6);
ZomB.Send();
}
}
/**
* This function is called once each time the robot enters operator control.
*/
public void operatorControl() {
}
}
__________________
Bubble Wrap: programmers rewards
Watchdog.Kill();
printf("Watchdog is Dead, Celebrate!");
How to make a self aware robot: while (∞) cout<<(sqrt(-∞)/-0);
Previously FRC 451 (The Cat Attack)
Now part of the class of 2016 at WPI & helping on WPILib
|