Interface FakeDevice
- All Known Implementing Classes:
AbstractFakeDevice,FakeAnalogInput,FakeCRServo,FakeDigitalChannel,FakeExternalEncoder,FakeMotor,FakeServo,FakeVoltageSensor
public interface FakeDevice
A simulated hardware device with a kinematic plant. The harness ticks every fake device once per
loop with the
FakeTimer's deltaTime (fakehardware-plant §2). State mutation happens ONLY
in update(double); the SDK getters are pure reads (conventions §4).-
Method Summary
Modifier and TypeMethodDescriptionvoidupdate(double deltaTime) Advance this device's kinematic state bydeltaTimeseconds.
-
Method Details
-
update
void update(double deltaTime) Advance this device's kinematic state bydeltaTimeseconds. Pure and deterministic — no wall-clock reads (domain R5).- Parameters:
deltaTime- how far to advance, in seconds; the harness passes its fixed tick
-