Go to Post Just got our robot crate back. The FedEx driver told me he was watching the robotics competition online and asked how our team did. He knew about Team 27 and 469. We must be doing a great job in Michigan promoting FIRST if a FedEx driver watch FRC matches online and was excited talking about it. - Ed Law [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
  #1   Spotlight this post!  
Unread 17-03-2013, 12:23
shindigo shindigo is offline
Registered User
AKA: Mike Parker
FRC #0102
Team Role: Mentor
 
Join Date: Feb 2012
Rookie Year: 2009
Location: Somerville, NJ
Posts: 33
shindigo is an unknown quantity at this point
Reassigning button.whenPressed during teleop

Hi,
I think this is a straight-up technical question. How can we reassign the command that is assigned to button.whenPressed during teleop?

We tried something like :
Code:
CommandBase.oi.myPublicButton.whenPressed(new myOtherCommand())
within a command, but this does not seem to work. The button still executes the original command we had assigned to it.

Tia - mp
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 11:26.

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