Skip to content
This repository was archived by the owner on Oct 31, 2023. It is now read-only.
This repository was archived by the owner on Oct 31, 2023. It is now read-only.

Discrepancy between Fwd and Inv Dynamics in CUDA #43

@michaellin

Description

@michaellin

Inverse and forward dynamics functions should agree with each other. We were testing this assumption in the following:

tau_pred = compute_inverse_dynamics(q, qd, qdd)
qdd_pred = compute_forward_dynamics(q, qd, tau_pred)

We expected qdd and qdd_pred to be very close to each other.

When we do this experiment with device=cpu, the L2 error is in the 10^-5 order. But when we use device=cuda, we get L2 errors around 0.12 which is unexpected.

I have a simple script that minimally reproduces this problem here

@fmeier @gsutanto @exhaustin

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions