/** * Packs this pose 2D into the given {@code transformToPack}. * * @param transformToPack the rigid-body transform that is set to represent this pose 2D. Modified. */ default void get(RigidBodyTransform transformToPack) { transformToPack.setTranslation(getX(), getY(), 0.0); transformToPack.setRotationYaw(getYaw()); }