Skip to main content

IntentCadenceScenario

Robotics scenarios · Implementation: mlsysim/engine/scenario_definitions/robotics/grounding.py.

Construct this scenario with keyword inputs. The fields below show the types and defaults declared by this class.

site’s conveyor target proposed by machine’s intent model: evidence horizons against the model’s cadence, a host stall of stall, and the stop onset after expiry.

target_speed defaults to the conveyor’s; set it for a slower drift.

Notes

Equation: result evaluates the configured solver; its contract owns the governing equations.

Assumptions: The target follows the supplied speed/slip bounds and the intent producer has fixed cadence and latency.

Excludes: Data-dependent model latency, geometric planning, and verified command safety.

References

Derivation: The scenario binds declared inputs to IntentCadenceModel. Those implementations document their derivations and sources.

Examples

Execute the registered worked inputs; this is a modeled calculation.

>>> from mlsysim import Scenarios
>>> case = Scenarios.ConveyorMugIntentCadence
>>> value = case.result
>>> print(f"{value.tracked_horizon:.3f~P}")
219.089 ms

Attributes

Name Description
machine
result Evaluate the configured inputs with mlsysim.solvers.IntentCadenceModel.solve.
site
speed Target speed in length/time; use conveyor speed unless explicitly overridden.
stall
target_speed

site

Type: Any.

Declared default: required.

machine

Type: Any.

Declared default: required.

stall

Type: Quantity.

Declared default: required.

target_speed

Type: Optional[Quantity].

Declared default: None.

speed

engine.scenario_types.IntentCadenceScenario.speed

Target speed in length/time; use conveyor speed unless explicitly overridden.

Equation: return self.site.v_conveyor if self.target_speed is None else self.target_speed

result

engine.scenario_types.IntentCadenceScenario.result

Evaluate the configured inputs with mlsysim.solvers.IntentCadenceModel.solve.

The returned typed result retains the solver’s documented units, assumptions, and feasibility semantics; this property adds no measurement or safety claim. Equation: result = IntentCadenceModel().solve(...) using the fields shown below.

Back to top