Class MotionMagicConfigs

java.lang.Object
com.ctre.phoenixpro.configs.MotionMagicConfigs
All Implemented Interfaces:
ParentConfiguration, ISerializable

@Deprecated(forRemoval=true)
public class MotionMagicConfigs
extends Object
implements ParentConfiguration
Deprecated, for removal: This API element is subject to removal in a future version.
Classes in the phoenixpro package will be removed in 2024. Users should instead use classes from the phoenix6 package.
Configs that directly affect motor-output.

Includes Motor Invert and various limit features.

  • Field Summary

    Fields 
    Modifier and Type Field Description
    double MotionMagicAcceleration
    Deprecated, for removal: This API element is subject to removal in a future version.
    This is the target acceleration Motion Magic® based control modes are allowed to use.
    double MotionMagicCruiseVelocity
    Deprecated, for removal: This API element is subject to removal in a future version.
    This is the maximum velocity Motion Magic® based control modes are allowed to use.
    double MotionMagicJerk
    Deprecated, for removal: This API element is subject to removal in a future version.
    This is the target jerk (acceleration derivative) Motion Magic® based control modes are allowed to use.
  • Constructor Summary

    Constructors 
    Constructor Description
    MotionMagicConfigs()
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type Method Description
    StatusCode deserialize​(String string)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    String serialize()
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    String toString()
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • MotionMagicCruiseVelocity

      Deprecated, for removal: This API element is subject to removal in a future version.
      This is the maximum velocity Motion Magic® based control modes are allowed to use.
      • Minimum Value: 0
      • Maximum Value: 3.4e+38
      • Default Value: 0
      • Units: rps
    • MotionMagicAcceleration

      public double MotionMagicAcceleration
      Deprecated, for removal: This API element is subject to removal in a future version.
      This is the target acceleration Motion Magic® based control modes are allowed to use.
      • Minimum Value: 0
      • Maximum Value: 3.4e+38
      • Default Value: 0
      • Units: rot per sec²
    • MotionMagicJerk

      public double MotionMagicJerk
      Deprecated, for removal: This API element is subject to removal in a future version.
      This is the target jerk (acceleration derivative) Motion Magic® based control modes are allowed to use. This allows Motion Magic® support of S-Curves. If this is set to zero, then Motion Magic® will not apply a Jerk limit.
      • Minimum Value: 0
      • Maximum Value: 3.4e+38
      • Default Value: 0
      • Units: rot per sec³
  • Constructor Details

  • Method Details