View Single Post
  #2   Spotlight this post!  
Unread 06-02-2015, 21:34
Fauge7 Fauge7 is offline
Head programmer
FRC #3019 (firebird robotics)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2012
Location: Scottsdale
Posts: 195
Fauge7 is a name known to allFauge7 is a name known to allFauge7 is a name known to allFauge7 is a name known to allFauge7 is a name known to allFauge7 is a name known to all
Re: Pulling Variables from Robot

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
Reply With Quote