Skip to content

PostureTask reset() does not reset refVel and refAccel #468

@bastien-muraccioli

Description

@bastien-muraccioli

When calling ctl.postureTask->reset();, the reference velocity and acceleration are not reset. This means we have to manually do:

ctl.postureTask->refAccel(Eigen::VectorXd::Zero(jointNumber));
ctl.postureTask->refVel(Eigen::VectorXd::Zero(jointNumber));

Is this the intended behavior? If not, it might be useful for reset() to include resetting these references to zero as well to avoid unexpected motion or controller behavior after reset.

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