Quote:
|
Originally Posted by JewishDan18;1006118[CODE
public void teleopPeriodic() {
try {
jag.setX(10);
System.out.println(jag.getSpeed() + " " + jag.getOutputVoltage() +
" " + jag.getOutputCurrent() + " " +
jag.getTemperature() + " " + jag.isAlive() +
" " + jag.isSafetyEnabled());
} catch (Exception e) {
e.printStackTrace();
}
}[/code]
|
I am confused. My team is triying to use CAN to control a swerve drive, and most of this makes sense. The System.out.print is what puzzles me. Where does this print to?? Obviously it won't go to the driver station lcd, but how would you go about configuring a laptop (I am assuming that is where it would ultimatly print to, but I am unsure where) so that you can operate the robot and see the System.out.print?
A concerned programmer