#include "ofMain.h"
private:
public:
void exit(void);
void draw(void);
private:
};
void testApp::setup(void)
{
cout << "Hello ARTSAT." << endl;
}
}
return;
}
void testApp::exit(void)
{
_invader.cleanup();
return;
}
void testApp::draw(void)
{
std::vector<ofxSATTime> available;
double value;
int i;
if (_invader.getAvailableTime(begin, end, &available) ==
SATERROR_OK) {
for (i = 0; i < available.size(); ++i) {
if (_invader.getSensorTemperatureSolarPX(available[i], &value) ==
SATERROR_OK) {
cout << "the temperature of solar panel +X is " << value << " degC." << endl;
}
}
}
return;
}
{
cout << "new TLE received." << endl;
return;
}
void testApp::onNotifyData(
ofxSATTime const& time)
{
cout << "new telemetry data received." << endl;
return;
}