Select Git revision
solo_get_solar_angles.pro
SRTMinorServoContainers.h 34.99 KiB
#ifndef __SRTMINORSERVOCONTAINERS_H__
#define __SRTMINORSERVOCONTAINERS_H__
/**
* SRTMinorServoContainers.h
* Giuseppe Carboni (giuseppe.carboni@inaf.it)
*/
#include <map>
#include <vector>
#include <mutex>
#include <shared_mutex>
#include <IRA>
#include <boost/bimap.hpp>
#include <boost/assign.hpp>
#include <SRTMinorServoCommonS.h>
#include "SRTMinorServoUtils.h"
namespace MinorServo
{
/**
* Object used to store some info regarding a scan.
*/
struct SRTMinorServoScan
{
/**
* Name of the servo involved in the scan.
*/
std::string servo_name = "";
/**
* Name of the axis involved in the scan.
*/
std::string axis_name = "";
/**
* Index of the axis involved in the scan.
*/
size_t axis_index = 0;
/**
* Range of the scan.
*/
double scan_range = 0;
/**
* Starting time of the scan.
*/
ACS::Time start_time = 0;
/**
* Closing time of the scan.
*/
ACS::Time close_time = 0;
/**
* Duration of the scan.
*/
ACS::TimeInterval scan_duration = 0;
/**
* Central position of the scan axis.
*/
double central_position = 0;
/**
* Starting elevation for the scan.
*/
double starting_elevation = 0;