Skip to content

Commit a6e97e6

Browse files
committed
change printLineSearch false
1 parent 0a3f5ad commit a6e97e6

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

ocs2_robotic_examples/ocs2_legged_robot/src/LeggedRobotInterface.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,6 @@ std::unique_ptr<StateInputConstraint> LeggedRobotInterface::getFrictionConeConst
329329
/******************************************************************************************************/
330330
std::unique_ptr<StateInputCost> LeggedRobotInterface::getFrictionConeSoftConstraint(
331331
size_t contactPointIndex, scalar_t frictionCoefficient, const RelaxedBarrierPenalty::Config& barrierPenaltyConfig) {
332-
auto penalty = std::make_unique<RelaxedBarrierPenalty>(barrierPenaltyConfig);
333332
return std::make_unique<StateInputSoftConstraint>(getFrictionConeConstraint(contactPointIndex, frictionCoefficient),
334333
std::make_unique<RelaxedBarrierPenalty>(barrierPenaltyConfig));
335334
}

0 commit comments

Comments
 (0)