Output prints satellites name.
parent
4f49c85bb9
commit
97c1d632a6
2
Makefile
2
Makefile
|
@ -1,5 +1,5 @@
|
||||||
CC=g++
|
CC=g++
|
||||||
CFLAGS=-c -Wall -g
|
CFLAGS=-c -Wall -O2
|
||||||
LDFLAGS=
|
LDFLAGS=
|
||||||
SOURCES=Coord.cpp \
|
SOURCES=Coord.cpp \
|
||||||
Eci.cpp \
|
Eci.cpp \
|
||||||
|
|
4
main.cpp
4
main.cpp
|
@ -72,6 +72,8 @@ int main() {
|
||||||
model.FindPosition(eci, tsince);
|
model.FindPosition(eci, tsince);
|
||||||
CoordTopographic topo = obs.GetLookAngle(eci);
|
CoordTopographic topo = obs.GetLookAngle(eci);
|
||||||
|
|
||||||
|
std::cout.width(17);
|
||||||
|
std::cout << itr->GetName() << " ";
|
||||||
std::cout << std::setprecision(8) << std::fixed;
|
std::cout << std::setprecision(8) << std::fixed;
|
||||||
std::cout.width(17);
|
std::cout.width(17);
|
||||||
std::cout << tsince << " ";
|
std::cout << tsince << " ";
|
||||||
|
@ -79,8 +81,6 @@ int main() {
|
||||||
std::cout << Globals::Rad2Deg(topo.GetAzimuth()) << " ";
|
std::cout << Globals::Rad2Deg(topo.GetAzimuth()) << " ";
|
||||||
std::cout.width(17);
|
std::cout.width(17);
|
||||||
std::cout << Globals::Rad2Deg(topo.GetElevation()) << std::endl;
|
std::cout << Globals::Rad2Deg(topo.GetElevation()) << std::endl;
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue