#include <hamlib/rig.h>
#include <hamlib/rotlist.h>
Go to the source code of this file.
Data Structures | |
struct | rot_caps |
Rotator data structure. More... | |
struct | rot_state |
Live data and customized fields. More... | |
struct | rot |
This is the master data structure, acting as a handle for the controlled rotator. More... | |
Defines | |
#define | _ROTATOR_H 1 |
#define | NETROTCTL_RET "RPRT " |
Token in the netrotctl protocol for returning error code. | |
#define | ROT_RESET_ALL 1 |
A macro that returns the flag for the reset operation. | |
#define | ROT_TYPE_MASK (ROT_FLAG_AZIMUTH|ROT_FLAG_ELEVATION) |
#define | ROT_TYPE_OTHER 0 |
#define | ROT_TYPE_AZIMUTH ROT_FLAG_AZIMUTH |
#define | ROT_TYPE_ELEVATION ROT_FLAG_ELEVATION |
#define | ROT_TYPE_AZEL (ROT_FLAG_AZIMUTH|ROT_FLAG_ELEVATION) |
#define | ROT_MOVE_UP (1<<1) |
A macro that returns the flag for the UP direction. | |
#define | ROT_MOVE_DOWN (1<<2) |
A macro that returns the flag for the DOWN direction. | |
#define | ROT_MOVE_LEFT (1<<3) |
A macro that returns the flag for the LEFT direction. | |
#define | ROT_MOVE_CCW ROT_MOVE_LEFT |
A macro that returns the flag for the counterclockwise direction. | |
#define | ROT_MOVE_RIGHT (1<<4) |
A macro that returns the flag for the RIGHT direction. | |
#define | ROT_MOVE_CW ROT_MOVE_RIGHT |
A macro that returns the flag for the clockwise direction. | |
#define | rot_debug rig_debug |
Convenience definition for debug level. | |
Typedefs | |
typedef struct rot | ROT |
Rotator structure definition (see rot for details). | |
typedef float | elevation_t |
Type definition for elevation. | |
typedef float | azimuth_t |
Type definition for azimuth. | |
typedef int | rot_reset_t |
Type definition for rotator reset. | |
Enumerations | |
enum | rot_type_t { ROT_FLAG_AZIMUTH = (1<<1), ROT_FLAG_ELEVATION = (1<<2) } |
Rotator type flags. More... | |
Functions | |
ROT * | rot_init () |
int | rot_open () |
int | rot_close () |
int | rot_cleanup () |
int | rot_set_conf () |
int | rot_get_conf () |
int | rot_set_position () |
int | rot_get_position () |
int | rot_stop () |
int | rot_park () |
int | rot_reset () |
int | rot_move () |
const char * | rot_get_info () |
int | rot_register () |
int | rot_unregister () |
int | rot_list_foreach () |
int | rot_load_backend () |
int | rot_check_backend () |
int | rot_load_all_backends () |
rot_model_t | rot_probe_all () |
int | rot_token_foreach () |
struct confparams * | rot_confparam_lookup () |
token_t | rot_token_lookup () |
struct rot_caps * | rot_get_caps () |
int | qrb () |
double | distance_long_path () |
double | azimuth_long_path () |
int | longlat2locator () |
int | locator2longlat () |
double | dms2dec () |
int | dec2dms () |
int | dec2dmmm () |
double | dmmm2dec () |
This file contains the data structures and definitions for the Hamlib rotator API. see the rotator.c file for more details on the rotator API.
Hamlib documentation for version 1.2.15.3 -- Mon Jun 9 16:01:23 2014
Project page: http://www.hamlib.org