Skip to content

Commit

Permalink
Merge pull request #580 from bark-simulator/CesarLiu-patch-1
Browse files Browse the repository at this point in the history
SafeDistanceLabelFunction input size 11 to 12
  • Loading branch information
CesarLiu authored Jun 13, 2022
2 parents 2519922 + b337415 commit 8a2aef1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bark/python_wrapper/world/ltl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ void python_ltl(py::module m) {
b.GetCheckLateralDist());
},
[](py::tuple t) {
if (t.size() != 11)
if (t.size() != 12)
throw std::runtime_error("Invalid label evaluator state!");
return new SafeDistanceLabelFunction(
t[0].cast<std::string>(), t[1].cast<bool>(),
Expand Down Expand Up @@ -484,4 +484,4 @@ void python_ltl(py::module m) {
return new GenericEgoLabelFunction<EvaluatorCollisionEgoAgent>(
t[0].cast<std::string>());
}));
}
}

0 comments on commit 8a2aef1

Please sign in to comment.