This commit is contained in:
2025-09-24 12:36:02 +03:00
parent fedc324410
commit b1a48d2b77
7 changed files with 2702 additions and 8 deletions

View File

@@ -52,6 +52,7 @@ Asibfm700Mount::error_t Asibfm700Mount::initMount()
logInfo(" IERS Bulletin A filename: {}", _mountConfig.bulletinAFilename);
logInfo("");
logDebug("Delete previously defined prohobited zones");
clearPZones();
logInfo("Add prohibited zones ...");
@@ -104,9 +105,16 @@ Asibfm700Mount::error_t Asibfm700Mount::initMount()
logInfo(" YPIDV: [P: {}, I: {}, D: {}]", _mountConfig.servoControllerConfig.devConfig.YPIDV.P,
_mountConfig.servoControllerConfig.devConfig.YPIDV.I, _mountConfig.servoControllerConfig.devConfig.YPIDV.D);
auto hw_err = hardwareInit();
// auto hw_err = hardwareInit();
// if (hw_err) {
// errorLogging("", hw_err);
// }
// call base class initMount method
auto hw_err = base_gm_class_t::initMount();
if (hw_err) {
errorLogging("", hw_err);
return hw_err;
}
return mcc::MccGenericMountErrorCode::ERROR_OK;