예제 #1
0
        public void Boresight(int? station, double AzRef, double ElRef, double RlRef, bool ResetOrigin)
        {
            Triple ra = new Triple(AzRef, ElRef, RlRef);
            string c = "B" + station == null ? "*" : ((int)station).ToString("0") + "," +
                ra.ToASCII() +
                (ResetOrigin ? "1" : "0");

            SendCommand(c, true);
        }
예제 #2
0
 public void TipOffsets(int? station, double Xoff, double Yoff, double Zoff)
 {
     Triple co = new Triple(Xoff, Yoff, Zoff);
     string c = "N" + (station == null ? "*" : ((int)station).ToString("0")) + co.ToASCII();
     SendCommand(c, true);
 }
예제 #3
0
 //----->Polhemus commands start here<-----
 //----->Configuration commands<-----
 public void AlignmentReferenceFrame(int? station, Triple O, Triple X, Triple Y)
 {
     string c = "A" + station == null ? "*" : ((int)station).ToString("0") + "," +
         O.ToASCII() + X.ToASCII() + Y.ToASCII();
     SendCommand(c, true);
 }
예제 #4
0
 public void HemisphereOfOperation(int? station, double p1, double p2, double p3)
 {
     Triple cc = new Triple(p1, p2, p3);
     string c = "H" + (station == null ? "*" : ((int)station).ToString("0")) + cc.ToASCII();
     SendCommand(c, true);
 }