Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add model_instances to CalcBiasCenterOfMassTranslationalAcceleration #21711

Closed
hongkai-dai opened this issue Jul 11, 2024 · 1 comment
Closed
Assignees
Labels
component: multibody plant MultibodyPlant and supporting code type: feature request

Comments

@hongkai-dai
Copy link
Contributor

This is mentioned by @mitiguy.

Currently there is a MultibodyPlant function with signature:

  Vector3<T> CalcBiasCenterOfMassTranslationalAcceleration(
      const systems::Context<T>& context, JacobianWrtVariable with_respect_to,
      const Frame<T>& frame_A, const Frame<T>& frame_E) const;

It will helpful to have a MultibodyPlant function that provides model instances, e.g.,

  Vector3<T> CalcBiasCenterOfMassTranslationalAcceleration(
      const systems::Context<T>& context,
      const std::vector<ModelInstanceIndex>& model_instances,
      JacobianWrtVariable with_respect_to, const Frame<T>& frame_A,
      const Frame<T>& frame_E) const;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: multibody plant MultibodyPlant and supporting code type: feature request
Projects
None yet
Development

No branches or pull requests

2 participants