...
This commit is contained in:
@@ -265,9 +265,9 @@ public:
|
||||
|
||||
// calculate reverse PCM corrections for the current target position and
|
||||
// its encoder XY
|
||||
auto pcm_err = pcm_ptr->pcmReverseCorrection(
|
||||
_tdataPtr->targetPos, &_tdataPtr->pcmReverseCorrection,
|
||||
&_tdataPtr->targetXY);
|
||||
auto pcm_err = pcm_ptr->computeInversePCM(_tdataPtr->targetPos,
|
||||
&_tdataPtr->pcmReverseCorrection,
|
||||
&_tdataPtr->targetXY);
|
||||
if (pcm_err) {
|
||||
return mcc_deduced_err(pcm_err, MccTelemetryErrorCode::ERROR_PCM_COMP);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user