End effector with motor to provide a yaw, roll and pitch motion