View Single Post
  #10   Spotlight this post!  
Unread 23-01-2011, 17:43
buildmaster5000 buildmaster5000 is offline
Trying to program the swerve drive
AKA: Alex
FRC #2421 (Rolling Thunder Robotics)
Team Role: Alumni
 
Join Date: May 2009
Rookie Year: 2009
Location: Northern Virginia
Posts: 207
buildmaster5000 has much to be proud ofbuildmaster5000 has much to be proud ofbuildmaster5000 has much to be proud ofbuildmaster5000 has much to be proud ofbuildmaster5000 has much to be proud ofbuildmaster5000 has much to be proud ofbuildmaster5000 has much to be proud ofbuildmaster5000 has much to be proud of
Re: setX() not working

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
__________________
-Alex



2010 Washington DC Regional: Engineering Excellence Award
Reply With Quote