Interface SimRobotConfig


public interface SimRobotConfig
Season-glue interface: the device registry the core needs to build a FakeHardwareMap that mirrors the real robot configuration (architecture ยง3, domain R7). Implemented by the season layer in TeamCode; the core never reaches out for these season facts.

Device names MUST match the names the real subsystems pass to hardwareMap.get(...) so the same subsystem code resolves devices in sim and on the robot (domain R1).

Scope (Batch 1.2): interface surface only. FakeHardwareMap population from these names is built in Batch 1.4.

  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the drive motor config names, in [frontLeft, frontRight, backLeft, backRight] order.
    Returns the drivetrain geometry and motor-model constants for this season.
    Returns the config name of the odometry/localizer device the drivetrain reads pose from.
  • Method Details

    • driveMotorNames

      String[] driveMotorNames()
      Returns the drive motor config names, in [frontLeft, frontRight, backLeft, backRight] order.
      Returns:
      the drive motor config names, in [frontLeft, frontRight, backLeft, backRight] order
    • odometryName

      String odometryName()
      Returns the config name of the odometry/localizer device the drivetrain reads pose from.
      Returns:
      the config name of the odometry/localizer device the drivetrain reads pose from
    • drivetrain

      DrivetrainSimConfig drivetrain()
      Returns the drivetrain geometry and motor-model constants for this season.
      Returns:
      the drivetrain geometry and motor-model constants for this season