Testing System Time, made Simpler Trajectory

This commit is contained in:
Aarav Shah
2020-02-19 19:16:26 -07:00
parent 0f0b3e7208
commit 0d13b05dda
2 changed files with 3 additions and 3 deletions
@@ -194,8 +194,8 @@ public class RobotContainer {
new Pose2d(0, 0, new Rotation2d(0)),
// Pass through these two interior waypoints, making an 's' curve path
List.of(
new Translation2d(1, 1),
new Translation2d(2, -1)
new Translation2d(3, 0)
//new Translation2d(2, -1)
),
// End 3 meters straight ahead of where we started, facing forward
new Pose2d(3, 0, new Rotation2d(0)),
@@ -273,7 +273,7 @@ public class Drive extends SubsystemBase {
@Override
public void periodic() {
m_currentTimeSec = (int)(System.currentTimeMillis() / 1000);
SmartDashboard.putNumber("Time Seconds", m_currentTimeSec);
SmartDashboard.putNumber("Time Seconds", System.currentTimeMillis());
if (m_currentTimeSec % 10 == 0) {
coolFalcon(true);