Skip to content
Snippets Groups Projects
Commit 6fba77a6 authored by Arthur Coolen's avatar Arthur Coolen
Browse files

Bug1365: added angle for HBA tiles to Remote Station panels.

parent baaf1004
No related branches found
No related tags found
No related merge requests found
...@@ -107,7 +107,7 @@ main() ...@@ -107,7 +107,7 @@ main()
if (bDebug) DebugN("str1: ",str1," str2: ",str2); if (bDebug) DebugN("str1: ",str1," str2: ",str2);
if (strtoupper(str1) == "NORMAL_VECTOR" ) { if (strtoupper(str1) == "NORMAL_VECTOR" ) {
if (strtoupper(str2) != "LBA" && strtoupper(str2) != "HBA0" && strtoupper(str2) != "HBA1" && strtoupper(str2) != HBA) { if (strtoupper(str2) != "LBA" && strtoupper(str2) != "HBA0" && strtoupper(str2) != "HBA1" && strtoupper(str2) != "HBA") {
DebugN("readStationConfigs.ctl | Unknown NORMAL_VECTOR target found: ", str2); DebugN("readStationConfigs.ctl | Unknown NORMAL_VECTOR target found: ", str2);
continue; continue;
} else { } else {
...@@ -115,7 +115,7 @@ main() ...@@ -115,7 +115,7 @@ main()
processNormalVector(strtoupper(str2)); processNormalVector(strtoupper(str2));
} }
} else if (strtoupper(str1) == "ROTATION_MATRIX" ) { } else if (strtoupper(str1) == "ROTATION_MATRIX" ) {
if (strtoupper(str2) != "LBA" && strtoupper(str2) != "HBA0" && strtoupper(str2) != "HBA1" && strtoupper(str2) != HBA) { if (strtoupper(str2) != "LBA" && strtoupper(str2) != "HBA0" && strtoupper(str2) != "HBA1" && strtoupper(str2) != "HBA") {
DebugN("readStationConfigs.ctl | Unknown ROTATION_MATRIX target found: ", str2); DebugN("readStationConfigs.ctl | Unknown ROTATION_MATRIX target found: ", str2);
continue; continue;
} else { } else {
...@@ -179,17 +179,17 @@ main() ...@@ -179,17 +179,17 @@ main()
if (deltasHBAFound && (rotMatHBAFound || rotMatHBA0Found || rotMatHBA1Found)) { if (deltasHBAFound && (rotMatHBAFound || rotMatHBA0Found || rotMatHBA1Found)) {
calcRotated("HBA"); calcRotated("HBA");
} else { } else {
DebugN("HBA values or HBA(0)(1) rotationmatrix missing, no rotated values calulated"); DebugN("HBA values or HBA(0)(1) rotationmatrix missing, no rotated values for HBA calulated");
} }
if (deltasHBAFound && rotMatHBA0Found) { if (deltasHBAFound && rotMatHBA0Found) {
calcRotated("HBA0"); calcRotated("HBA0");
} else { } else {
DebugN("HBA values or HBA0 rotationmatrix missing, no rotated values calulated"); DebugN("HBA values or HBA0 rotationmatrix missing, no rotated values for HBA0 calulated");
} }
if (deltasHBAFound && rotMatHBA1Found) { if (deltasHBAFound && rotMatHBA1Found) {
calcRotated("HBA1"); calcRotated("HBA1");
} else { } else {
DebugN("HBA values or HBA1 rotationmatrix missing, no rotated values calulated"); DebugN("HBA values or HBA1 rotationmatrix missing, no rotated values for HBA1 calulated");
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment