rlmesh::adapters
Declarative adapter specifications, resolution and per-step transforms.
Preview
use rlmesh::adapters;Structs
- ActionPreviewOrdered action actuators plus optional clipping bounds.
- ActuatorPreviewOne contiguous slice of an action vector.
- AdapterPreviewA resolved adapter handle.
- AdapterResolutionErrorPreviewAdapter-resolution error details.
- AdvisoryPreviewNon-fatal information from adapter resolution.
- ConcatPreviewA multi-part numeric state input: several roles packed into one tensor.
- ConstantPreviewA constant part of a
Concat:dimcopies offill. - CustomPreviewA custom input computed by host-language code.
- CustomEncodingPreviewA rotation packing layered on a known native
baseencoding. - EnvTagsPreviewThe semantic tags an env publishes for its observation and action spaces.
- FieldPreviewOne contiguous field of a flat numeric observation leaf.
- ImagePreviewAn image input expected by a model.
- ImageTagPreviewA camera image entry in an environment observation.
- ModelSpecPreviewA validated immutable model input tree and action layout.
- ObsTransformPreviewA shared callable; clones and equality retain its construction identity.
- ObservationRolesPreviewThe observation roles an environment declares, grouped by kind.
- PreviousOptionsPreviewOptions for the
Previousadapter. - ResolveOptionsPreviewKeywords for adapter resolution.
- RotationPreviewA literal rotation, authored as a model state part's
post_rotate. - RotationTransformPreviewA shared callable; clones and equality retain its construction identity.
- SplitPreviewAn ordered split of one flat numeric observation leaf into role fields.
- StatePreviewA single-part numeric state input expected by a model.
- StateTagPreviewA numeric proprioception entry in an environment observation.
- TagErrorPreviewA failed tag returns ownership of the original environment.
- TagOptionsPreviewTagging keywords.
- TaggedPreviewAn environment with immutable adapter tags merged over its metadata.
- TextPreviewA text input expected by a model.
- TextTagPreviewA text entry (typically the task instruction) in an observation.
- WrappedPredictPreviewA predict callable composed with an adapter, usable as a model policy.
Enums
- ActionEncodingPreviewA typed adapter vocabulary or tree alternative.
- AdvisorySeverityPreviewA typed adapter vocabulary or tree alternative.
- AxisValuePreviewA typed adapter vocabulary or tree alternative.
- ChannelOrderPreviewA typed adapter vocabulary or tree alternative.
- ConcatPartPreviewA typed adapter vocabulary or tree alternative.
- CropModePreviewA typed adapter vocabulary or tree alternative.
- EncodingArmPreviewA typed adapter vocabulary or tree alternative.
- FitModePreviewA typed adapter vocabulary or tree alternative.
- FramePreviewA typed adapter vocabulary or tree alternative.
- ImageLayoutPreviewA typed adapter vocabulary or tree alternative.
- InputNodePreviewA typed adapter vocabulary or tree alternative.
- ModelLeafPreviewA typed adapter vocabulary or tree alternative.
- NormalizePreviewA typed adapter vocabulary or tree alternative.
- ObsLeafPreviewA typed adapter vocabulary or tree alternative.
- ObsNodePreviewA typed adapter vocabulary or tree alternative.
- ProvenancePreviewA typed adapter vocabulary or tree alternative.
- ReferencePreviewA typed adapter vocabulary or tree alternative.
- ResamplePreviewA typed adapter vocabulary or tree alternative.
- RotationEncodingPreviewA typed adapter vocabulary or tree alternative.
- StackPadPreviewA typed adapter vocabulary or tree alternative.
- StateContainerPreviewA typed adapter vocabulary or tree alternative.
- StateEncodingPreviewA typed adapter vocabulary or tree alternative.
- StateSourcePreviewA typed adapter vocabulary or tree alternative.
- TextContainerPreviewA typed adapter vocabulary or tree alternative.
- TolerantPreviewA known vocabulary value or a newer peer's spelling, retained verbatim.
Traits
- AdapterBasePreviewAn authored adapter protocol with no-op observe and reset hooks by default.
- VocabularyPreviewA library-defined closed string vocabulary.
Functions
- Previous()PreviewSelect values from a previous step.
- resolve()PreviewResolve authored env tags and a model spec against single-lane spaces.
- resolve_from_contract()PreviewResolve a contract through the core's tolerant tag reader.
- tag()PreviewAttach tags to an authored single environment, retaining it on failure.
- tag_vector()PreviewAttach tags to an authored vector environment, validating its lane spaces.
Type aliases
Constants
Show all 32Hide
- ACTION_DELTA_POSPreviewThe canonical spelling or ordered vocabulary.
- ACTION_DELTA_ROTPreviewThe canonical spelling or ordered vocabulary.
- ACTION_EEF_POSPreviewThe canonical spelling or ordered vocabulary.
- ACTION_EEF_ROTPreviewThe canonical spelling or ordered vocabulary.
- ACTION_GRIPPERPreviewThe canonical spelling or ordered vocabulary.
- ACTION_JOINT_POSPreviewThe canonical spelling or ordered vocabulary.
- ACTION_JOINT_VELPreviewThe canonical spelling or ordered vocabulary.
- BASEPreviewThe canonical spelling or ordered vocabulary.
- BASE_ANG_VELPreviewThe canonical spelling or ordered vocabulary.
- BASE_ROTPreviewThe canonical spelling or ordered vocabulary.
- COMMAND_BASE_VELPreviewThe canonical spelling or ordered vocabulary.
- EEF_POSPreviewThe canonical spelling or ordered vocabulary.
- EEF_ROTPreviewThe canonical spelling or ordered vocabulary.
- EEF_WRENCHPreviewThe canonical spelling or ordered vocabulary.
- ENV_BRANCH_METADATA_KEYPreviewThe canonical spelling or ordered vocabulary.
- ENV_METADATA_KEYPreviewThe canonical spelling or ordered vocabulary.
- GRIPPER_POSPreviewThe canonical spelling or ordered vocabulary.
- HEADPreviewThe canonical spelling or ordered vocabulary.
- IMAGE_PRIMARYPreviewThe canonical spelling or ordered vocabulary.
- IMAGE_SECONDARYPreviewThe canonical spelling or ordered vocabulary.
- IMAGE_WRISTPreviewThe canonical spelling or ordered vocabulary.
- INSTRUCTIONPreviewThe canonical spelling or ordered vocabulary.
- JOINT_POSPreviewThe canonical spelling or ordered vocabulary.
- JOINT_VELPreviewThe canonical spelling or ordered vocabulary.
- LEFT_ARMPreviewThe canonical spelling or ordered vocabulary.
- LEFT_LEGPreviewThe canonical spelling or ordered vocabulary.
- MODEL_METADATA_KEYPreviewThe canonical spelling or ordered vocabulary.
- PARTSPreviewThe canonical spelling or ordered vocabulary.
- RIGHT_ARMPreviewThe canonical spelling or ordered vocabulary.
- RIGHT_LEGPreviewThe canonical spelling or ordered vocabulary.
- ROTATION_DIMSPreviewThe canonical spelling or ordered vocabulary.
- TORSOPreviewThe canonical spelling or ordered vocabulary.