Class ParentDevice

java.lang.Object
com.ctre.phoenix6.jni.CtreJniWrapper
com.ctre.phoenixpro.hardware.ParentDevice
Direct Known Subclasses:
CoreCANcoder, CorePigeon2, CoreTalonFX

@Deprecated(forRemoval=true)
public abstract class ParentDevice
extends CtreJniWrapper
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.
  • Nested Class Summary

    Nested Classes 
    Modifier and Type Class Description
    static interface  ParentDevice.MapGenerator<T>
    Deprecated, for removal: This API element is subject to removal in a future version.
    Classes in the phoenixpro package will be removed in 2024.
  • Field Summary

    Fields 
    Modifier and Type Field Description
    protected DeviceIdentifier deviceIdentifier
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected static double kDefaultControlRatePeriodsSec
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Constructor Summary

    Constructors 
    Constructor Description
    ParentDevice​(int deviceID, String model, String canbus)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Classes in the phoenixpro package will be removed in 2024.
  • Method Summary

    Modifier and Type Method Description
    ControlRequest getAppliedControl()
    Deprecated, for removal: This API element is subject to removal in a future version.
    Get the latest applied control
    String getCANBus()
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    int getDeviceID()
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected <T> StatusSignalValue<T> lookupStatusSignalValue​(int spn, Class<T> classOfSignal, int mapIter, ParentDevice.MapGenerator<T> generator, String signalName, boolean reportOnConstruction)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected <T> StatusSignalValue<T> lookupStatusSignalValue​(int spn, Class<T> classOfSignal, String signalName, boolean reportOnConstruction)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected abstract void reportIfTooOld()
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected StatusCode setControlPrivate​(ControlRequest request)
    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, toString, wait, wait, wait