Skip to content
Snippets Groups Projects
Unverified Commit da220bbe authored by Giuseppe Carboni's avatar Giuseppe Carboni Committed by GitHub
Browse files

Fix #888, fixed AntennaBoss SkydipRange sscanf (#889)

parent de02d188
No related branches found
No related tags found
No related merge requests found
...@@ -97,7 +97,7 @@ void CConfiguration::init(maci::ContainerServices *Services) throw (ComponentErr ...@@ -97,7 +97,7 @@ void CConfiguration::init(maci::ContainerServices *Services) throw (ComponentErr
_GET_STRING_ATTRIBUTE("SkydipElevationRange","The skydip elevation range is (degrees):",temp); _GET_STRING_ATTRIBUTE("SkydipElevationRange","The skydip elevation range is (degrees):",temp);
_GET_STRING_ATTRIBUTE("CoordinatesFilename", "The text file path in which the received coordinates will be written:", m_coordinatesFile); _GET_STRING_ATTRIBUTE("CoordinatesFilename", "The text file path in which the received coordinates will be written:", m_coordinatesFile);
if (sscanf((const char *)temp,"%lf-%lf",&m_skydipElDown,&m_skydipElUp)!=2) { if (sscanf((const char *)temp,"%lf %lf",&m_skydipElDown,&m_skydipElUp)!=2) {
_EXCPT(ComponentErrors::CDBAccessExImpl,dummy,"CConfiguration::Init()"); _EXCPT(ComponentErrors::CDBAccessExImpl,dummy,"CConfiguration::Init()");
dummy.setFieldName("SkydipElevationRange"); dummy.setFieldName("SkydipElevationRange");
throw dummy; throw dummy;
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
GapTime="200000" GapTime="200000"
CoordinateIntegration="1000000" CoordinateIntegration="1000000"
CutOffElevation="70.0" CutOffElevation="70.0"
SkydipElevationRange="15.0-90.0" SkydipElevationRange="15.0 90.0"
MountInstance="ANTENNA/Mount" MountInstance="ANTENNA/Mount"
ObservatoryInterface="IDL:alma/Antenna/Observatory:1.0" ObservatoryInterface="IDL:alma/Antenna/Observatory:1.0"
PointingModelInstance="ANTENNA/PointingModel" PointingModelInstance="ANTENNA/PointingModel"
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
GapTime="200000" GapTime="200000"
CoordinateIntegration="1000000" CoordinateIntegration="1000000"
CutOffElevation="70.0" CutOffElevation="70.0"
SkydipElevationRange="15.0-90.0" SkydipElevationRange="15.0 90.0"
MountInstance="ANTENNA/Mount" MountInstance="ANTENNA/Mount"
ObservatoryInterface="IDL:alma/Antenna/Observatory:1.0" ObservatoryInterface="IDL:alma/Antenna/Observatory:1.0"
PointingModelInstance="ANTENNA/PointingModel" PointingModelInstance="ANTENNA/PointingModel"
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
GapTime="200000" GapTime="200000"
CoordinateIntegration="1000000" CoordinateIntegration="1000000"
CutOffElevation="70.0" CutOffElevation="70.0"
SkydipElevationRange="15.0-90.0" SkydipElevationRange="15.0 90.0"
MountInstance="ANTENNA/Mount" MountInstance="ANTENNA/Mount"
ObservatoryInterface="IDL:alma/Antenna/Observatory:1.0" ObservatoryInterface="IDL:alma/Antenna/Observatory:1.0"
PointingModelInstance="ANTENNA/PointingModel" PointingModelInstance="ANTENNA/PointingModel"
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
GapTime="200000" GapTime="200000"
CoordinateIntegration="1000000" CoordinateIntegration="1000000"
CutOffElevation="70.0" CutOffElevation="70.0"
SkydipElevationRange="15.0-90.0" SkydipElevationRange="15.0 90.0"
MountInstance="ANTENNA/Mount" MountInstance="ANTENNA/Mount"
ObservatoryInterface="IDL:alma/Antenna/Observatory:1.0" ObservatoryInterface="IDL:alma/Antenna/Observatory:1.0"
PointingModelInstance="ANTENNA/PointingModel" PointingModelInstance="ANTENNA/PointingModel"
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
GapTime="200000" GapTime="200000"
CoordinateIntegration="1000000" CoordinateIntegration="1000000"
CutOffElevation="70.0" CutOffElevation="70.0"
SkydipElevationRange="15.0-90.0" SkydipElevationRange="15.0 90.0"
MountInstance="ANTENNA/Mount" MountInstance="ANTENNA/Mount"
ObservatoryInterface="IDL:alma/Antenna/Observatory:1.0" ObservatoryInterface="IDL:alma/Antenna/Observatory:1.0"
PointingModelInstance="ANTENNA/PointingModel" PointingModelInstance="ANTENNA/PointingModel"
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
GapTime="200000" GapTime="200000"
CoordinateIntegration="1000000" CoordinateIntegration="1000000"
CutOffElevation="70.0" CutOffElevation="70.0"
SkydipElevationRange="15.0-90.0" SkydipElevationRange="15.0 90.0"
MountInstance="ANTENNA/Mount" MountInstance="ANTENNA/Mount"
ObservatoryInterface="IDL:alma/Antenna/Observatory:1.0" ObservatoryInterface="IDL:alma/Antenna/Observatory:1.0"
PointingModelInstance="ANTENNA/PointingModel" PointingModelInstance="ANTENNA/PointingModel"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment