Skip to content

env.observation_space doesn't match the shape of actual observation returned during env reset/step #11

@rejuvyesh

Description

@rejuvyesh

e.g.

size(reset(antenv), 1) == antenv.observation_space.n

returns false.

I'll add those tests in a PR.

Reason is because although wedefine observation space as https://github.com/dojo-sim/Dojo.jl/blob/main/environments/ant/methods/env.jl#L44-L51 but then get_observation concatenates the contact forces as well: https://github.com/dojo-sim/Dojo.jl/blob/main/environments/ant/methods/env.jl#L175. We need a way to reflect this in the observation space.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions