Package org.horizon36596.simloop.config
Interface SimRobotConfig
public interface SimRobotConfig
Season-glue interface: the device registry the core needs to build a
FakeHardwareMap
that mirrors the real robot configuration. 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, unchanged subsystem code resolves devices in sim and on the robot.
-
Method Summary
Modifier and TypeMethodDescriptionString[]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
-