[examples] Consistently use 0 for controller port (#3496)

This commit is contained in:
liorsagy
2021-08-01 06:39:50 +03:00
committed by GitHub
parent 3838cc4ec4
commit 4a944dc397
25 changed files with 25 additions and 25 deletions

View File

@@ -69,5 +69,5 @@ constexpr auto kAutoShootTimeSeconds = 7_s;
} // namespace AutoConstants
namespace OIConstants {
constexpr int kDriverControllerPort = 1;
constexpr int kDriverControllerPort = 0;
} // namespace OIConstants

View File

@@ -69,5 +69,5 @@ constexpr auto kAutoShootTimeSeconds = 7_s;
} // namespace AutoConstants
namespace OIConstants {
constexpr int kDriverControllerPort = 1;
constexpr int kDriverControllerPort = 0;
} // namespace OIConstants

View File

@@ -43,5 +43,5 @@ constexpr auto kMaxAcceleration = 3_mps_sq;
} // namespace DriveConstants
namespace OIConstants {
constexpr int kDriverControllerPort = 1;
constexpr int kDriverControllerPort = 0;
} // namespace OIConstants

View File

@@ -72,5 +72,5 @@ constexpr auto kAutoShootTimeSeconds = 7_s;
} // namespace AutoConstants
namespace OIConstants {
constexpr int kDriverControllerPort = 1;
constexpr int kDriverControllerPort = 0;
} // namespace OIConstants

View File

@@ -59,5 +59,5 @@ constexpr double kAutoDriveSpeed = 0.5;
} // namespace AutoConstants
namespace OIConstants {
constexpr int kDriverControllerPort = 1;
constexpr int kDriverControllerPort = 0;
} // namespace OIConstants

View File

@@ -46,5 +46,5 @@ constexpr double kAutoDriveSpeed = 0.5;
} // namespace AutoConstants
namespace OIConstants {
constexpr int kDriverControllerPort = 1;
constexpr int kDriverControllerPort = 0;
} // namespace OIConstants

View File

@@ -46,5 +46,5 @@ constexpr double kAutoDriveSpeed = 0.5;
} // namespace AutoConstants
namespace OIConstants {
constexpr int kDriverControllerPort = 1;
constexpr int kDriverControllerPort = 0;
} // namespace OIConstants

View File

@@ -91,5 +91,5 @@ extern const frc::TrapezoidProfile<units::radians>::Constraints
} // namespace AutoConstants
namespace OIConstants {
constexpr int kDriverControllerPort = 1;
constexpr int kDriverControllerPort = 0;
} // namespace OIConstants

View File

@@ -67,5 +67,5 @@ constexpr double kRamseteZeta = 0.7;
} // namespace AutoConstants
namespace OIConstants {
constexpr int kDriverControllerPort = 1;
constexpr int kDriverControllerPort = 0;
} // namespace OIConstants

View File

@@ -15,5 +15,5 @@
*/
namespace OIConstants {
constexpr int kDriverControllerPort = 1;
constexpr int kDriverControllerPort = 0;
} // namespace OIConstants

View File

@@ -15,5 +15,5 @@
*/
namespace OIConstants {
constexpr int kDriverControllerPort = 1;
constexpr int kDriverControllerPort = 0;
} // namespace OIConstants

View File

@@ -79,5 +79,5 @@ constexpr double kRamseteZeta = 0.7;
} // namespace AutoConstants
namespace OIConstants {
constexpr int kDriverControllerPort = 1;
constexpr int kDriverControllerPort = 0;
} // namespace OIConstants

View File

@@ -111,5 +111,5 @@ extern const frc::TrapezoidProfile<units::radians>::Constraints
} // namespace AutoConstants
namespace OIConstants {
constexpr int kDriverControllerPort = 1;
constexpr int kDriverControllerPort = 0;
} // namespace OIConstants

View File

@@ -60,6 +60,6 @@ public final class Constants {
}
public static final class OIConstants {
public static final int kDriverControllerPort = 1;
public static final int kDriverControllerPort = 0;
}
}

View File

@@ -51,6 +51,6 @@ public final class Constants {
}
public static final class OIConstants {
public static final int kDriverControllerPort = 1;
public static final int kDriverControllerPort = 0;
}
}

View File

@@ -35,6 +35,6 @@ public final class Constants {
}
public static final class OIConstants {
public static final int kDriverControllerPort = 1;
public static final int kDriverControllerPort = 0;
}
}

View File

@@ -67,6 +67,6 @@ public final class Constants {
}
public static final class OIConstants {
public static final int kDriverControllerPort = 1;
public static final int kDriverControllerPort = 0;
}
}

View File

@@ -48,6 +48,6 @@ public final class Constants {
}
public static final class OIConstants {
public static final int kDriverControllerPort = 1;
public static final int kDriverControllerPort = 0;
}
}

View File

@@ -43,6 +43,6 @@ public final class Constants {
}
public static final class OIConstants {
public static final int kDriverControllerPort = 1;
public static final int kDriverControllerPort = 0;
}
}

View File

@@ -43,6 +43,6 @@ public final class Constants {
}
public static final class OIConstants {
public static final int kDriverControllerPort = 1;
public static final int kDriverControllerPort = 0;
}
}

View File

@@ -68,7 +68,7 @@ public final class Constants {
}
public static final class OIConstants {
public static final int kDriverControllerPort = 1;
public static final int kDriverControllerPort = 0;
}
public static final class AutoConstants {

View File

@@ -50,7 +50,7 @@ public final class Constants {
}
public static final class OIConstants {
public static final int kDriverControllerPort = 1;
public static final int kDriverControllerPort = 0;
}
public static final class AutoConstants {

View File

@@ -20,6 +20,6 @@ public final class Constants {
*/
public static final class OIConstants {
// Example: the port of the driver's controller
public static final int kDriverControllerPort = 1;
public static final int kDriverControllerPort = 0;
}
}

View File

@@ -20,6 +20,6 @@ public final class Constants {
*/
public static final class OIConstants {
// Example: the port of the driver's controller
public static final int kDriverControllerPort = 1;
public static final int kDriverControllerPort = 0;
}
}

View File

@@ -93,7 +93,7 @@ public final class Constants {
}
public static final class OIConstants {
public static final int kDriverControllerPort = 1;
public static final int kDriverControllerPort = 0;
}
public static final class AutoConstants {