Apply unsymmetrized fluid derivatives to standalone free bodies in implicitfast.
PiperOrigin-RevId: 948899583 Change-Id: Icfb5a713f89a94e597c7607e9aa10a9e151dc2aa
This commit is contained in:
committed by
Copybara-Service
parent
eeda4d0984
commit
a77dff84a4
@@ -43,9 +43,11 @@ MJAPI void mjd_passive_vel(const mjModel* m, mjData* d);
|
||||
// subtract (d qfrc_bias / d qvel) from qDeriv (dense version)
|
||||
MJAPI void mjd_rne_vel_dense(const mjModel* m, mjData* d);
|
||||
|
||||
// return 1 if body is a standalone free body: a free joint with no children
|
||||
mjtBool mj_isFreeBody(const mjModel* m, int body);
|
||||
|
||||
// 6x6 block B = d qfrc_bias / d qvel for the free joint of a standalone body
|
||||
MJAPI void mjd_freeBias_vel(const mjModel* m, const mjData* d, int jnt,
|
||||
mjtNum B[36]);
|
||||
MJAPI void mjd_freeBias_vel(const mjModel* m, const mjData* d, int jnt, mjtNum B[36]);
|
||||
|
||||
// 6x6 block A = M - h * (d qfrc_smooth / d qvel) for the free joint of a standalone body
|
||||
// returns 1 and writes A if jnt is the free joint of a standalone awake body, 0 otherwise
|
||||
|
||||
Reference in New Issue
Block a user