private void ToggleMotionEnable() { if (servoManager.IsEnabled() || ariaManager.IsEnabled()) { servoManager.DisableAllServos(); ariaManager.DisableMotion(); } else { servoManager.EnableAllServos(); ariaManager.EnableMotion(); } UpdateMotionEnabledDisplay(); }
private void RelaxServos_Click(object sender, RoutedEventArgs e) { servoManager.DisableAllServos(); }