Skip to content

Commit de118df

Browse files
committed
Initialize blend radius with 0
Otherwise that might trigger the negative check for motion primitives that don't explicitly set it.
1 parent eb0ae05 commit de118df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/ur_client_library/control/motion_primitives.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ struct MotionPrimitive
6868
std::chrono::duration<double> duration;
6969
double acceleration;
7070
double velocity;
71-
double blend_radius;
71+
double blend_radius = 0.0;
7272

7373
virtual bool validate() const;
7474
};

0 commit comments

Comments
 (0)