Skip to content

Commit

Permalink
Fix mismatch in mju_wrap function signature definition.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 675204328
Change-Id: I820f10237b6d3bfd36067a9c3aef82cb1908ef6a
  • Loading branch information
yuvaltassa authored and copybara-github committed Sep 16, 2024
1 parent e94bd83 commit 7f7c5ec
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/engine/engine_util_misc.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,8 @@ extern "C" {
//------------------------------ tendons and actuators ---------------------------------------------

// wrap tendons around spheres and cylinders
mjtNum mju_wrap(mjtNum* wpnt, const mjtNum* x0, const mjtNum* x1,
const mjtNum* xpos, const mjtNum* xmat, mjtNum radius,
int type, const mjtNum* side);
mjtNum mju_wrap(mjtNum wpnt[6], const mjtNum x0[3], const mjtNum x1[3], const mjtNum xpos[3],
const mjtNum xmat[9], mjtNum radius, int type, const mjtNum side[3]);

// normalized muscle length-gain curve
MJAPI mjtNum mju_muscleGainLength(mjtNum length, mjtNum lmin, mjtNum lmax);
Expand Down

0 comments on commit 7f7c5ec

Please sign in to comment.