/** * Gets the rotation of the unit relative to the root location as a Rotation object. * * @return rotation relative to the root location * * @throws NotAvailableException is thrown if the transformation is not available. * @throws InterruptedException is thrown if the thread was externally interrupted. * @deprecated please use {@code getUnitRotationGlobal()} instead. */ @Deprecated default Rotation getGlobalRotation() throws NotAvailableException, InterruptedException { return getUnitRotationGlobal(); }