2015-03-10 20:02:35 -06:00
|
|
|
#include <iostream>
|
2015-03-03 23:43:50 -07:00
|
|
|
#include "DSM2.h"
|
|
|
|
|
|
|
|
using namespace std;
|
|
|
|
|
2015-03-10 20:02:35 -06:00
|
|
|
int main(int argc, char const *argv[])
|
2015-03-03 23:43:50 -07:00
|
|
|
{
|
2015-03-10 20:02:35 -06:00
|
|
|
DSM2 dsm;
|
2015-03-03 23:43:50 -07:00
|
|
|
while( true )
|
|
|
|
{
|
2015-03-10 20:02:35 -06:00
|
|
|
dsm.update();
|
|
|
|
cout << "THRO " << dsm.values[0] << "\tAILE " << dsm.values[1] << "\tELEV " << dsm.values[2] << "\tRUDD " << dsm.values[3] << "\tGEAR " << dsm.values[4] << "\tAUX1 " << dsm.values[5] << endl;
|
2015-03-03 23:43:50 -07:00
|
|
|
}
|
2015-03-10 20:02:35 -06:00
|
|
|
return 0;
|
2015-03-03 23:43:50 -07:00
|
|
|
}
|