mirror of
https://github.com/moveit/moveit_task_constructor.git
synced 2025-11-04 14:49:57 +08:00
Fix parameter in ik_clearance_cost demo (#366)
This commit is contained in:
parent
a89d9928d4
commit
d1fb6ace93
@ -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));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user