View Single Post
  #2   Spotlight this post!  
Unread 12-02-2011, 11:49
Unoquadium Unoquadium is offline
The Parlor Generals
AKA: Ilya Rubnich
FRC #0334 (Tech Knights)
Team Role: Programmer
 
Join Date: Feb 2011
Rookie Year: 2010
Location: Brooklyn, NY
Posts: 8
Unoquadium is an unknown quantity at this point
Re: Input Monitoring

So I discovered the SmartDashboard class. I am not anywhere near the robot to test any of this out but I made the following code. Would it help at doing this?

Code:
        SmartDashboard.init();
        SmartDashboard.log(String.valueOf(lXAxis), "L-X: ");
        SmartDashboard.log(String.valueOf(lYAxis), "L-Y: ");
        SmartDashboard.log(String.valueOf(button1), "B1: ");
        SmartDashboard.log(String.valueOf(button2), "B2: ");
        SmartDashboard.log(String.valueOf(button3), "B3: ");
        SmartDashboard.log(String.valueOf(button4), "B4: ");
Reply With Quote