kopia lustrzana https://github.com/Hamlib/Hamlib
Initial adding FLIR PTU rotator
rodzic
af6d4d03e3
commit
82ef0a39bf
|
@ -48,7 +48,7 @@ dnl Beware of duplication should a backend directory include both rig and
|
|||
dnl rotor definitions, e.g. "dummy". Optional backends will not be listed
|
||||
dnl here but will be added later, e.g. "winradio".
|
||||
RIG_BACKEND_LIST="rigs/adat rigs/alinco rigs/aor rigs/barrett rigs/codan rigs/dorji rigs/drake rigs/dummy rigs/elad rigs/flexradio rigs/icom rigs/icmarine rigs/jrc rigs/kachina rigs/kenwood rigs/kit rigs/lowe rigs/pcr rigs/prm80 rigs/racal rigs/rft rigs/rs rigs/skanti rigs/tapr rigs/tentec rigs/tuner rigs/uniden rigs/winradio rigs/wj rigs/yaesu rigs/gomspace rigs/mds"
|
||||
ROT_BACKEND_LIST="rotators/amsat rotators/ars rotators/celestron rotators/cnctrk rotators/grbltrk rotators/easycomm rotators/ether6 rotators/fodtrack rotators/gs232a rotators/heathkit rotators/m2 rotators/meade rotators/rotorez rotators/sartek rotators/spid rotators/ts7400 rotators/prosistel rotators/ioptron rotators/satel rotators/radant"
|
||||
ROT_BACKEND_LIST="rotators/amsat rotators/ars rotators/celestron rotators/cnctrk rotators/grbltrk rotators/easycomm rotators/ether6 rotators/flir rotators/fodtrack rotators/gs232a rotators/heathkit rotators/m2 rotators/meade rotators/rotorez rotators/sartek rotators/spid rotators/ts7400 rotators/prosistel rotators/ioptron rotators/satel rotators/radant"
|
||||
# Amplifiers are all in the amplifiers directory
|
||||
AMP_BACKEND_LIST="amplifiers/elecraft amplifiers/gemini"
|
||||
|
||||
|
@ -834,6 +834,7 @@ rotators/cnctrk/Makefile
|
|||
rotators/grbltrk/Makefile
|
||||
rotators/easycomm/Makefile
|
||||
rotators/ether6/Makefile
|
||||
rotators/flir/Makefile
|
||||
rotators/fodtrack/Makefile
|
||||
rotators/gs232a/Makefile
|
||||
rotators/heathkit/Makefile
|
||||
|
|
|
@ -648,6 +648,21 @@
|
|||
#define ROT_MODEL_GRBLTRK_SER ROT_MAKE_MODEL(ROT_GRBLTRK, 1)
|
||||
#define ROT_MODEL_GRBLTRK_NET ROT_MAKE_MODEL(ROT_GRBLTRK, 2)
|
||||
|
||||
/**
|
||||
* \brief A macro that returns the model number of the FLIR backend.
|
||||
*
|
||||
* \def ROT_MODEL_FLIR
|
||||
*
|
||||
* The FLIR backend can be used with FLIR and DirectedPercepition
|
||||
* rotators using the PTU protocol (e.g. PTU-D48). Currently only
|
||||
* the serial interaface is supported and no ethernet.
|
||||
*/
|
||||
//! @cond Doxygen_Suppress
|
||||
#define ROT_FLIR 25
|
||||
#define ROT_BACKEND_FLIR "flir"
|
||||
//! @endcond
|
||||
#define ROT_MODEL_FLIR ROT_MAKE_MODEL(ROT_FLIR, 1)
|
||||
|
||||
/**
|
||||
* \brief Convenience type definition for a rotator model.
|
||||
*
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
FLIRSRC = flir.c flir.h
|
||||
|
||||
noinst_LTLIBRARIES = libhamlib-flir.la
|
||||
libhamlib_flir_la_SOURCES = $(FLIRSRC)
|
||||
|
||||
EXTRA_DIST = README.md Android.mk
|
|
@ -0,0 +1 @@
|
|||
tbd
|
Plik diff jest za duży
Load Diff
|
@ -0,0 +1,42 @@
|
|||
/*
|
||||
* Hamlib Dummy backend - main header
|
||||
* Copyright (c) 2001-2008 by Stephane Fillod
|
||||
*
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef _ROT_FLIR_H
|
||||
#define _ROT_FLIR_H 1
|
||||
|
||||
#include "token.h"
|
||||
|
||||
/* backend conf */
|
||||
#define TOK_CFG_ROT_MAGICCONF TOKEN_BACKEND(1)
|
||||
#define TOK_CFG_ROT_STATIC_DATA TOKEN_BACKEND(2)
|
||||
|
||||
/* ext_level's and ext_parm's tokens */
|
||||
#define TOK_EL_ROT_MAGICLEVEL TOKEN_BACKEND(1)
|
||||
#define TOK_EL_ROT_MAGICFUNC TOKEN_BACKEND(2)
|
||||
#define TOK_EL_ROT_MAGICOP TOKEN_BACKEND(3)
|
||||
#define TOK_EP_ROT_MAGICPARM TOKEN_BACKEND(4)
|
||||
#define TOK_EL_ROT_MAGICCOMBO TOKEN_BACKEND(5)
|
||||
#define TOK_EL_ROT_MAGICEXTFUNC TOKEN_BACKEND(6)
|
||||
|
||||
extern struct rot_caps flir_caps;
|
||||
extern struct rot_caps netrotctl_caps;
|
||||
|
||||
#endif /* _ROT_FLIR_H */
|
|
@ -83,6 +83,7 @@ DEFINE_INITROT_BACKEND(meade);
|
|||
DEFINE_INITROT_BACKEND(ioptron);
|
||||
DEFINE_INITROT_BACKEND(satel);
|
||||
DEFINE_INITROT_BACKEND(radant);
|
||||
DEFINE_INITROT_BACKEND(flir);
|
||||
#if HAVE_LIBINDI
|
||||
DEFINE_INITROT_BACKEND(indi);
|
||||
#endif
|
||||
|
@ -131,6 +132,7 @@ static struct
|
|||
{ ROT_IOPTRON, ROT_BACKEND_IOPTRON, ROT_FUNCNAMA(ioptron) },
|
||||
{ ROT_SATEL, ROT_BACKEND_SATEL, ROT_FUNCNAMA(satel) },
|
||||
{ ROT_RADANT, ROT_BACKEND_RADANT, ROT_FUNCNAMA(radant)},
|
||||
{ ROT_FLIR, ROT_BACKEND_FLIR, ROT_FUNCNAMA(flir) },
|
||||
#if HAVE_LIBINDI
|
||||
{ ROT_INDI, ROT_BACKEND_INDI, ROT_FUNCNAMA(indi) },
|
||||
#endif
|
||||
|
|
Ładowanie…
Reference in New Issue