This commit is contained in:
Timur A. Fatkhullin
2025-07-21 00:33:06 +03:00
parent 9cd52267d6
commit 6d65efd0af
6 changed files with 323 additions and 181 deletions

View File

@@ -139,42 +139,6 @@ public:
typedef DATA_T mount_telemetry_data_t;
// mount current telemetry data: time, position and related quantities
// struct mount_telemetry_data_t {
// typedef typename astrom_engine_t::coord_t coord_t;
// // time-related
// typename astrom_engine_t::time_point_t utc; // time point of measurements, UTC
// typename astrom_engine_t::juldate_t jd; // Julian date
// typename astrom_engine_t::sideral_time_t siderTime; // local apperant sideral time
// // typename astrom_engine_t::time_point_t ut1; // Universal time
// // typename astrom_engine_t::time_point_t tt; // Terrestial time
// // apparent target (user-input) current coordinates (in radians)
// coord_t tagRA, tagDEC;
// coord_t tagHA;
// coord_t tagAZ, tagALT;
// coord_t tagPA; // paralactic angle
// // encoder-measured current mount coordinates (in radians)
// coord_t mntRA, mntDEC;
// coord_t mntHA;
// coord_t mntAZ, mntALT;
// typename astrom_engine_t::pa_t mntPA;
// // encoder-measured (non-corrected for PCS) current mount position and moving speed (in radians, radians/s)
// // X - HA, Y - DEC for equatorial-type mount; X - AZ, Y - ALT for horizontal-type one
// coord_t mntPosX, mntPosY;
// // current refraction coefficients
// typename pec_t::pec_result_t currRefrCoeffs;
// // current refraction correction (for mntALT)
// coord_t currRefr;
// // PEC (pointing error correction):
// // X - HA, Y - DEC for equatorial-type mount; X - AZ, Y - ALT for horizontal-type one
// coord_t pecX, pecY;
// };
MccMountTelemetry(astrom_engine_t& astrom_engine, pec_t& pec, hardware_t& hardware)
: _astromEngine(astrom_engine), _pec(pec), _hardware(hardware)