Fixed problem where SlewToAltAz didn't work correctly. Now uses the RA/Dec slew for everything, and converts the values as needed.

This commit is contained in:
2019-05-19 19:25:43 +01:00
parent d39846fa18
commit 7cb50de30d
6 changed files with 384 additions and 283 deletions
+6 -3
View File
@@ -43,9 +43,12 @@ namespace ASCOM
// TODO add more code to test the driver.
device.Connected = true;
device.CommandBlind(":Sa+30*00'00#", true);
device.CommandBlind(":Sz150*00#", true);
device.CommandBlind(":MS#", true);
device.SlewToAltAz(150, 50);
//device.CommandBlind(":Sa+30*00'00#", true);
//device.CommandBlind(":Sz50*00#", true);
//device.CommandBlind(":MA#", true);
//Console.WriteLine($"Ra {device.RightAscension}");
//Console.WriteLine($"Dec {device.Declination}");