View Single Post
  #3   Spotlight this post!  
Unread 12-02-2012, 14:58
ss9090 ss9090 is offline
Registered User
AKA: Stewart Smith
FRC #4367 (Streetbots)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2012
Location: ON, Canada
Posts: 6
ss9090 is an unknown quantity at this point
Re: Using the Logitech F510 Controller Help

Quote:
Originally Posted by WizenedEE View Post
That code will only be called once, since it's in the constructor. Assuming you construct everything in your main robot's constructor, that code will only get called once, and the robot will be disabled (so calling customTankDrive will have no effect).

Have you thought about using another method of output (like printf or smartdashboard) than your robot itself? If it prints out "Button A pressed" when you press button A, you have some valuable debugging info.
Well, I feel stupid now hehe. Thank you so much for your time. Although I do not have access to my robot at the moment for testing, I'm almost sure this is going to work once deployed. I'll keep you posted on the results.

I hadn't considered printf in this particular circumstance, however I'll sure as heck put it in now.

If anybody else has any other suggestions, they'd be welcomed too.
__________________
FRC 4736 Streetbots
2012 Streetsville Secondary's pioneering FRC team

Thanks to our mentor team, 1241 Theory6, for all of their help! I wish everybody there the best in their futures.

-Lead Programmer (Wind River C++)
-Lead Electrical
-Lead Controls
-Part-time Build

2012 - 17th seed (GTR West)
Reply With Quote