How do I get the Az/Alt for a planet. For example mars. I am just not getting it. What would have to be added to the example for that to work?
The Az/Alt (horizontal) position can be calculated using the EQU position, JD and observers location by calling :-
ln_get_hrz_from_equ(struct ln_equ_posn object, struct ln_lnlat_posn observer, double JD, struct ln_hrz_posn *position);
Can you use libnova to get the Az/Alt positions of satalites using the 2 line data from norad? http://www.celestrak.com/NORAD/elements/
No, and I don't reccomend integration TLEs to libnova.
See Project Pluto, http://www.projectpluto.com/source.htm. I integarted that to RTS2 (http://rts2.org, http://github.com/RTS2/), so you can see that for an example how to Project Pluto sources.
Log in to post a comment.
The Az/Alt (horizontal) position can be calculated using the EQU position, JD and observers location by calling :-
ln_get_hrz_from_equ(struct ln_equ_posn object,
struct ln_lnlat_posn observer, double JD, struct ln_hrz_posn *position);
Can you use libnova to get the Az/Alt positions of satalites using the 2 line data from norad? http://www.celestrak.com/NORAD/elements/
No, and I don't reccomend integration TLEs to libnova.
See Project Pluto, http://www.projectpluto.com/source.htm. I integarted that to RTS2 (http://rts2.org, http://github.com/RTS2/), so you can see that for an example how to Project Pluto sources.