View Single Post
  #6   Spotlight this post!  
Unread 15-02-2015, 18:06
Ben Wolsieffer Ben Wolsieffer is offline
Dartmouth 2020
AKA: lopsided98
FRC #2084 (Robots by the C)
Team Role: Alumni
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Manchester, MA (Hanover, NH)
Posts: 520
Ben Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud of
Re: Robot Code disappearing in Driver Station

Quote:
Originally Posted by Jtbillick View Post
What is the correct package and Robot class name? Sorry, I'm the only programmer on my team and this is my first year doing this.
The correct name depends on how your project is setup. The Robot class is the one that contains the robotInit(), teleopInit(), teleopPeriodic() and other methods (assuming you are using iterative or command based). The package name is the text after the package declaration at the beginning of the Robot class.

For example, my robot class is called "Robot" and its first line is:
Code:
package org.usfirst.frc.team2084.CMonster2015;
so my build.properties file has these lines:
Code:
package=org.usfirst.frc.team2084.CMonster2015
robot.class=${package}.Robot
__________________



2016 North Shore District - Semifinalists and Excellence in Engineering Award
2015 Northeastern University District - Semifinalists and Creativity Award
2014 Granite State District - Semifinalists and Innovation in Control Award
2012 Boston Regional - Finalists