Deprecate CalcCenterOfMassPosition() in favor of CalcCenterOfMassPositionInWorld(). #14537
Labels
component: multibody plant
MultibodyPlant and supporting code
priority: medium
type: cleanup
unused team: dynamics
While working on #14268, we decided that for a consistent API for center of mass methods, it would be beneficial to deprecate CalcCenterOfMassPosition() in favor of CalcCenterOfMassPositionInWorld().
As decided in issue #14268, the public API for center of mass methods names are (or will be):
Vector3 CalcCenterOfMassPositionInWorld(const systems::Context& context) const;
Vector3 CalcCenterOfMassVelocityInWorld(const systems::Context& context) const;
Vector3 CalcCenterOfMassAccelerationInWorld(const systems::Context& context) const;
Vector3 CalcCenterOfMassPositionInWorld(const systems::Context& context,
const std::vector& model_instances) const;
Vector3 CalcCenterOfMassVelocityInWorld(const systems::Context& context,
const std::vector& model_instances) const;
Vector3 CalcCenterOfMassAccelerationInWorld(const systems::Context& context,
const std::vector& model_instances) const;
The text was updated successfully, but these errors were encountered: