gazebosim/sdformat

parser_urdf should not ignore origin of floating and planar joints

Aperta

#1282 aperta il 17 mag 2023

 (2 commenti) (0 reazioni) (0 assegnatari)C++ (122 fork)auto 404
enhancementgood first issuehelp wanted

Metriche repository

Star
 (216 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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

Guida contributor