Go to Post It's not a proper FIRST season if you don't have a robo-diet before ship date! - Mr MOE [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
  #3   Spotlight this post!  
Unread 06-02-2015, 23:23
defied defied is offline
Registered User
FRC #2557
 
Join Date: Jan 2014
Location: Tacoma, WA
Posts: 23
defied is an unknown quantity at this point
Re: Pulling Variables from Robot

Quote:
Originally Posted by Fauge7 View Post
In robot map you declare the constants for the robot.

For example:

Code:
public static final int MOTOR_SPOT_1 = 1;
Then in any class simply reference it by typing

Code:
RobotMap.MOTOR_SPOT_1
Would there be a way to change the value during runtime from the command pulling it? Remove final?

Thanks,
D
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 22:25.

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