Skip to content

Commit 51579e7

Browse files
doc update
1 parent 589c613 commit 51579e7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ocs2_robotic_examples/ocs2_cartpole/src/CartPoleInterface.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ CartPoleInterface::CartPoleInterface(const std::string& taskFile, const std::str
106106

107107
// Constraints
108108
auto getPenalty = [&]() {
109+
// one can use either augmented::SlacknessSquaredHingePenalty or augmented::ModifiedRelaxedBarrierPenalty
109110
using penalty_type = augmented::SlacknessSquaredHingePenalty;
110111
penalty_type::Config boundsConfig;
111112
loadData::loadPenaltyConfig(taskFile, "bounds_penalty_config", boundsConfig, verbose);

0 commit comments

Comments
 (0)