We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 71a3684 commit b143ca3Copy full SHA for b143ca3
bullet-featherstone/src/JointFeatures.cc
@@ -271,7 +271,6 @@ void JointFeatures::SetJointVelocity(
271
return;
272
273
const auto *model = this->ReferenceInterface<ModelInfo>(joint->model);
274
-
275
model->body->getJointVelMultiDof(identifier->indexInBtModel)[_dof] =
276
static_cast<btScalar>(_value);
277
model->body->wakeUp();
@@ -302,7 +301,7 @@ void JointFeatures::SetJointForce(
302
301
if (!identifier)
303
304
305
- auto *model = this->ReferenceInterface<ModelInfo>(joint->model);
+ const auto *model = this->ReferenceInterface<ModelInfo>(joint->model);
306
auto *world = this->ReferenceInterface<WorldInfo>(model->world);
307
308
// Disable velocity control by removing joint motor constraint
0 commit comments