31 const char* allocationLocation,
63 double voltsPerDegreePerSecond,
double offset,
64 int32_t center, int32_t* status);
74 double voltsPerDegreePerSecond,
double HAL_GetAnalogGyroAngle(HAL_GyroHandle handle, int32_t *status)
Gets the gyro angle in degrees.
double HAL_GetAnalogGyroRate(HAL_GyroHandle handle, int32_t *status)
Gets the gyro rate in degrees/second.
void HAL_CalibrateAnalogGyro(HAL_GyroHandle handle, int32_t *status)
Calibrates the analog gyro.
void HAL_SetAnalogGyroVoltsPerDegreePerSecond(HAL_GyroHandle handle, double voltsPerDegreePerSecond, int32_t *status)
Sets the analog gyro volts per degrees per second scaling.
double HAL_GetAnalogGyroOffset(HAL_GyroHandle handle, int32_t *status)
Gets the calibrated gyro offset.
int32_t HAL_GetAnalogGyroCenter(HAL_GyroHandle handle, int32_t *status)
Gets the calibrated gyro center.
void HAL_ResetAnalogGyro(HAL_GyroHandle handle, int32_t *status)
Resets the analog gyro value to 0.
void HAL_SetupAnalogGyro(HAL_GyroHandle handle, int32_t *status)
Sets up an analog gyro with the proper offsets and settings for the KOP analog gyro.
void HAL_FreeAnalogGyro(HAL_GyroHandle handle)
Frees an analog gyro.
HAL_GyroHandle HAL_InitializeAnalogGyro(HAL_AnalogInputHandle handle, const char *allocationLocation, int32_t *status)
Initializes an analog gyro.
void HAL_SetAnalogGyroDeadband(HAL_GyroHandle handle, double volts, int32_t *status)
Sets the deadband of the analog gyro.
void HAL_SetAnalogGyroParameters(HAL_GyroHandle handle, double voltsPerDegreePerSecond, double offset, int32_t center, int32_t *status)
Sets the analog gyro parameters to the specified values.
HAL_Handle HAL_GyroHandle
Definition: Types.h:39
HAL_Handle HAL_AnalogInputHandle
Definition: Types.h:21