@@ -87,7 +87,6 @@ struct MoveJPrimitive : public MotionPrimitive
8787 this ->blend_radius = blend_radius;
8888 }
8989
90- bool validate () const override ;
9190 urcl::vector6d_t target_joint_configuration;
9291};
9392
@@ -105,8 +104,6 @@ struct MoveLPrimitive : public MotionPrimitive
105104 this ->blend_radius = blend_radius;
106105 }
107106
108- bool validate () const override ;
109-
110107 urcl::Pose target_pose;
111108};
112109
@@ -122,8 +119,6 @@ struct MovePPrimitive : public MotionPrimitive
122119 this ->blend_radius = blend_radius;
123120 }
124121
125- bool validate () const override ;
126-
127122 urcl::Pose target_pose;
128123};
129124
@@ -141,8 +136,6 @@ struct MoveCPrimitive : public MotionPrimitive
141136 this ->mode = mode;
142137 }
143138
144- bool validate () const override ;
145-
146139 urcl::Pose via_point_pose;
147140 urcl::Pose target_pose;
148141 int32_t mode = 0 ;
@@ -172,6 +165,9 @@ struct SplinePrimitive : public MotionPrimitive
172165 return control::TrajectorySplineType::SPLINE_CUBIC ;
173166 }
174167 }
168+
169+ bool validate () const override ;
170+
175171 vector6d_t target_positions;
176172 vector6d_t target_velocities;
177173 std::optional<vector6d_t > target_accelerations;
@@ -189,9 +185,9 @@ struct OptimoveJPrimitive : public MotionPrimitive
189185 this ->velocity = velocity_fraction;
190186 }
191187
192- urcl::vector6d_t target_joint_configuration;
193-
194188 bool validate () const override ;
189+
190+ urcl::vector6d_t target_joint_configuration;
195191};
196192
197193struct OptimoveLPrimitive : public MotionPrimitive
0 commit comments