Skip to content

Joint positions might incorrect after RESET #33

@dmronga

Description

@dmronga

One more (:
When I do a RESET, the joint positions might be flipped by 2pi. The problem occurs when I reset the simulation while one or more of the joints are located at position >pi or <-pi.
This is due to the absolute position conversion done here:

double updateAbsolutePosition( double v )
The position is shifted by 2pi if the absolute difference to the last position is bigger than pi.
Is there a good reason for doing such a conversion? If not I would suggest to remove it.

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