-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Arm auton edits #23
base: master
Are you sure you want to change the base?
Arm auton edits #23
Conversation
Add Driver Code to Auton Branch
|
||
public class RobotMap { | ||
public static class Port { | ||
|
||
public static class Port { // TODO: Correct Ports |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should have the correct ports. Either that or this comment shouldn't be here.
@@ -66,11 +74,12 @@ | |||
public static final double INCHES_PER_TICK = Metrics.Wheel.CIRCUMFERENCE_INCHES | |||
/ Metrics.Wheel.TICKS_PER_REVOLUTION; | |||
} | |||
public static final double LENGTH = 32.75; | |||
public static final double WIDTH = 27.75; | |||
public static final double LENGTH = 49.04;// 32.75; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what are the comments for?
@@ -83,15 +92,20 @@ | |||
public static TankDriveShifting chassis; | |||
public static Motor leftWheel; | |||
public static Motor rightWheel; | |||
public static DiscBrake discBrake; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no diskBrake
public static NavX navx; | ||
public static Subsystem[] mainSubsystems; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this shouldn't be merged until shuffleboard is merged
@@ -0,0 +1,33 @@ | |||
package org.usfirst.frc4904.robot.commands; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no discbrake
import edu.wpi.first.wpilibj.command.CommandGroup; | ||
|
||
/** | ||
* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be a proper javadocs.
* piston and stopping the arm. | ||
* | ||
*/ | ||
public class ArmSet extends CommandGroup { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't this command the exact same thing as ArmMove, but with a different name? Do we need this?
|
||
|
||
/* | ||
* ArmSet is similar to MotorPositionConstant |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This isn't ArmSet, this is ArmMove.
Merge changes that were made to the intake, arm, and indexer during auton testing.