Skip to content

Commit cfdb90b

Browse files
committed
Do not pass goal_time as blend_radius
1 parent 08c9ab7 commit cfdb90b

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

examples/instruction_executor.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -128,16 +128,16 @@ int main(int argc, char* argv[])
128128
instruction_executor->moveJ(urcl::Pose{ -0.0203, 0.363, 0.559, 0.68, -1.083, -2.076 }, 0.1, 0.1, goal_time_sec);
129129

130130
// moveP can also be called with brace-init (interpreted as pose) or explicitly using a Pose or Q
131-
instruction_executor->moveP({ -0.2, 0.363, 0.559, 0.68, -1.083, -2.076 }, 0.1, 0.1, goal_time_sec);
132-
instruction_executor->moveP(urcl::Pose{ -0.0203, 0.303, 0.559, 0.68, -1.083, -2.076 }, 0.1, 0.1, goal_time_sec);
133-
instruction_executor->moveP(urcl::Q{ -1.57, -1.83, 1.707, -0.833, 0.782, 0.479 }, 0.1, 0.1, goal_time_sec);
131+
instruction_executor->moveP({ -0.2, 0.363, 0.559, 0.68, -1.083, -2.076 });
132+
instruction_executor->moveP(urcl::Pose{ -0.0203, 0.303, 0.559, 0.68, -1.083, -2.076 });
133+
instruction_executor->moveP(urcl::Q{ -1.57, -1.83, 1.707, -0.833, 0.782, 0.479 });
134134

135135
// For moveC via and target can be a Pose or Q. When brace-init style lists are given, values are
136136
// interpreted as Pose.
137137
instruction_executor->moveC(urcl::Pose{ -0.1, 0.463, 0.559, 0.68, -1.083, -2.076 },
138-
urcl::Pose{ -0.0203, 0.303, 0.559, 0.68, -1.083, -2.076 }, 0.1, 0.1, goal_time_sec);
138+
urcl::Pose{ -0.0203, 0.303, 0.559, 0.68, -1.083, -2.076 });
139139
instruction_executor->moveC(urcl::Pose{ -0.1, 0.463, 0.559, 0.68, -1.083, -2.076 },
140-
urcl::Q{ -1.57, -1.83, 1.707, -0.833, 0.782, 0.479 }, 0.1, 0.1, goal_time_sec);
140+
urcl::Q{ -1.57, -1.83, 1.707, -0.833, 0.782, 0.479 });
141141

142142
// For optimove functions, the same target rules as for moveJ and moveL apply.
143143
instruction_executor->optimoveJ({ -1.57, -1.6, 1.6, -0.7, 0.7, 0.2 }, 1.0, 1.0);

0 commit comments

Comments
 (0)