Skip to content

Commit f7b87b5

Browse files
joseph-moore-COrhaschke
authored andcommitted
Add to path costs demo
1 parent 9286cbc commit f7b87b5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

demo/src/alternative_path_costs.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,12 @@ int main(int argc, char** argv) {
6161
connect->setCostTerm(std::make_unique<cost::LinkMotion>("panda_link4"));
6262
alternatives->add(std::move(connect));
6363
}
64+
{
65+
auto connect{ std::make_unique<stages::Connect>(
66+
"eef rotation", stages::Connect::GroupPlannerVector{ { "panda_arm", pipeline } }) };
67+
connect->setCostTerm(std::make_unique<cost::LinkRotation>("panda_hand"));
68+
alternatives->add(std::move(connect));
69+
}
6470

6571
t.add(std::move(alternatives));
6672

0 commit comments

Comments
 (0)