Menu

#18 Getting Az/Alt for planet

v1.0_(example)
open
nobody
None
5
2015-11-27
2015-11-24
Brian
No

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?

Discussion

  • Liam Girdwood

    Liam Girdwood - 2015-11-24

    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);

     
  • Brian

    Brian - 2015-11-27

    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/

     
  • Petr Kubanek

    Petr Kubanek - 2015-11-27

    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.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.