source: BAORadio/libindi/v1/drivers/telescope/lx200aplib.h@ 689

Last change on this file since 689 was 490, checked in by campagne, 15 years ago

import libindi (JEC)

File size: 1.3 KB
Line 
1/*
2 LX200 AP Driver
3 Copyright (C) 2007 Markus Wildi
4
5 This library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Lesser General Public
7 License as published by the Free Software Foundation; either
8 version 2.1 of the License, or (at your option) any later version.
9
10 This library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Lesser General Public License for more details.
14
15 You should have received a copy of the GNU Lesser General Public
16 License along with this library; if not, write to the Free Software
17 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18
19*/
20
21#include <config.h>
22
23#include <math.h>
24
25#ifdef HAVE_NOVA_H
26#include <libnova.h>
27#endif
28
29#define ATA 0
30#define ATR 1
31#define ARTT 2
32#define ARTTO 3 /* not yet there, requires a pointing model */
33
34double LDRAtoHA( double RA, double longitude) ;
35int LDEqToEqT( double ra_h, double dec_d, double *hxt, double *rat_h, double *dect_d);
36int LDCartToSph( double *vec, double *ra, double *dec) ;
37int LDAppToX( int trans_to, double *star_cat, double tjd, double *loc, double *hxt, double *star_trans) ;
Note: See TracBrowser for help on using the repository browser.