WPILibC++ 2024.3.2
AnalogGyroData.h
Go to the documentation of this file.
1// Copyright (c) FIRST and other WPILib contributors.
2// Open Source Software; you can modify and/or share it under the terms of
3// the WPILib BSD license file in the root directory of this project.
4
5#pragma once
6
7#include "hal/Types.h"
9
10#ifdef __cplusplus
11extern "C" {
12#endif
13
14void HALSIM_ResetAnalogGyroData(int32_t index);
16 HAL_NotifyCallback callback,
17 void* param,
18 HAL_Bool initialNotify);
19void HALSIM_CancelAnalogGyroAngleCallback(int32_t index, int32_t uid);
20double HALSIM_GetAnalogGyroAngle(int32_t index);
21void HALSIM_SetAnalogGyroAngle(int32_t index, double angle);
22
24 HAL_NotifyCallback callback,
25 void* param,
26 HAL_Bool initialNotify);
27void HALSIM_CancelAnalogGyroRateCallback(int32_t index, int32_t uid);
28double HALSIM_GetAnalogGyroRate(int32_t index);
29void HALSIM_SetAnalogGyroRate(int32_t index, double rate);
30
32 int32_t index, HAL_NotifyCallback callback, void* param,
33 HAL_Bool initialNotify);
34void HALSIM_CancelAnalogGyroInitializedCallback(int32_t index, int32_t uid);
36void HALSIM_SetAnalogGyroInitialized(int32_t index, HAL_Bool initialized);
37
39 HAL_NotifyCallback callback,
40 void* param, HAL_Bool initialNotify);
41
42#ifdef __cplusplus
43} // extern "C"
44#endif
void HALSIM_SetAnalogGyroAngle(int32_t index, double angle)
void HALSIM_CancelAnalogGyroAngleCallback(int32_t index, int32_t uid)
void HALSIM_CancelAnalogGyroInitializedCallback(int32_t index, int32_t uid)
int32_t HALSIM_RegisterAnalogGyroRateCallback(int32_t index, HAL_NotifyCallback callback, void *param, HAL_Bool initialNotify)
HAL_Bool HALSIM_GetAnalogGyroInitialized(int32_t index)
void HALSIM_CancelAnalogGyroRateCallback(int32_t index, int32_t uid)
double HALSIM_GetAnalogGyroRate(int32_t index)
void HALSIM_SetAnalogGyroRate(int32_t index, double rate)
void HALSIM_SetAnalogGyroInitialized(int32_t index, HAL_Bool initialized)
int32_t HALSIM_RegisterAnalogGyroInitializedCallback(int32_t index, HAL_NotifyCallback callback, void *param, HAL_Bool initialNotify)
double HALSIM_GetAnalogGyroAngle(int32_t index)
void HALSIM_ResetAnalogGyroData(int32_t index)
void HALSIM_RegisterAnalogGyroAllCallbacks(int32_t index, HAL_NotifyCallback callback, void *param, HAL_Bool initialNotify)
int32_t HALSIM_RegisterAnalogGyroAngleCallback(int32_t index, HAL_NotifyCallback callback, void *param, HAL_Bool initialNotify)
void(* HAL_NotifyCallback)(const char *name, void *param, const struct HAL_Value *value)
Definition: NotifyListener.h:9
int32_t HAL_Bool
Definition: Types.h:73