got motor running
This commit is contained in:
+1
-1
@@ -37,12 +37,12 @@ public:
|
||||
// Will translate hardware-space-angles to virtual-space-angles
|
||||
float hardwareAngleToVirtualAngle(float hardwareAngle) const noexcept;
|
||||
|
||||
protected:
|
||||
// Calculates a command-space scale compensation factor.
|
||||
// The returned value is multiplied with virtual angle so that
|
||||
// the motors actual movement matches the intended movement.
|
||||
static float calculateScaleCalibration(const float virtualRange, const float hardwareRange);
|
||||
|
||||
protected:
|
||||
float gearboxRatio; // Gearbox ratio
|
||||
float scaleCalibration; // Scale calibration
|
||||
float zeroOffset; // Zero offset calibration
|
||||
|
||||
Reference in New Issue
Block a user