...
This commit is contained in:
@@ -8,6 +8,8 @@
|
||||
|
||||
#include <mcc_moving_model_common.h>
|
||||
#include <mcc_pcm.h>
|
||||
#include <mcc_pzone_container.h>
|
||||
#include <mcc_spdlog.h>
|
||||
|
||||
#include "asibfm700_servocontroller.h"
|
||||
|
||||
@@ -16,6 +18,11 @@ namespace asibfm700
|
||||
|
||||
static constexpr mcc::MccMountType asibfm700MountType = mcc::MccMountType::FORK_TYPE;
|
||||
|
||||
|
||||
typedef mcc::MccDefaultPCM<asibfm700MountType> Asibfm700PCM;
|
||||
typedef mcc::MccPZoneContainer<mcc::MccTimeDuration> Asibfm700PZoneContainer;
|
||||
typedef mcc::utils::MccSpdlogLogger Asibfm700Logger;
|
||||
|
||||
struct Asibfm700MountConfig {
|
||||
std::chrono::milliseconds hardwarePollingPeriod{100}; // main cycle period
|
||||
|
||||
@@ -30,10 +37,9 @@ struct Asibfm700MountConfig {
|
||||
|
||||
|
||||
// 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}};
|
||||
Asibfm700PCM::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{};
|
||||
|
||||
Reference in New Issue
Block a user