15class BuiltInAccelerometer;
Built-in accelerometer.
Definition: BuiltInAccelerometer.h:21
Class to control a simulated built-in accelerometer.
Definition: BuiltInAccelerometerSim.h:22
void SetZ(double z)
Change the Z axis value of the accelerometer.
BuiltInAccelerometerSim(const BuiltInAccelerometer &accel)
Constructs from a BuiltInAccelerometer object.
bool GetActive() const
Check whether the accelerometer is active.
void SetRange(HAL_AccelerometerRange range)
Change the range of this accelerometer.
std::unique_ptr< CallbackStore > RegisterXCallback(NotifyCallback callback, bool initialNotify)
Register a callback to be run whenever the X axis value changes.
void SetActive(bool active)
Define whether this accelerometer is active.
void ResetData()
Reset all simulation data of this object.
std::unique_ptr< CallbackStore > RegisterRangeCallback(NotifyCallback callback, bool initialNotify)
Register a callback to be run whenever the range changes.
std::unique_ptr< CallbackStore > RegisterActiveCallback(NotifyCallback callback, bool initialNotify)
Register a callback to be run when this accelerometer activates.
double GetX() const
Measure the X axis value.
HAL_AccelerometerRange GetRange() const
Check the range of this accelerometer.
void SetY(double y)
Change the Y axis value of the accelerometer.
double GetY() const
Measure the Y axis value.
double GetZ() const
Measure the Z axis value.
std::unique_ptr< CallbackStore > RegisterYCallback(NotifyCallback callback, bool initialNotify)
Register a callback to be run whenever the Y axis value changes.
BuiltInAccelerometerSim()
Constructs for the first built-in accelerometer.
void SetX(double x)
Change the X axis value of the accelerometer.
std::unique_ptr< CallbackStore > RegisterZCallback(NotifyCallback callback, bool initialNotify)
Register a callback to be run whenever the Z axis value changes.
HAL_AccelerometerRange
The acceptable accelerometer ranges.
Definition: Accelerometer.h:19
const Scalar & y
Definition: MathFunctions.h:821
std::function< void(std::string_view, const HAL_Value *)> NotifyCallback
Definition: CallbackStore.h:14
Definition: AprilTagPoseEstimator.h:15