...
This commit is contained in:
@@ -473,11 +473,11 @@ struct mcc_skypoint_interface_t {
|
||||
return std::forward<SelfT>(self).refractInverseCorrection(dZ);
|
||||
}
|
||||
|
||||
// returns apparent sideral time (Greenwich) for the epoch of the celestial point
|
||||
// returns apparent sideral time (Greenwich or local) for the epoch of the celestial point
|
||||
template <std::derived_from<mcc_skypoint_interface_t> SelfT>
|
||||
auto appSideralTime(this SelfT&& self, mcc_angle_c auto* st)
|
||||
auto appSideralTime(this SelfT&& self, mcc_angle_c auto* st, bool is_local)
|
||||
{
|
||||
return std::forward<SelfT>(self).appSideralTime(st);
|
||||
return std::forward<SelfT>(self).appSideralTime(st, is_local);
|
||||
}
|
||||
|
||||
// returns equation of origins for the epoch of the celestial point
|
||||
@@ -571,7 +571,7 @@ concept mcc_pcm_c = std::derived_from<T, mcc_pcm_interface_t<typename T::error_t
|
||||
// static constexpr uint16_t HW_MOVE_ERROR = 555;
|
||||
// }
|
||||
template <typename T>
|
||||
concept mcc_hardware_movement_state_c = requires {
|
||||
concept mcc_hardware_movement_state_c = std::formattable<T, char> && requires {
|
||||
[]() {
|
||||
// // mount axes were stopped
|
||||
// [[maybe_unused]] static constexpr auto v0 = T::HW_MOVE_STOPPED;
|
||||
@@ -621,7 +621,6 @@ concept mcc_hardware_movement_state_c = requires {
|
||||
template <typename T>
|
||||
concept mcc_hardware_state_c = requires(T state) {
|
||||
// encoder co-longitude and co-latiitude positions, as well as its measurement time point
|
||||
// the given constrains on coordinate pair kind can be used to deduce mount type
|
||||
requires mcc_coord_pair_c<decltype(state.XY)> &&
|
||||
(decltype(state.XY)::pairKind == impl::MccCoordPairKind::COORDS_KIND_GENERIC ||
|
||||
decltype(state.XY)::pairKind == impl::MccCoordPairKind::COORDS_KIND_XY);
|
||||
|
||||
Reference in New Issue
Block a user