RasPi/CopterController/v2DSM2tester.cpp

15 lines
387 B
C++
Raw Normal View History

#include <iostream>
#include "v2DSM2.h"
using namespace std;
int main(int argc, char const *argv[])
{
v2DSM2 dsm;
while( true )
{
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;
}
return 0;
}