mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-02 02:51:42 +00:00
[sim] Add sim wrappers for sensors that use SimDevice (#3517)
This commit is contained in:
@@ -46,6 +46,9 @@ class ADXL345_I2C : public Accelerometer,
|
||||
ADXL345_I2C(ADXL345_I2C&&) = default;
|
||||
ADXL345_I2C& operator=(ADXL345_I2C&&) = default;
|
||||
|
||||
I2C::Port GetI2CPort() const;
|
||||
int GetI2CDeviceAddress() const;
|
||||
|
||||
// Accelerometer interface
|
||||
void SetRange(Range range) final;
|
||||
double GetX() override;
|
||||
|
||||
Reference in New Issue
Block a user