cloudpendulumclient.benchmark.evaluator
Classes
The base class for evaluators using the benchmarking interface. |
- class cloudpendulumclient.benchmark.evaluator.Evaluator
The base class for evaluators using the benchmarking interface.
- abstract evaluate(state: list[MotorState], controller_output: list[float], time: float)
Evaluate the current state of the system. Should be called once per control loop iteration.
- Parameters:
state – The state of the system for the current control loop iteration.
controller_output – The controller output torques for the current control loop iteration.
time – The time since the control loop started until the current control loop iteration.
- abstract get_score() float
Get the score for the benchmark. Should be called once after the benchmark has finished.
- Returns:
The score for the benchmark.