This reference describes unreleased code on main; no release documents it yet.

rlmesh::ext::reset_lanes

functionPreviewuse rlmesh::ext::reset_lanes;[source]

Partial reset: reset the listed lanes (an empty slice resets all of them; a per-lane seed list aligns with env_indices) and return the batched observation of every lane and the info with every lane's episode_ids. An index above u32::MAX is the ValueError class before any I/O.

fn reset_lanes(
    env: &mut RemoteVectorEnv,
    env_indices: &[u64],
    seed: Option<VectorSeed>,
    options: Option<&InfoDict>,
) -> Result<(Value, InfoDict)>