Go to Post That sound you hear is of every programmer in the country cringing at the thought. - Billfred [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #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
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 08:25 AM.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi