...
This commit is contained in:
@@ -293,7 +293,7 @@ public:
|
||||
// to be computed as observed celestial X and Y cordinate according to mount type (HA-DEC or AZ-ZD)
|
||||
double x, y;
|
||||
|
||||
auto getXY = [&, this](auto& cp) {
|
||||
auto getXY = [&, this](auto& cp) -> error_t {
|
||||
auto err = obs_skycoord.toAtSameEpoch(cp);
|
||||
if (err) {
|
||||
return mcc_deduced_err(err, MccDefaultPCMErrorCode::ERROR_CCTE);
|
||||
|
||||
@@ -149,7 +149,7 @@ public:
|
||||
return _inZoneFunc.size();
|
||||
}
|
||||
|
||||
void clearZones()
|
||||
void clearPZones()
|
||||
{
|
||||
_inZoneFunc.clear();
|
||||
_timeToZoneFunc.clear();
|
||||
|
||||
@@ -269,7 +269,8 @@ public:
|
||||
&_tdataPtr->pcmReverseCorrection,
|
||||
&_tdataPtr->targetXY);
|
||||
if (pcm_err) {
|
||||
return mcc_deduced_err(pcm_err, MccTelemetryErrorCode::ERROR_PCM_COMP);
|
||||
_lastUpdateError =
|
||||
mcc_deduced_err(pcm_err, MccTelemetryErrorCode::ERROR_PCM_COMP);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user