Skip to content

Commit

Permalink
Add clarifying comment for bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
thettasch committed Nov 8, 2023
1 parent 11db2df commit bc74936
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ void UpsampleTrajectoryTask::upsample(CompositeInstruction& composite,
if (start_instruction.isNull())
{
start_instruction = i.as<MoveInstructionPoly>();
composite.push_back(i);
composite.push_back(i); // Prevents loss of very first waypoint when upsampling
continue;
}

Expand Down

0 comments on commit bc74936

Please sign in to comment.