Robotics Scenarios
Physical-machine scenarios, grouped by sensing, control, motion, and learning.
Source locations
- Inputs and calculations:
mlsysim/engine/scenario_definitions/robotics/. - Named configurations:
mlsysim/engine/scenario_catalog/robotics/. - Result schemas:
mlsysim/engine/result_types/robotics.py.
Public imports and existing class reference URLs remain stable.
Scenario contracts
Contact
- ForceTailScenario: A contact force over
trialstrials with a benignmean_forceand ap99_forcetail, againstsite’s tripwire and structural limit. - HeadingDriftScenario: A persistent
heading_offsetatmachine’s drive limit insite’s aisle: the angular error an open-loop replay scores, and where the closed loop spends the side clearance (y = v sin(eps) t). - StiffContactScenario: A stiff contact of
stiffness(a linear spring,F = k x): the force aresidualpenetration commands, and the penetrations atsite’s latch tripwire and limit.
Control
- CycleBudgetScenario: Stage sub-budgets of one permission check against
site’s declared WCET and deadline. - GravityBiasedJointStopScenario: One loaded arm joint at
joint_speedbraking withmachine’s peak torque while gravity holdsbias_fractionof that peak along (descending) or against (ascending) the motion. - HoldIntervalDriftScenario: Drift while a drive holds the last command for one
period: travel atspeedplus the halfaccelerationperiod^2an independent acceleration bound allows. - TorqueHalfSpaceProjectionScenario: A torque proposal against one barrier half-space
normal . u <= bound: the least-change projection (calc_cbf_qp_orthogonal_projection) against a per-axisclamp.
Demonstrations
- ContactGridScenario: A contact task binned by contact angle and normal force, and the cells each archive occupies.
- CorrelatedLogScenario:
durationof records logged atratewhose adjacent records have lag-one correlationlag1_correlation: how few independent samples the record count holds. - DemonstrationCampaignScenario: Scheduled sessions of attempt-and-reset cycles: demonstrations kept per session, the campaign that keeps
target_keptof them, and the wear it puts on a gear and a cable. - GripperTransferScenario: A normalized gripper command from a donor gripper replayed on a target with a shorter stroke and a lower continuous force rating, against a part of
part_width. - ImitationBoundScenario: Worst-case imitation cost over one
episodeatcontrol_ratewith per-step errorper_step_error: open loop, behavioral cloning, and aggregation with recoverabilityu. - PairingLagScenario: An observation paired with an action
laglater, against aclearance, at a transit speed and atsite’s guarded and fast latch approaches. - ScenarioTableCoverageScenario: A scenario table of
offsetsbyspeedsjoined against an archive demonstrated withinlogged_offsetatdemonstrated_speed, plus recovery collections atadded_offsets. - StateGridScenario: A state space of
state_componentsaxes cut intobinsper axis, against the recordsfleetrobots log atlog_rateforduration. - TeleopIngestionScenario: Raw telemetry of one teleoperated session on
machine: its navigation and wrist cameras,external_camerasRGB-D cameras, and the kinematic record at the permission tick. - TeleopLoopScenario: One teleoperated correction: display, human, command transport, and mechanical response.
Diagnostics
- DiagnosticCoverageScenario: Fault-rate
strata(FIT) to be left at mosttargetFIT unmitigated, shown atconfidence. - ExponentialRareEventScenario: An exponential delay of
meanthat fails past the delay spare ofbudget(orthreshold). - OnsetTrialScenario: A stopping trace that begins braking at
onsetafter the reference event oforacle. - RailHoldUpScenario:
site.machine’s backed permission rail, its feed lost during the longest admitted stop.
Estimation
- BeliefExpiryScenario: A belief with initial error, growth law, and task tolerance; optionally admitted at
use_ageunderage_bound. - ClearanceQueryScenario: Sphere-hull clearance queries on
site.machine’s permission controller, and a snapshot of the stopping corridor. - EncoderRateScenario: An encoder of
flop_per_frameon everysite.machinenavigation frame, against the host SoC’s dense FP16 peak. - EpochGapScenario: Named acquisition
epochsin one cycle; thepairto fuse is projected across its gap atspeed. - EstimatorConsistencyScenario: A qualification campaign of
runsscalar estimates, and single-update gates againstfusion’s misdated update. - FreeSpaceExpiryScenario:
site’s rack end: free space ahead (clear distance) and abreast (side clearance) eroding at the walking speed. - FrozenTransformScenario:
site’s conveyor object tracked by a camera lost atloss_time; its last transform republished everyrepublish_period. - HostMapSizingScenario: A workcell of
extentmapped atpitch: dense grid against a hashed band ofband_half_widtharoundsurface_area. - InertialCoastScenario:
site.machine’s IMU coastingdurationwithout a fix, seen at the rack-end distance. - OdometryDriftScenario: A square-path odometry benchmark’s return errors, priced against
site’s localization bound at its aisle speed and length. - RangeFusionScenario: The range to
site’s rack-end upright, predicted over one lidar sweep and updated by the lidar, thenstereo; the stereo update misdated byage’s arrival stamp atspeed. - RaymarchTrafficScenario: One depth stream ray-marched into a map on
site.machine’s host SoC. - ReplayBufferScenario: A rewind buffer at
site.machine’s IMU rate reaching back one observation age. - SensorBiasDriftScenario: A steady
readingwhose sensor bias drifts atdrift_rateforspan, while the estimator reportsreported_sigma. - SkewedRecordsScenario: Two records
skewapart, compared atsite: the base at its drive limit and a person at the walking speed close on each other. - StaleTransformScenario:
belief’s cached camera edge composed with the current wrist pose, onesite.machinewrist-camera frame old.
Grounding
- ConfidenceRegionScenario: A Gaussian position estimate with principal standard deviations
sigmas: itscoverageregion againstsite’s grasp tolerance. - DynamicReachScenario: A target
target_distancefrom the gripper atcadence.machine’s TCP speed ceiling, against the cadence scenario’s evidence windows. - ForwardOccupancyScenario: A coworker’s forward occupancy set at
cadence.site’s design approach speed, screened over the cadence scenario’s evidence windows and over aforecasthorizon, against the aisle. - GoalSetMembershipScenario: Terminal TCP
offsetsalong one axis tested against a goal set whose semi-axes all equalsite’s grasp tolerance: the normalized ellipsoidal distance, inside when at most one. - IntentCadenceScenario:
site’s conveyor target proposed bymachine’s intent model: evidence horizons against the model’s cadence, a host stall ofstall, and the stop onset after expiry. - IntentLeaseExpiryScenario: The intent lease for the cadence scenario’s target: its evidence horizons, an
administrative_lease, and the stopping deadline fromclearanceat the TCP speed ceiling, with the arm’s credible deceleration from its handbook worst-case stop. - ReferentSetScenario: Raw per-box
scoresof retained candidates screened by a conformal threshold calibrated oncalibration_countscenes at miss ratealpha, whose calibration score isthreshold_score.
Learning
- ContactDeadlineScenario: A constant-speed drive into
site’s latch plate: when the force ramp k v t reaches the tripwire and the limit, when braking can begin, and the time left, at both approaches. - DiscountHorizonScenario: One
rolloutof decisionsstepapart under discountdiscount: how far the return reaches, in decisions and in seconds, and the discount that keepsretained_weightof the final reward at the first decision. - ForceRiseGapScenario: An illustrative linear drive regulating
target_forceagainst a surface, in simulation and on hardware, with one stated discrepancy in each reality-gap channel: dynamics (force-rise rate and drive delay), timing (p99 actuation delay against the simulator’s), sensing (range bias and dropout), and appearance (pixel difference hiding a contact-patch shift). - IterativeDecoderBudgetScenario:
machine’s one-pass chunk decoder against an iterative head that encodes once and runsdenoising_stepsdependent evaluations indenoising_latency, and aflow_stepshead at the same cost per evaluation, on the setpoint step and the renewal period withrenewal_jitterheld free. - OnRobotFineTuneScenario:
interaction_stepssetpointsstepapart collected on the machine to absorb aplate_offset, of whichexceed_fractioncross the contact tripwire. - ParallelSimRunScenario: A GPU-parallel on-policy run:
robotsenvironments each steppingsteps_per_updatetimes per update forupdatesupdates withintraining_time, atpolicy_rate. - SoftContactExploitScenario:
machine’s arm coasting intosite’s latch plate at the fast approach: the peak force a penalty spring that lets the gripper sinkpenalty_penetrationreports, the peak the real plate imposes on a rigid arm, and the arm stiffness at which the series chain reaches the limit. The moving mass is the arm’s effective contact mass without its payload capacity (the gripper holds no object at the door). - TrialCampaignScenario:
trialshardware trials ofrollouteach, decisionsdecision_stepapart, with automated and manual resets, on one machine and on a farm; what a demonstration-seededseeded_budgetallows; and the same trials insimulatorat its published throughput.
Perception
- ClockConversionScenario: A sensor clock drifting at
drift_ratebetween syncs everysync_interval, converted undersite’s bound. - ConformalInsetScenario: A split-conformal bound at miss rate
alphafromcalibration_countresiduals. - DelayPhaseMarginScenario: A loop with
phase_marginatcrossover, closed through a puredelay. - LidarSweepAgeScenario:
site.machine’s spinning lidar atspeed: sweep motion and the age of the aisle sector at the rack end. - ObservationAgeScenario:
site.machine’s navigation-camera observation age atspeed, with abatch_framescomparison. - RollingShutterScenario:
site.machine’s rolling-shutter navigation camera atspeed, turning at the site’s yaw rate toward the rack end. - StereoDepthErrorScenario: A stereo rig’s depth error at two ranges and at
site’s rack end, against the site’s clearances. - ThermalExpansionScenario: A member of
lengthand expansioncoefficientwarmed bytemperature_rise. - TimingAttitudeErrorScenario: A
timing_errorand anangle_erroron a target atdistance, priced againstreference. - VisibilityRangeScenario: Fog of extinction coefficient
extinctionagainst a contrast threshold.
Placement
- RailDroopScenario: A current step
delta_iinrise_timethrough a package’s inductance and resistance, and the alpha-power gate-delay stretch at the drooped rail. - SharedDramReadScenario:
site’s permission tick placed on the machine’s application SoC, its snapshot read queued behind backlogs on the shared DRAM controller. - StallShareScenario:
site’s unloaded permission tick with a share of it slowedslowdowntimes. - ThermalThrottleScenario:
site’s permission tick on a cluster whose clock a thermal governor halves. - TickTraceScenario: Percentiles of a permission tick’s execution time over a trace of
ticksperiods, cold and warm, againstsite’s declared WCET and deadline.
Planning
- ChunkReplacementScenario: Replacing
machine’s admitted chunk atsite: capture-to-admission latency against the renewal period and the chunk lease, with aninterference_tailon the inference pass. - DynamicWindowScenario:
machine’s base over one chunk renewal atsite: its dynamic window and the classical admissible speed against the site’s clear distance and credible deceleration. - HandoffExposureScenario: A replanner at
replan_rateovermission_timewhose handoffs are each late withlate_probability, held tomission_budgetfor the whole mission. - JerkLimitedStopScenario: A machine at
speedthat stops along an S-curve atdecelerationafterdelay. - SeamBridgeScenario: A
velocity_gapat a chunk seam onjoint, closed in onetickor by a quintic bridge overbridge_duration, againstmachine’s arm torque-rate limit.loaded_inertia(optional) prices the one-tick step with the payload’s inertia added. - ShoulderSwingScenario:
machine’s shoulder holding its rated payload at full planar reach, withjoint’s reflected rotor inertia, swingingswingrest to rest inside its datasheet limits. - SpillLimitedStopScenario: The
free_stopscenario’s machine carrying an open container ofinner_radiusfilledfreeboardbelow the rim: the deceleration the liquid allows, that stop, and the carry speed. - StaleAnchorScenario: A joint of
machine’s arm turning atjoint_speedwhile a replacement takesdelay, anchored at the pose sampled at the request; the lever arm is the planar reach. - TrajectoryDeadlinesScenario: A trajectory record for
machine’s arm atsite: a replacement requested atrequest_delaywith alatency_targetandschedule_slack, ablenddeadline, thecommitinstant whenstop(a JerkLimitedStopScenario) must begin, and alate_wait. - TwoLinkJointRateScenario:
machine’s arm as a planar two-link chain atelbow_angle: the joint rates its TCP speed limit asks in the weakest direction, exact and with damped least squares atdamping.
Plant
- BrakingCeilingsScenario: The ceilings on
site’s credible deceleration for its loaded machine at the drive limit. - ContinuousDeratingScenario: A catalog continuous rating carried to a hotter ambient and a worse heat path.
- DriveBusScenario:
site.machine’s shared drive bus: a coincident load step, and a stop from the drive limit into it. - FreshnessProfileScenario: A target moving at
site’s conveyor speed, grasped through a staged capture-to-onset pipeline. - GearRatioCostScenario:
motorinjointholdingoutput_torquethrough each ofratios. - GearedRotorScenario: A rotor seen through a
gear_ratioreduction, beside a link ofload_inertia. - HubDriveElectricalScenario: Current rise and phase-short braking of
site.machine’s hub drives on a depleted bus. - StallDeratingScenario:
jointholdinghold_torqueat stall with copper’s resistance rising with temperature. - ThermalBurstScenario: A
burst_factortimes rated-current burst injoint, first-order lumped, fixed resistance. - ThrottledStageScenario:
site’s vision backbone atclock_ratioof full clock, paid as travel atspeed. - ZeroFailureScenario:
trialsfailure-free trials, bounded at one-sidedconfidence.
Proposers
- DecoderFamiliesScenario: One fresh
machine.chunk_horizon-step chunk frombackbone, per decoder family. - EvidenceHorizonScenario:
site’s conveyor target tracked bymachine’s chunk policy: evidence horizon against renewal. - KvHistoryScenario: Key-value cache for
history_windowof retained context athistory_ratebesidemachine’s weights. - ProposerTrafficScenario:
machine’s intent model and chunk policy sharing its memory bus (weight traffic only). - RateTargetScenario:
evaluationheld against atarget_rate: one fresh evaluation per period, not pipelined. - VlaEvaluationScenario: One fresh evaluation of
machine’s intent model on its application processor. - VlaTokenBudgetScenario: Tokens a VLA backbone reads from
viewssquare camera frames, and their memory per token. - WeightOnlyQuantizationScenario: One backbone priced at several weight formats against measurements of the same formats.
Realtime
- CanFdBusScenario:
num_axesservo axes on one CAN FD bus,frames_per_axisframes each percycle. - EtherCatCycleScenario:
num_axesdrives on one EtherCAT chain,bytes_per_axisof process data each percycle. - LeaseBudgetScenario:
site.machine’s chunk lease atspeed: its stopping-budget cost and the lease rule’s bounds. - PhaseLagBudgetScenario: A loop with crossover
crossoversampled everysample_period, with compute and transport delays. - ResponseTimeScenario:
site’s permission check as a periodic task: R = C + B + I against its deadline.
Site Limits
- LatchSeriesSpringScenario: A series spring sized so
machine’s arm stays undersite’s declared latch floor. - PackagingCellScenario: A packaging cell’s carriage that must stop before a fixed stop line.
- RestrictedTransitScenario:
site’s aisle leg atrestricted_speedagainst its normal aisle speed. - ShieldCoverageBillScenario: A fleet’s zero-event proposal log and a shield’s tested coverage against a hazard target.
Stopping
- SpeedStepScenario: Raising the speed setpoint from
basetoraised(two stopping budgets at one deceleration). - StoppingBudgetScenario: A machine at
speedthat must stop: travel duringdelay, then braking atdeceleration. - TractionLossScenario: Floor friction falls from
mu_beforetomu_afterunder a machine that assumesdeceleration. - TravelDuringLatencyScenario: Distance a vehicle at
speedcovers duringlatency; optionally a remote-path delay range.
Supervision
- BrakingBlendScenario: A bumpless transfer into braking on a site’s base at
speed, and an arm joint’s blend. - CommandAuthenticationScenario: Remote commands authenticated on a machine’s permission processor, priced against a takeover budget.
- DecisionChainScenario:
linksindependently kept decision records behind one admitted action, each retrievable with probability p; the whole chain resolves with p^links for each p inlink_probabilities. - DetectionShortfallScenario:
site.machineatspeedwith a stop sized for a group detected inreferenceof frames, met bygroupsdetected less often; misses allowed in every frame with probabilityall_miss_probability, frames independent. - EventRetentionScenario: Event-triggered retention:
pre_triggerbefore andpost_triggerafter each ofevents_per_dayevents, against keeping the wholeoperating_day. - ExposureConcentrationScenario:
encounter_shareof a site’s machine-person encounters fall onuser_shareof its people: their per-person exposure against the site average, and everyone else’s. - OversightTimeScenario: A person asked to act through
budget(a TakeoverBudgetScenario) against the time the hazard at its site leaves: the clear distance at the request speed. - SubgroupSampleScenario: An evaluation set of
totalpeople with a group ofsmall_share, both detected atrecall: exact intervals for each group, and the people per group a two-sided test atsignificancewithpowerneeds to tellrate_afromrate_b. - SupervisorQueueScenario: One remote assistant serving
machines, each asking for help atrequest_rate, each request holding the assistant forservice_time;utilization_capsizes the largest fleet. - TakeoverBudgetScenario: A machine at
speedat a site asks a person to take over withintakeover. - TakeoverCeilingLadderScenario: One takeover budget per sourced human response, each plus the same console
transport.