Thread
:
Pulling Variables from Robot
View Single Post
#
2
06-02-2015, 21:34
Fauge7
Head programmer
FRC #3019 (firebird robotics)
Team Role: Programmer
Join Date: Jan 2013
Rookie Year: 2012
Location: Scottsdale
Posts: 195
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
Fauge7
View Public Profile
Find all posts by Fauge7
Find CD-Media Photos by Fauge7
Find CD-Media Papers by Fauge7