Fix parameter in ik_clearance_cost demo (#366)

This commit is contained in:
Stephanie Eng 2022-05-25 11:12:59 -04:00 committed by GitHub
parent a89d9928d4
commit d1fb6ace93
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -58,7 +58,7 @@ int main(int argc, char** argv) {
cl_cost->cumulative = false;
rosparam_shortcuts::get(node, "cumulative", cl_cost->cumulative); // sum up pairwise distances?
cl_cost->with_world = true;
rosparam_shortcuts::get(node, "with_world", cl_cost->cumulative); // consider distance to world objects?
rosparam_shortcuts::get(node, "with_world", cl_cost->with_world); // consider distance to world objects?
ik->setCostTerm(std::move(cl_cost));
t.add(std::move(ik));