satdump/src-interface/recorder/tracking/rotator_handler.h
2023-07-25 21:33:51 +02:00

18 lines
No EOL
419 B
C++

#pragma once
class RotatorHandler
{
public:
enum rotator_status_t
{
ROT_ERROR_OK = 0, // No error
ROT_ERROR_CMD = 1, // Command error
ROT_ERROR_CON = 2, // Connection error
};
public:
virtual rotator_status_t get_pos(float *az, float *el) = 0;
virtual rotator_status_t set_pos(float az, float el) = 0;
virtual void render() = 0;
virtual bool is_connected() = 0;
};