ifw-fcf  5.0.0
Classes | Namespaces | Variables
motorBaseConfig.hpp File Reference

MotorConfig class header file. More...

#include <string>
#include <unordered_map>
#include <yaml-cpp/yaml.h>
#include <utils/bat/logger.hpp>
#include <fcf/devmgr/devices/motorRpcErrors.hpp>
#include <fcf/devmgr/common/deviceConfig.hpp>
#include <fcf/devmgr/common/dataContext.hpp>

Go to the source code of this file.

Classes

class  fcf::devmgr::motor::MotorBaseConfig
 Motor Base Configuration class. More...
 

Namespaces

 fcf
 
 fcf::devmgr
 
 fcf::devmgr::motor
 

Variables

constexpr auto fcf::devmgr::motor::CI_DEF_VEL = "velocity"
 
constexpr auto fcf::devmgr::motor::CI_MAX_POS = "max_pos"
 
constexpr auto fcf::devmgr::motor::CI_MIN_POS = "min_pos"
 
constexpr auto fcf::devmgr::motor::CI_TIMEOUT_INIT = "tout_init"
 
constexpr auto fcf::devmgr::motor::CI_TIMEOUT_MOVE = "tout_move"
 
constexpr auto fcf::devmgr::motor::CI_TIMEOUT_SWITCH = "tout_switch"
 
constexpr auto fcf::devmgr::motor::CI_POSITIONS = "positions"
 
constexpr auto fcf::devmgr::motor::CI_POS_NAME = "name"
 
constexpr auto fcf::devmgr::motor::CI_POS_VALUE = "value"
 
constexpr auto fcf::devmgr::motor::CI_NAME_POS_TOLERANCE = "tolerance"
 
constexpr auto fcf::devmgr::motor::CI_SCALE_FACTOR = "scale_factor"
 
constexpr auto fcf::devmgr::motor::RPC_MOVE_ABS = "rpcMoveAbs"
 
constexpr auto fcf::devmgr::motor::RPC_MOVE_REL = "rpcMoveRel"
 
constexpr auto fcf::devmgr::motor::RPC_MOVE_VEL = "rpcMoveVel"
 
constexpr int fcf::devmgr::motor::SUBSTATE_ABORTING = 107
 
constexpr int fcf::devmgr::motor::SUBSTATE_OP_STANDSTILL = 216
 
constexpr int fcf::devmgr::motor::SUBSTATE_OP_MOVING = 217
 
constexpr int fcf::devmgr::motor::SUBSTATE_OP_SETTING_POS = 218
 
constexpr int fcf::devmgr::motor::SUBSTATE_OP_STOPPING = 219
 
constexpr auto fcf::devmgr::motor::SUBSTATE_READY_STR = "Ready"
 
constexpr auto fcf::devmgr::motor::SUBSTATE_ABORTING_STR = "Aborting"
 
constexpr auto fcf::devmgr::motor::SUBSTATE_OP_STANDSTILL_STR = "Standstill"
 
constexpr auto fcf::devmgr::motor::SUBSTATE_OP_MOVING_STR = "Moving"
 
constexpr auto fcf::devmgr::motor::SUBSTATE_OP_SETTING_POS_STR = "SettingPos"
 
constexpr auto fcf::devmgr::motor::SUBSTATE_OP_STOPPING_STR = "Stopping"
 
const std::unordered_map< short, std::string > fcf::devmgr::motor::SubstateMap
 
constexpr auto fcf::devmgr::motor::CI_STAT_ENC_POS = "pos_enc"
 
constexpr auto fcf::devmgr::motor::CI_STAT_TARGET_ENC = "target_enc"
 
constexpr auto fcf::devmgr::motor::CI_STAT_TARGET_POSNAME = "pos_target_name"
 
constexpr auto fcf::devmgr::motor::CI_STAT_ACTUAL_POSNAME = "pos_actual_name"
 
constexpr auto fcf::devmgr::motor::CI_STAT_TARGET_POS = "pos_target"
 
constexpr auto fcf::devmgr::motor::CI_STAT_ACTUAL_POS = "pos_actual"
 
constexpr auto fcf::devmgr::motor::CI_STAT_POS_ERROR = "pos_error"
 
constexpr auto fcf::devmgr::motor::CI_STAT_ACTUAL_VEL = "vel_actual"
 
constexpr auto fcf::devmgr::motor::CI_STAT_TARGET_VEL = "vel_target"
 
constexpr auto fcf::devmgr::motor::CI_STAT_INITIALISED = "initialised"
 
constexpr auto fcf::devmgr::motor::CI_STAT_USER_UNIT = "user_unit"
 
constexpr auto fcf::devmgr::motor::FITS_PARAM_POSNAME = "POSNAME"
 
constexpr auto fcf::devmgr::motor::FITS_PARAM_POS = "POS"
 
constexpr auto fcf::devmgr::motor::UndefinedNamedPos = "undefined"
 

Detailed Description

MotorConfig class header file.

Author
mkiekebu