Skip to content

Axis import problems #21

@JanusMaple

Description

@JanusMaple

In some urdf files axis coordinate might be [0.0, 0.0, 0.0], which would cause runtime error for the code in line 2169urdf.py: "value = value / np.linalg.norm(value)".
Thus, it would be better if there is a conditional statement that if math.isclose(np.linalg.norm(value), 0.0), then value = np.array([1.0, 0.0, 0.0], dtype=np.float64).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions