View Single Post
  #7   Spotlight this post!  
Unread 01-31-2016, 01:35 AM
Guy997's Avatar
Guy997 Guy997 is offline
Le Programmer
AKA: Sam Schwartz
FRC #1339 (Angelbots)
Team Role: Programmer
 
Join Date: Oct 2015
Rookie Year: 2015
Location: Denver
Posts: 14
Guy997 is an unknown quantity at this point
Re: Using joystick buttons with Command based programming

You might want to have Commandbase.init() in your robotInit.

Like so:
Code:
 public void robotInit() {
		oi = new OI();
        // instantiate the command used for the autonomous period
        CommandBase.init();
That's a snippet from our code.

I'm not positive that's the issue, but it might be a problem.
__________________
I think the PDP needs more metal shavings but y'know, that's just me...

Reply With Quote