Skip to content

Commit

Permalink
fix win warnings
Browse files Browse the repository at this point in the history
Signed-off-by: Ian Chen <ichen@openrobotics.org>
  • Loading branch information
iche033 committed Apr 22, 2024
1 parent d2d81b0 commit fec9fad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bullet-featherstone/src/SDFFeatures.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1281,8 +1281,8 @@ bool SDFFeatures::AddSdfCollision(
{
// Set meshes to use softer contacts for stability
// \todo(iche033) load <kp> and <kd> values from SDF
const btScalar kp = 1e15;
const btScalar kd = 1e14;
const btScalar kp = btScalar(1e15);
const btScalar kd = btScalar(1e14);
linkInfo->collider->setContactStiffnessAndDamping(kp, kd);
}

Expand Down

0 comments on commit fec9fad

Please sign in to comment.