/** * Same as {@link #set(SoleTrajectoryCommand)} but does not change the trajectory points. * * @param other */ public void setPropertiesOnly(SoleTrajectoryCommand other) { positionTrajectory.setPropertiesOnly(other.positionTrajectory); robotQuadrant = other.robotQuadrant; }
@Override public void set(EuclideanTrajectoryControllerCommand other) { trajectoryPointList.setIncludingFrame(other.getTrajectoryPointList()); setPropertiesOnly(other); trajectoryFrame = other.getTrajectoryFrame(); useCustomControlFrame = other.useCustomControlFrame(); other.getControlFramePose(controlFramePoseInBodyFrame); }