Show / Hide Table of Contents

Interface IEncoder

Namespace: Hal.Natives
Assembly: FRC.Hal.dll
Syntax
[StatusCheckedBy(typeof(StatusHandling), null)]
public interface IEncoder

Methods

| Improve this Doc View Source

HAL_FreeEncoder(Int32)

Declaration
void HAL_FreeEncoder(int encoderHandle)
Parameters
Type Name Description
Int32 encoderHandle
| Improve this Doc View Source

HAL_GetEncoder(Int32)

Declaration
int HAL_GetEncoder(int encoderHandle)
Parameters
Type Name Description
Int32 encoderHandle
Returns
Type Description
Int32
| Improve this Doc View Source

HAL_GetEncoderDecodingScaleFactor(Int32)

Declaration
double HAL_GetEncoderDecodingScaleFactor(int encoderHandle)
Parameters
Type Name Description
Int32 encoderHandle
Returns
Type Description
Double
| Improve this Doc View Source

HAL_GetEncoderDirection(Int32)

Declaration
int HAL_GetEncoderDirection(int encoderHandle)
Parameters
Type Name Description
Int32 encoderHandle
Returns
Type Description
Int32
| Improve this Doc View Source

HAL_GetEncoderDistance(Int32)

Declaration
double HAL_GetEncoderDistance(int encoderHandle)
Parameters
Type Name Description
Int32 encoderHandle
Returns
Type Description
Double
| Improve this Doc View Source

HAL_GetEncoderDistancePerPulse(Int32)

Declaration
double HAL_GetEncoderDistancePerPulse(int encoderHandle)
Parameters
Type Name Description
Int32 encoderHandle
Returns
Type Description
Double
| Improve this Doc View Source

HAL_GetEncoderEncodingScale(Int32)

Declaration
int HAL_GetEncoderEncodingScale(int encoderHandle)
Parameters
Type Name Description
Int32 encoderHandle
Returns
Type Description
Int32
| Improve this Doc View Source

HAL_GetEncoderEncodingType(Int32)

Declaration
EncoderEncodingType HAL_GetEncoderEncodingType(int encoderHandle)
Parameters
Type Name Description
Int32 encoderHandle
Returns
Type Description
EncoderEncodingType
| Improve this Doc View Source

HAL_GetEncoderFPGAIndex(Int32)

Declaration
int HAL_GetEncoderFPGAIndex(int encoderHandle)
Parameters
Type Name Description
Int32 encoderHandle
Returns
Type Description
Int32
| Improve this Doc View Source

HAL_GetEncoderPeriod(Int32)

Declaration
double HAL_GetEncoderPeriod(int encoderHandle)
Parameters
Type Name Description
Int32 encoderHandle
Returns
Type Description
Double
| Improve this Doc View Source

HAL_GetEncoderRate(Int32)

Declaration
double HAL_GetEncoderRate(int encoderHandle)
Parameters
Type Name Description
Int32 encoderHandle
Returns
Type Description
Double
| Improve this Doc View Source

HAL_GetEncoderRaw(Int32)

Declaration
int HAL_GetEncoderRaw(int encoderHandle)
Parameters
Type Name Description
Int32 encoderHandle
Returns
Type Description
Int32
| Improve this Doc View Source

HAL_GetEncoderSamplesToAverage(Int32)

Declaration
int HAL_GetEncoderSamplesToAverage(int encoderHandle)
Parameters
Type Name Description
Int32 encoderHandle
Returns
Type Description
Int32
| Improve this Doc View Source

HAL_InitializeEncoder(Int32, AnalogTriggerType, Int32, AnalogTriggerType, Int32, EncoderEncodingType)

Declaration
[StatusCheckedBy(typeof(StatusHandling), "StatusCheckForce")]
int HAL_InitializeEncoder(int digitalSourceHandleA, AnalogTriggerType analogTriggerTypeA, int digitalSourceHandleB, AnalogTriggerType analogTriggerTypeB, int reverseDirection, EncoderEncodingType encodingType)
Parameters
Type Name Description
Int32 digitalSourceHandleA
AnalogTriggerType analogTriggerTypeA
Int32 digitalSourceHandleB
AnalogTriggerType analogTriggerTypeB
Int32 reverseDirection
EncoderEncodingType encodingType
Returns
Type Description
Int32
| Improve this Doc View Source

HAL_ResetEncoder(Int32)

Declaration
void HAL_ResetEncoder(int encoderHandle)
Parameters
Type Name Description
Int32 encoderHandle
| Improve this Doc View Source

HAL_SetEncoderIndexSource(Int32, Int32, AnalogTriggerType, EncoderIndexingType)

Declaration
void HAL_SetEncoderIndexSource(int encoderHandle, int digitalSourceHandle, AnalogTriggerType analogTriggerType, EncoderIndexingType type)
Parameters
Type Name Description
Int32 encoderHandle
Int32 digitalSourceHandle
AnalogTriggerType analogTriggerType
EncoderIndexingType type
| Improve this Doc View Source

HAL_SetEncoderMaxPeriod(Int32, Double)

Declaration
void HAL_SetEncoderMaxPeriod(int encoderHandle, double maxPeriod)
Parameters
Type Name Description
Int32 encoderHandle
Double maxPeriod
| Improve this Doc View Source

HAL_SetEncoderMinRate(Int32, Double)

Declaration
void HAL_SetEncoderMinRate(int encoderHandle, double minRate)
Parameters
Type Name Description
Int32 encoderHandle
Double minRate
| Improve this Doc View Source

HAL_SetEncoderReverseDirection(Int32, Int32)

Declaration
void HAL_SetEncoderReverseDirection(int encoderHandle, int reverseDirection)
Parameters
Type Name Description
Int32 encoderHandle
Int32 reverseDirection
| Improve this Doc View Source

HAL_SetEncoderSamplesToAverage(Int32, Int32)

Declaration
void HAL_SetEncoderSamplesToAverage(int encoderHandle, int samplesToAverage)
Parameters
Type Name Description
Int32 encoderHandle
Int32 samplesToAverage
| Improve this Doc View Source

HAL_SetEncoderSimDevice(Int32, Int32)

Declaration
void HAL_SetEncoderSimDevice(int handle, int device)
Parameters
Type Name Description
Int32 handle
Int32 device
  • Improve this Doc
  • View Source
Back to top Copyright © 2017 RobotDotNet