cgi_func.h missing
Thanks for your sdp4 model implementation I'm currently trying to convert TLE to the satellite azimuth/elevation angle using sdp4 model
However, make to build the library gives following error message.
sat_id2.cpp:21:22: fatal error: cgi_func.h
$ git clone https://github.com/Bill-Gray/sat_code
$ make
I think cgi_func.h is missed.. And it would be very helpful if there's some documentation or example codes
Thank you. I changed this library a while ago so that it drew on some routines from the lunar library, but didn't note that fact anywhere.
Actually, I see now that the only reliance is on cgi_func.h, for some of the routines used in parsing CGI data. So you can use the SDP4/SGP4 code and ignore that error message... I may just revise makefile so that sat_id2 is not built by default, and requires an explicit make sat_id2 step.
For example code, I'd suggest starting with test_out.cpp (just reads in TLE data and displays parts of it in a more human-readable form). test2.cpp shows how to compute state vectors from TLEs. obs_tes2.cpp and obs_test.cpp add the step of computing where an observer on the earth would be, so that you can compute the position of a satellite relative to an observer.
Hey guys, this is a simplified make file ... you guys can add this to the code and compile it ... I could successfully test it on linux ubuntu16 ... Bill Gray, thank you for your efforts and awesome code ... all: g++ -O3 -std=c++11 "get_el.cpp" "basics.cpp" "common.cpp" "deep.cpp" "sgp.cpp" "sdp4.cpp" "sdp8.cpp" "sgp4.cpp" "sgp8.cpp" "test_sat.cpp" -o sattest -lm