Calculates azimuth and elevation of a satellite dish based on its longitude, latitude and selected satellite.

Dependencies:   PinDetect TextLCD mbed MODGPS

Satellite.cpp

Committer:
BartJanssens
Date:
2012-03-29
Revision:
0:fe8decc6a938

File content as of revision 0:fe8decc6a938:

#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;
}