View Single Post
  #4   Spotlight this post!  
Unread 02-27-2016, 10:42 AM
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: Motors/solenoids won't work; Can't print to console

Any messages or in the console log? Maybe a "timeout expired"? I don't see any calls to enable or disable motor safety.

Check the mapping of the joystick in the driver's station and make sure it works by monitoring it in the driver's station diagnostics.

I would put some prints in some obvious places that always called to make sure your code is getting compiled and deployed successfully, for example, print out the value of joystick2Y before comparing it. You could also print "Hey I'm alive!" in TeleopInit()
__________________
Brian K
Team 1225 Robotics Mentor
Reply With Quote