22 virtual void Update(
double voltage,
double dt) = 0;
virtual double GetVelocity() const =0
Gets the current velocity of the elevator.
virtual void Update(double voltage, double dt)=0
Updates the elevator state based on applied voltage and physics.
virtual double GetPosition() const =0
Gets the current position of the elevator.
virtual ~Elevator()=default