Calculates azimuth and elevation of a satellite dish based on its longitude, latitude and selected satellite.
Dependencies: PinDetect TextLCD mbed MODGPS
Diff: Satellite.cpp
- Revision:
- 0:fe8decc6a938
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Satellite.cpp Thu Mar 29 09:26:14 2012 +0000 @@ -0,0 +1,40 @@ +#include "Satellite.h" + +Satellite::Satellite(string n, string c, float o, float i){ + name = n; + cname = c; + orbit = o; + inclination = i; +} + +string Satellite::getName(){ + return name; +} + +string Satellite::getCname(){ + return cname; +} + +float Satellite::getOrbit(){ + return orbit; +} + +float Satellite::getInclination(){ + return inclination; +} + +void Satellite::setName(string n){ + name = n; +} + +void Satellite::setCname(string c){ + cname = c; +} + +void Satellite::setOrbit(float o){ + orbit = o; +} + +void Satellite::setInclination(float i){ + inclination = i; +} \ No newline at end of file