Loading Common/Servers/AntennaBoss/src/BossCore.cpp +2 −1 Original line number Diff line number Diff line Loading @@ -788,6 +788,7 @@ bool CBossCore::checkScan(const ACS::Time& startUt,const Antenna::TTrackingParam IRA::CIRATools::timeToStr(inputTime,out); ACS_LOG(LM_FULL_INFO,"CBossCore::checkScan()",(LM_DEBUG,"CHECK_TIME_IS: %s",(const char *)out)); generator->getHorizontalCoordinate(inputTime,azimuth,elevation); //use inputTime (=now), in order to get where the source is now) printf("controllo cordinate di riferimento: %lf, %lf\n",azimuth,elevation); antennaInfo->azimuth=azimuth; antennaInfo->elevation=elevation; antennaInfo->rightAscension=ra; Loading Loading @@ -828,7 +829,7 @@ bool CBossCore::checkScan(const ACS::Time& startUt,const Antenna::TTrackingParam changeBossStatus(Management::MNG_WARNING); _THROW_EXCPT(ComponentErrors::UnexpectedExImpl,"CBossCore::checkScan()"); } if ((azimuth*DR2D>=90.0) && (azimuth<=270.0)) { if ((azimuth*DR2D>=90.0) && (azimuth*DR2D<=270.0)) { antennaInfo->section=Antenna::ANT_SOUTH; } else { Loading Common/Servers/AntennaBoss/src/BossCore_prepareScan.i +1 −0 Original line number Diff line number Diff line Loading @@ -307,6 +307,7 @@ Antenna::EphemGenerator_ptr CBossCore::prepareScan( } else if (primary.frame==Antenna::ANT_HORIZONTAL) { ACS_LOG(LM_FULL_INFO,"CBossCore::prepareScan()",(LM_DEBUG,"SOURCE_AZ_EL: %lf %lf",primary.parameters[0],primary.parameters[1])); printf("parametri beam park: %lf, %lf",primary.parameters[0],primary.parameters[1]); tracker->setFixedPoint(primary.targetName,primary.parameters[0],primary.parameters[1]); } //copy the current track and store it Loading Common/Servers/Scheduler/src/Core_Operations.i +2 −1 Original line number Diff line number Diff line Loading @@ -196,7 +196,8 @@ void CCore::_goTo(const double& azimuth,const double& elevation) throw (Manageme MinorServo::MinorServoScan servo; Receivers::TReceiversParameters receievers; Schedule::CSubScanBinder binder(&primary,&secondary,&servo,&receievers); binder.goTo(azimuth*DD2R,elevation*DD2R); printf("Parametri del goTo %lf, %lf\n",azimuth,elevation); binder.goTo(azimuth,elevation); startTime=0; // it means start as soon as possible startScan(startTime,&primary,&secondary,&servo,&receievers); //ManagementErrors::TelescopeSubScanErrorExImpl,ManagementErrors::TargetOrSubscanNotFeasibleExImpl m_subScanEpoch=startTime; Loading Loading
Common/Servers/AntennaBoss/src/BossCore.cpp +2 −1 Original line number Diff line number Diff line Loading @@ -788,6 +788,7 @@ bool CBossCore::checkScan(const ACS::Time& startUt,const Antenna::TTrackingParam IRA::CIRATools::timeToStr(inputTime,out); ACS_LOG(LM_FULL_INFO,"CBossCore::checkScan()",(LM_DEBUG,"CHECK_TIME_IS: %s",(const char *)out)); generator->getHorizontalCoordinate(inputTime,azimuth,elevation); //use inputTime (=now), in order to get where the source is now) printf("controllo cordinate di riferimento: %lf, %lf\n",azimuth,elevation); antennaInfo->azimuth=azimuth; antennaInfo->elevation=elevation; antennaInfo->rightAscension=ra; Loading Loading @@ -828,7 +829,7 @@ bool CBossCore::checkScan(const ACS::Time& startUt,const Antenna::TTrackingParam changeBossStatus(Management::MNG_WARNING); _THROW_EXCPT(ComponentErrors::UnexpectedExImpl,"CBossCore::checkScan()"); } if ((azimuth*DR2D>=90.0) && (azimuth<=270.0)) { if ((azimuth*DR2D>=90.0) && (azimuth*DR2D<=270.0)) { antennaInfo->section=Antenna::ANT_SOUTH; } else { Loading
Common/Servers/AntennaBoss/src/BossCore_prepareScan.i +1 −0 Original line number Diff line number Diff line Loading @@ -307,6 +307,7 @@ Antenna::EphemGenerator_ptr CBossCore::prepareScan( } else if (primary.frame==Antenna::ANT_HORIZONTAL) { ACS_LOG(LM_FULL_INFO,"CBossCore::prepareScan()",(LM_DEBUG,"SOURCE_AZ_EL: %lf %lf",primary.parameters[0],primary.parameters[1])); printf("parametri beam park: %lf, %lf",primary.parameters[0],primary.parameters[1]); tracker->setFixedPoint(primary.targetName,primary.parameters[0],primary.parameters[1]); } //copy the current track and store it Loading
Common/Servers/Scheduler/src/Core_Operations.i +2 −1 Original line number Diff line number Diff line Loading @@ -196,7 +196,8 @@ void CCore::_goTo(const double& azimuth,const double& elevation) throw (Manageme MinorServo::MinorServoScan servo; Receivers::TReceiversParameters receievers; Schedule::CSubScanBinder binder(&primary,&secondary,&servo,&receievers); binder.goTo(azimuth*DD2R,elevation*DD2R); printf("Parametri del goTo %lf, %lf\n",azimuth,elevation); binder.goTo(azimuth,elevation); startTime=0; // it means start as soon as possible startScan(startTime,&primary,&secondary,&servo,&receievers); //ManagementErrors::TelescopeSubScanErrorExImpl,ManagementErrors::TargetOrSubscanNotFeasibleExImpl m_subScanEpoch=startTime; Loading