forked from philipperemy/digital-setting-circles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.cpp
39 lines (30 loc) · 838 Bytes
/
main.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#include <iostream>
#include "MathLib.h"
#include "Calc.h"
#include "StarData.h"
#include "Encoder.h"
#include "Test.h"
using namespace std;
int main()
{
Test test;
test.run_all();
/* Encoder encoder_1(23, 24);
Encoder encoder_2(21, 22);
encoderNameSpace::_callback();
StarData starData;
cout << "validate star data = " << starDataNamespace::validStarData(starData) << endl;
Calc c;
double ra = 0;
double *raptr = &ra;
double dec = 0;
double *decptr = &dec;
c.setAlignmentData(0, 200, 323, 123, 233, 2000000);
c.setAlignmentData(1, 201, 324, 124, 234, 2000001);
c.finalizeAlignment(false);
c.AzElToEq(201, 122, 2000002, raptr, decptr);
cout << "ra " << *raptr << endl;
cout << "dec " << *decptr << endl;
cout << "Hello world!" << endl;
return 0;*/
}