Skip to content

Commit e5f06eb

Browse files
Add FormatPlanningInputTask
1 parent e506727 commit e5f06eb

File tree

7 files changed

+562
-3
lines changed

7 files changed

+562
-3
lines changed

tesseract_motion_planners/core/src/utils.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,8 @@ bool formatProgramHelper(CompositeInstruction& composite_instructions,
267267
joint_names = it->second;
268268
}
269269

270-
if (base_instruction.getWaypoint().isStateWaypoint() || base_instruction.getWaypoint().isJointWaypoint())
270+
auto& wp = base_instruction.getWaypoint();
271+
if (wp.isStateWaypoint() || wp.isJointWaypoint() || wp.isCartesianWaypoint())
271272
{
272273
if (formatJointPosition(joint_names, base_instruction.getWaypoint()))
273274
format_required = true;

0 commit comments

Comments
 (0)