This commit is contained in:
2025-10-03 12:11:21 +03:00
parent 962504ed98
commit 5fe2788cd7
4 changed files with 93 additions and 6 deletions

View File

@@ -663,7 +663,7 @@ struct mcc_telemetry_interface_t {
template <std::derived_from<mcc_telemetry_interface_t> SelfT>
RetT setPointingTarget(this SelfT&& self, mcc_celestial_point_c auto pt)
{
return std::forward<SelfT>(self).telemetryData(std::move(pt));
return std::forward<SelfT>(self).setPointingTarget(std::move(pt));
}
@@ -929,7 +929,7 @@ concept mcc_generic_mount_c = mcc_telemetry_c<T> && mcc_pzone_container_c<T> &&
// requires mcc_error_c<typename T::error_t>;
// slew mount to target (it is assumed that the target coordinates are determined in the telemetry data)
{ t.slewToTarget() };
{ t.slewToTarget(std::declval<bool>()) };
// { t.slewToTarget() } -> std::same_as<typename T::error_t>;
// track target, i.e., the mount moves with celestial speed