Skip to content

Commit bb7e340

Browse files
Explicitly initialize InterpMotion<S>::reference_p and linear_vel
1 parent e5efcc4 commit bb7e340

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

include/fcl/math/motion/interp_motion-inl.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,10 @@ InterpMotion<S>::InterpMotion()
5656
angular_vel = 0;
5757

5858
// Default reference point is local zero point
59+
reference_p = Vector3<S>::Zero();
5960

6061
// Default linear velocity is zero
62+
linear_vel = Vector3<S>::Zero();
6163
}
6264

6365
//==============================================================================

0 commit comments

Comments
 (0)