Skip to content

Commit

Permalink
Fix: Add cost to cost_infos instead of cnt_infos
Browse files Browse the repository at this point in the history
  • Loading branch information
rjoomen authored and Levi-Armstrong committed Jun 12, 2024
1 parent 9a61f2b commit cf04d17
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ bool moveWaypointFromCollisionTrajopt(WaypointPoly& waypoint,
jp_cost->last_step = 0;
jp_cost->name = "joint_pos_cost";
jp_cost->term_type = TermType::TT_COST;
pci.cnt_infos.push_back(jp_cost);
pci.cost_infos.push_back(jp_cost);
}
}

Expand Down

0 comments on commit cf04d17

Please sign in to comment.