Skip to content

Default Joint positions may be out of limits #410

@younik

Description

@younik

We currently initialize joint positions as zeros by default:

joint_positions = jnp.atleast_1d(
jnp.array(
(
joint_positions
if joint_positions is not None
else jnp.zeros(model.dofs())
),
dtype=float,
).squeeze()

However, some joints have limits that don't include zero (for example, stickbot shoulder).
We may want to initialize them differently, for example in the mean of limits.

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