RobotLocomotion / drake

Model-based design and verification for robotics.
https://drake.mit.edu
Other
3.19k stars 1.24k forks source link

Inconsistent port names in MultibodyPlant #21458

Open jwnimmer-tri opened 1 month ago

jwnimmer-tri commented 1 month ago

The Doxygen overview for MbP lists its promised output port names, but the following two port names are inconsistent between the docs and the actual framework name of the port:

As best I can tell, this has been broken since its introduction in #13364.

Tagging +@amcastro-tri as component owner.

Version: Drake v1.29.0.

jwnimmer-tri commented 1 month ago

FYI This tripped me up while implementing free body sleeping.

My gut feeling is that we should change the string names, leaving the getters and docs unchanged. The body_poses port follows the same pattern and uses the body_... prefix consistently.