Rotation set based on first derivative