2012-02-26 19:13:23 -04:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
|
|
|
|
namespace ArdupilotMega.Antenna
|
|
|
|
|
{
|
|
|
|
|
interface ITrackerOutput
|
|
|
|
|
{
|
|
|
|
|
SerialPort ComPort { get; set; }
|
|
|
|
|
|
|
|
|
|
double TrimPan { get; set; }
|
|
|
|
|
double TrimTilt { get; set; }
|
|
|
|
|
|
|
|
|
|
int PanStartRange { get; set; }
|
|
|
|
|
int TiltStartRange { get; set; }
|
|
|
|
|
int PanEndRange { get; set; }
|
|
|
|
|
int TiltEndRange { get; set; }
|
2012-03-23 09:52:12 -03:00
|
|
|
|
int PanPWMRange { get; set; }
|
|
|
|
|
int TiltPWMRange { get; set; }
|
2012-02-26 19:13:23 -04:00
|
|
|
|
|
|
|
|
|
bool PanReverse { get; set; }
|
|
|
|
|
bool TiltReverse { get; set; }
|
|
|
|
|
|
|
|
|
|
bool Init();
|
|
|
|
|
bool Setup();
|
|
|
|
|
bool Pan(double Angle);
|
|
|
|
|
bool Tilt(double Angle);
|
|
|
|
|
bool PanAndTilt(double Pan,double Tilt);
|
|
|
|
|
bool Close();
|
|
|
|
|
}
|
|
|
|
|
}
|