43 lines
1.2 KiB
C++
43 lines
1.2 KiB
C++
#pragma once
|
|
|
|
/* AstroSib FORK MOUNT FM-700 CONTROL LIBRARY */
|
|
|
|
|
|
/* COMMON LIBRARY DEFINITIONS */
|
|
|
|
|
|
#include <mcc_moving_model_common.h>
|
|
#include <mcc_pcm.h>
|
|
|
|
#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<asibfm700MountType>::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
|