/** * Sets all the components of this vector to zero and updates its reference frames. * * @param bodyFrame the new body frame. * @param expressedInFrame the new reference frame in which this motion is expressed. */ default void setToZero(ReferenceFrame bodyFrame, ReferenceFrame expressedInFrame) { setBodyFrame(bodyFrame); setToZero(expressedInFrame); }
dynamicWrenchToPack.setToZero(getBodyFrame(), getReferenceFrame());