...
This commit is contained in:
@@ -6,13 +6,14 @@
|
||||
|
||||
|
||||
#include "asibfm700_hardware.h"
|
||||
#include "mcc_fsm_mount.h"
|
||||
// #include "mcc_fsm_mount.h"
|
||||
#include "mcc_guiding_model.h"
|
||||
#include "mcc_mount_astro_erfa.h"
|
||||
#include "mcc_mount_pec.h"
|
||||
#include "mcc_mount_pz.h"
|
||||
#include "mcc_mount_telemetry.h"
|
||||
#include "mcc_slew_model.h"
|
||||
// #include "mcc_spdlog.h"
|
||||
|
||||
namespace asibfm700
|
||||
{
|
||||
@@ -33,8 +34,8 @@ static_assert(std::movable<AsibFM700Telemetry>);
|
||||
static_assert(std::movable<AsibFM700AstromEngine>);
|
||||
static_assert(std::movable<mcc::MccAltLimitPZ<>>);
|
||||
|
||||
// typedef mcc::MccSimpleSlewModel<> AsibFM700SlewModel;
|
||||
// typedef mcc::MccSimpleGuidingModel<> AsibFM700GuidingModel;
|
||||
// typedef mcc::MccSimpleSlewModel<mcc::utils::MccSpdlogLogger> AsibFM700SlewModel;
|
||||
// typedef mcc::MccSimpleGuidingModel<mcc::utils::MccSpdlogLogger> AsibFM700GuidingModel;
|
||||
|
||||
|
||||
template <mcc::traits::mcc_logger_c LoggerT>
|
||||
@@ -43,6 +44,7 @@ using AsibFM700SlewModel = mcc::MccSimpleSlewModel<LoggerT>;
|
||||
template <mcc::traits::mcc_logger_c LoggerT>
|
||||
using AsibFM700GuidingModel = mcc::MccSimpleGuidingModel<LoggerT>;
|
||||
|
||||
/*
|
||||
|
||||
template <mcc::traits::mcc_logger_c LoggerT>
|
||||
struct AsibFM700MountControls {
|
||||
@@ -65,12 +67,6 @@ static_assert(mcc::traits::mcc_mount_controls_c<AsibFM700MountControls<mcc::util
|
||||
|
||||
// global mount configuration
|
||||
|
||||
struct AsibFM700Config {
|
||||
std::chrono::milliseconds hardwarePollingPeriod{100}; // main cycle period
|
||||
|
||||
// mount hardware config
|
||||
AsibFM700Hardware::hardware_config_t hardwareConfig;
|
||||
};
|
||||
|
||||
|
||||
class AsibFM700Mount : public mcc::MccMount<AsibFM700MountControls<mcc::utils::MccSpdlogLogger>>
|
||||
@@ -81,5 +77,5 @@ class AsibFM700Mount : public mcc::MccMount<AsibFM700MountControls<mcc::utils::M
|
||||
|
||||
public:
|
||||
};
|
||||
|
||||
*/
|
||||
} // namespace asibfm700
|
||||
|
||||
Reference in New Issue
Block a user