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

fext adressing major enhancement #145

Merged
merged 23 commits into from
Dec 2, 2024
Merged

fext adressing major enhancement #145

merged 23 commits into from
Dec 2, 2024

Conversation

Ipuch
Copy link
Owner

@Ipuch Ipuch commented Nov 29, 2024

@ANaaim, Does it look familiar to you ? :p

fext = model.external_force_set()
fext.add_in_global_local_point(1, np.array([0.1, 0.2, 0.3, 0.01, 0.02, 0.03]), np.array([0.01, 0.02, 0.03]))
fext.add_in_global(2, np.array([0.1, 0.2, 0.3, 0.01, 0.02, 0.03]) * 0.1, np.array([0.01, 0.02, 0.03]) * 0.1)

torques, forces, lambdas = model.inverse_dynamics(Q=Q, Qddot=Qddot, external_forces=fext)

This change is Reviewable

Copy link

codeclimate bot commented Dec 2, 2024

Code Climate has analyzed commit 4ba841c and detected 0 issues on this pull request.

View more on Code Climate.

@Ipuch Ipuch merged commit 4310792 into main Dec 2, 2024
2 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant