Package com.ctre.phoenixpro.configs
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 doubleMotionMagicAccelerationDeprecated, 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.doubleMotionMagicCruiseVelocityDeprecated, 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.doubleMotionMagicJerkDeprecated, 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 StatusCodedeserialize(String string)Deprecated, for removal: This API element is subject to removal in a future version.Stringserialize()Deprecated, for removal: This API element is subject to removal in a future version.StringtoString()Deprecated, for removal: This API element is subject to removal in a future version.
-
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
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
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
-
MotionMagicConfigs
public MotionMagicConfigs()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
toString
Deprecated, for removal: This API element is subject to removal in a future version. -
deserialize
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
deserializein interfaceParentConfiguration
-
serialize
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
serializein interfaceISerializable
-