mirror of
https://github.com/Team4388/RiseOfRidgebotics2020.git
synced 2026-06-09 08:48:01 -06:00
Added Path to Intake 3 balls in 6 ball Autonomous
This commit is contained in:
@@ -44,7 +44,7 @@ public class GotoCoordinates extends SequentialCommandGroup {
|
||||
|
||||
|
||||
addCommands( new TurnDegrees(m_drive, m_currentAngle),
|
||||
new Wait(m_drive, 1),
|
||||
new Wait(m_drive, 0.1),
|
||||
new DriveStraightToPositionPID(m_drive, m_hypotDist),
|
||||
new TurnDegrees(m_drive, m_endAngle - m_currentAngle));
|
||||
}
|
||||
|
||||
@@ -21,7 +21,7 @@ public class Wait extends CommandBase {
|
||||
/**
|
||||
* Creates a new WaitCommand.
|
||||
*/
|
||||
public Wait(SubsystemBase subsystem, float seconds) {
|
||||
public Wait(SubsystemBase subsystem, double seconds) {
|
||||
// Use addRequirements() here to declare subsystem dependencies.
|
||||
|
||||
m_waitTime = (long) (seconds * 1000);
|
||||
|
||||
Reference in New Issue
Block a user