Find list here.
- Includes all members of the team as valuable parts of strategic decisions
- Ensures strategic decisions are made in timely fashion, by the deadlines set in schedules
- Leads strategy discussions
- Leads pick-list discussions
package calculator; | |
import java.awt.GridBagConstraints; | |
import java.awt.GridBagLayout; | |
import java.awt.event.ActionEvent; | |
import java.awt.event.ActionListener; | |
import javax.swing.JButton; | |
import javax.swing.JFrame; | |
import javax.swing.JTextField; | |
import javax.swing.SwingUtilities; |
package testing; | |
import edu.wpi.first.wpilibj.Jaguar; | |
import edu.wpi.first.wpilibj.Joystick; | |
import edu.wpi.first.wpilibj.RobotDrive; | |
import edu.wpi.first.wpilibj.SimpleRobot; | |
import edu.wpi.first.wpilibj.Timer; | |
public class Robot extends SimpleRobot { | |
encoderDistance() - Returns the current distance of the left side (resets to 0 at beginning of autonomous and when moving commands are run) (double) | |
isPastSetpoint() - Returns whether the shooter is at the setpoint RPM (boolean) | |
gyro() - Returns the angle of the gyro (double) | |
isEnabled() - Returns whether the driverstation is actually enabled (boolean) | |
print(Value) - Prints the value to the console | |
log(Value) - Prints the value to the drivestation, log file and console | |
arcade(Double, Double) - Drives using speed value and turn value respectively | |
tank(Double, Double) - Drives using left speed value and right speed value respectively | |
stop() - Stops the drivetrain | |
shiftGear() - Switches gear of the drivetrain |
// Run segments using @Name | |
@Autonomous { | |
method() | |
if(true) | |
method() | |
else | |
method() | |
method() | |
method() |
Security: | |
_ Internally used objects are private | |
_ All fields that can be final are final | |
_ All methods that are depended on in other methods should be final | |
_ Classes that are not final should not use its non-final methods inside of any of its own methods | |
_ Classes that should not be extended should be final | |
_ Internal classes should be static whenever possible | |
_ Enums should have private constructors | |
_ Minimize accessibility | |
_ Minimize mutability |
package test; | |
import java.io.BufferedReader; | |
import java.io.File; | |
import java.io.IOException; | |
import java.io.InputStream; | |
import java.io.InputStreamReader; | |
import java.net.URL; | |
import java.util.Arrays; | |
import java.util.Iterator; |
def concat(x, i) | |
def _concat(j, w, e) | |
if(e > 0) | |
return _concat(j + w, w, e - 1) | |
else | |
return j | |
end | |
end | |
import edu.gordian.elements.methods.UserMethod; | |
import edu.gordian.scopes.Scope; | |
import edu.gordian.values.UserReturningMethod; | |
import edu.gordian.values.Value; | |
import java.util.Scanner; | |
import java.util.StringTokenizer; | |
public class ConsoleGordian { | |
public static void main(String[] args) throws Exception { |
print('Should print 1') | |
print(x = 1) | |
print('Should print 2') | |
print(2) | |
print('Should print 3') | |
print(3.0) | |
print('Should print 1.000000000001') |
Find list here.