...
This commit is contained in:
@@ -344,6 +344,10 @@ struct MccSkyAZALT : MccCoordPair<MccAngleAZ, MccAngleALT> {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
using MccGenXY = MccCoordPair<MccAngleX, MccAngleY>;
|
||||||
|
|
||||||
|
using MccGeoLONLAT = MccCoordPair<MccAngleLON, MccAngleLAT>;
|
||||||
|
|
||||||
// utility type definition: deduce a coordinate pair kind according to mount type
|
// utility type definition: deduce a coordinate pair kind according to mount type
|
||||||
// mcc_deduced_coord_pair_t = MccSkyHADEC_OBS for equathorial mounts,
|
// mcc_deduced_coord_pair_t = MccSkyHADEC_OBS for equathorial mounts,
|
||||||
// mcc_deduced_coord_pair_t = MccSkyAZZD for altazimuthal ones and
|
// mcc_deduced_coord_pair_t = MccSkyAZZD for altazimuthal ones and
|
||||||
@@ -355,10 +359,6 @@ using mcc_deduced_coord_pair_t =
|
|||||||
std::conditional_t<mccIsAltAzMount(MOUNT_TYPE), MccSkyAZZD, std::nullptr_t>>;
|
std::conditional_t<mccIsAltAzMount(MOUNT_TYPE), MccSkyAZZD, std::nullptr_t>>;
|
||||||
|
|
||||||
|
|
||||||
// using MccGenXY = MccCoordPair<MccAngleX, MccAngleY>;
|
|
||||||
|
|
||||||
// using MccGeoLONLAT = MccCoordPair<MccAngleLON, MccAngleLAT>;
|
|
||||||
|
|
||||||
|
|
||||||
// static MccSkyHADEC_APP hadec = MccGenXY{};
|
// static MccSkyHADEC_APP hadec = MccGenXY{};
|
||||||
// static MccSkyAZALT azalt{MccSkyAZZD{1.0, 1.1}};
|
// static MccSkyAZALT azalt{MccSkyAZZD{1.0, 1.1}};
|
||||||
|
|||||||
@@ -437,7 +437,7 @@ public:
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
auto log_pos = [logger, this](typename TELEMETRY_T::telemetry_data_t const& tdata) {
|
auto log_pos = [logger, this](typename TELEMETRY_T::telemetry_data_t const& tdata) -> error_t {
|
||||||
double x_mnt, y_mnt, x_tag, y_tag;
|
double x_mnt, y_mnt, x_tag, y_tag;
|
||||||
|
|
||||||
std::conditional_t<mccIsEquatorialMount(HARDWARE_T::mountType), MccSkyHADEC_OBS,
|
std::conditional_t<mccIsEquatorialMount(HARDWARE_T::mountType), MccSkyHADEC_OBS,
|
||||||
|
|||||||
Reference in New Issue
Block a user