View Single Post
  #6   Spotlight this post!  
Unread 02-25-2016, 02:46 PM
SuperBK's Avatar
SuperBK SuperBK is offline
Registered User
AKA: BrianK
FRC #1225 (Amperage Robotics)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Henersonville, NC
Posts: 357
SuperBK is just really niceSuperBK is just really niceSuperBK is just really niceSuperBK is just really nice
Re: Controlling motors with spike relays

cout << joystick2X << endl;

You can look at the console using rioLog in Eclipse or the console log viewer on the driver' station. (click the gear above the log window on the right and select "View Console")

You could also put the value on the smart dashboard:
SmartDashboard:utNumber(joystick2x)
Then switch the driver station to smart dashboard.
__________________
Brian K
Team 1225 Robotics Mentor
Reply With Quote