mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-23 01:21:42 +00:00
Add simple motor simulation classes (#1117)
This commit is contained in:
committed by
Peter Johnson
parent
57fc614074
commit
76c901ce78
@@ -106,7 +106,7 @@ class EncoderData {
|
||||
std::shared_ptr<NotifyListenerVector> m_reverseDirectionCallbacks = nullptr;
|
||||
std::atomic<int32_t> m_samplesToAverage{0};
|
||||
std::shared_ptr<NotifyListenerVector> m_samplesToAverageCallbacks = nullptr;
|
||||
std::atomic<double> m_distancePerPulse{0};
|
||||
std::atomic<double> m_distancePerPulse{1};
|
||||
std::shared_ptr<NotifyListenerVector> m_distancePerPulseCallbacks = nullptr;
|
||||
};
|
||||
extern EncoderData* SimEncoderData;
|
||||
|
||||
Reference in New Issue
Block a user