RobotLocomotion / drake

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

Need to document the MultibodyPlant generalized_contact_forces output port #21484

Open RussTedrake opened 1 month ago

RussTedrake commented 1 month ago

What happened?

Follow-up from this SO post, I was also unable to find any documentation describing the values available on this output port.

Version

No response

What operating system are you using?

No response

What installation option are you using?

No response

Relevant log output

No response

jwnimmer-tri commented 2 weeks ago

One related question -- is there any reason we have a per-model output port for this, but not a whole-plant output port? Maybe that nobody asked for one?

It's an outlier as the only per-model output that doesn't have a whole-plant neighbor. In the current Calc function, we are already computing the whole-plant vector and then throwing way the part we didn't need.