/** * Same as {@link #set(HandTrajectoryCommand)} but does not change the trajectory points. * @param other */ public void setPropertiesOnly(HandTrajectoryCommand other) { super.setPropertiesOnly(other); robotSide = other.robotSide; baseForControl = other.baseForControl; }
/** * Same as {@link #set(FootTrajectoryCommand)} but does not change the trajectory points. * * @param other */ public void setPropertiesOnly(FootTrajectoryCommand other) { se3Trajectory.setPropertiesOnly(other.se3Trajectory); robotSide = other.robotSide; }
/** * Same as {@link #set(FootTrajectoryCommand)} but does not change the trajectory points. * @param other */ public void setPropertiesOnly(FootTrajectoryCommand other) { super.setPropertiesOnly(other); robotSide = other.robotSide; }
@Override public void set(T other) { setIncludingFrame(other); setPropertiesOnly(other); }
/** * Same as {@link #set(HandTrajectoryCommand)} but does not change the trajectory points. * * @param other */ public void setPropertiesOnly(HandTrajectoryCommand other) { se3Trajectory.setPropertiesOnly(other.se3Trajectory); wrenchTrajectory.setPropertiesOnly(other.wrenchTrajectory); robotSide = other.robotSide; }
@Override public void set(SE3TrajectoryControllerCommand other) { trajectoryPointList.setIncludingFrame(other.getTrajectoryPointList()); setPropertiesOnly(other); trajectoryFrame = other.getTrajectoryFrame(); useCustomControlFrame = other.useCustomControlFrame(); other.getControlFramePose(controlFramePoseInBodyFrame); }