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
|
|
|
|
|
{
|
2012-04-24 10:49:27 -03:00
|
|
|
|
Comms.SerialPort ComPort { get; set; }
|
2012-02-26 19:13:23 -04:00
|
|
|
|
|
|
|
|
|
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);
|
2012-06-04 06:56:46 -03:00
|
|
|
|
bool PanAndTilt(double Pan, double Tilt);
|
2012-02-26 19:13:23 -04:00
|
|
|
|
bool Close();
|
|
|
|
|
}
|
|
|
|
|
}
|