gazebosim/sdformat

parser_urdf should not ignore origin of floating and planar joints

Open

#1,282 opened on May 17, 2023

View on GitHub
 (2 comments) (0 reactions) (0 assignees)C++ (122 forks)auto 404
enhancementgood first issuehelp wanted

Repository metrics

Stars
 (216 stars)
PR merge metrics
 (PR metrics pending)

Description

Desired behavior

While investigating a question related to the reference frame used for floating URDF joints, I noticed that parser_urdf.cc currently takes no action when encountering floating and planar joints (see the switch logic where no value for jtype is set and the subsequent if block). This causes the //joint/origin tag to be ignored for these joint types, when it should be passed along to the SDFormat file in the link pose.

Alternatives considered

Implementation suggestion

Additional context

Contributor guide