#pragma once /* AstroSib FORK MOUNT FM-700 CONTROL LIBRARY */ /* COMMON LIBRARY DEFINITIONS */ #include #include #include "asibfm700_servocontroller.h" namespace asibfm700 { static constexpr mcc::MccMountType asibfm700MountType = mcc::MccMountType::FORK_TYPE; struct Asibfm700MountConfig { std::chrono::milliseconds hardwarePollingPeriod{100}; // main cycle period // CCTE-related configuration double siteLatitude{43.646711_degs}; double siteLongitude{41.440732_degs}; double siteElevation{2100.0}; double refractWavelength{0.55}; std::string leapSecondFilename{}; std::string bulletinAFilename{}; // PCM-related configuration mcc::MccDefaultPCM::pcm_data_t pcmData{ .type = mcc::MccDefaultPCMType::PCM_TYPE_GEOMETRY, .siteLatitude = siteLatitude, .geomCoefficients = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}}; AsibFM700ServoController::hardware_config_t servoControllerConfig{}; mcc::MccSimpleMovingModelParams movingModelParams{}; }; } // namespace asibfm700