...
This commit is contained in:
@@ -1111,7 +1111,7 @@ protected:
|
||||
impl::MccCoordPairKind pair_kind = impl::MccCoordPairKind::COORDS_KIND_UNKNOWN;
|
||||
impl::MccSkyPoint sp;
|
||||
|
||||
if (input_msg.paramSize()) { // ccordinate pair kind is given
|
||||
if (input_msg.paramSize()) { // cordinate pair kind is given
|
||||
auto vp = input_msg.template paramValue<impl::MccCoordPairKind>(0);
|
||||
if (vp) { // coordinate pair kind is given
|
||||
pair_kind = vp.value();
|
||||
@@ -1128,6 +1128,10 @@ protected:
|
||||
}
|
||||
}
|
||||
|
||||
} else if (input_msg.withKey(MCC_COMMPROTO_KEYWORD_ENTEREDTAG_STR)) {
|
||||
output_msg.construct(MCC_COMMPROTO_KEYWORD_SERVER_ACK_STR, MCC_COMMPROTO_KEYWORD_ENTEREDTAG_STR,
|
||||
_coordFormat, _coordPrec, mount_ptr->getPointingTarget());
|
||||
|
||||
} else if (input_msg.withKey(MCC_COMMPROTO_KEYWORD_TELEMETRY_STR)) {
|
||||
typename MountT::telemetry_data_t tdata;
|
||||
|
||||
@@ -1240,7 +1244,7 @@ protected:
|
||||
case impl::MccCoordPairKind::COORDS_KIND_XY: // interpretated as encoder coordinates
|
||||
case impl::MccCoordPairKind::COORDS_KIND_GENERIC: { // interpretated as encoder coordinates
|
||||
if (target) {
|
||||
// WARNING: STILL NOT IMPLEMENTED!!!
|
||||
sp.from(tdata.targetXY);
|
||||
} else {
|
||||
sp.from(tdata.hwState.XY);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user