#include <ElmoCtrl.h>
Public Member Functions | |
ElmoCtrlParams () | |
double | GetAngleOffset () |
int | GetBaudRate () |
std::string | GetCanDevice () |
std::string | GetCanIniFile () |
int | GetEncoderIncrements () |
double | GetGearRatio () |
int | GetHomingDigIn () |
int | GetHomingDir () |
double | GetLowerLimit () |
double | GetMaxVel () |
int | GetModuleID () |
int | GetMotorDirection () |
double | GetUpperLimit () |
int | Init (std::string CanDevice, int BaudRate, int ModuleID) |
void | SetAngleOffset (double AngleOffset) |
void | SetBaudRate (int BaudRate) |
void | SetCanDevice (std::string CanDevice) |
void | SetCanIniFile (std::string iniFile) |
void | SetEncoderIncrements (int enc_incr) |
void | SetGearRatio (double gear_ratio) |
void | SetHomingDigIn (int dig_in) |
void | SetHomingDir (int dir) |
void | SetLowerLimit (double LowerLimit) |
void | SetMaxVel (double maxVel) |
void | SetModuleID (int id) |
void | SetMotorDirection (int motor_dir) |
void | SetUpperLimit (double UpperLimit) |
Private Attributes | |
int | m_BaudRate |
std::string | m_CanDevice |
std::string | m_CanIniFile |
int | m_EncIncrPerRevMot |
double | m_GearRatio |
int | m_HomingDigIn |
int | m_HomingDir |
double | m_LowerLimit |
double | m_MaxVel |
int | m_ModuleID |
int | m_MotorDirection |
double | m_Offset |
double | m_UpperLimit |
Definition at line 86 of file ElmoCtrl.h.
ElmoCtrlParams::ElmoCtrlParams | ( | ) | [inline] |
Definition at line 90 of file ElmoCtrl.h.
double ElmoCtrlParams::GetAngleOffset | ( | ) | [inline] |
Definition at line 118 of file ElmoCtrl.h.
int ElmoCtrlParams::GetBaudRate | ( | ) | [inline] |
Definition at line 106 of file ElmoCtrl.h.
std::string ElmoCtrlParams::GetCanDevice | ( | ) | [inline] |
Definition at line 102 of file ElmoCtrl.h.
std::string ElmoCtrlParams::GetCanIniFile | ( | ) | [inline] |
Definition at line 134 of file ElmoCtrl.h.
int ElmoCtrlParams::GetEncoderIncrements | ( | ) | [inline] |
Definition at line 138 of file ElmoCtrl.h.
double ElmoCtrlParams::GetGearRatio | ( | ) | [inline] |
Definition at line 142 of file ElmoCtrl.h.
int ElmoCtrlParams::GetHomingDigIn | ( | ) | [inline] |
Definition at line 130 of file ElmoCtrl.h.
int ElmoCtrlParams::GetHomingDir | ( | ) | [inline] |
Definition at line 126 of file ElmoCtrl.h.
double ElmoCtrlParams::GetLowerLimit | ( | ) | [inline] |
Definition at line 117 of file ElmoCtrl.h.
double ElmoCtrlParams::GetMaxVel | ( | ) | [inline] |
Definition at line 122 of file ElmoCtrl.h.
int ElmoCtrlParams::GetModuleID | ( | ) | [inline] |
Definition at line 109 of file ElmoCtrl.h.
int ElmoCtrlParams::GetMotorDirection | ( | ) | [inline] |
Definition at line 149 of file ElmoCtrl.h.
double ElmoCtrlParams::GetUpperLimit | ( | ) | [inline] |
Definition at line 116 of file ElmoCtrl.h.
int ElmoCtrlParams::Init | ( | std::string | CanDevice, |
int | BaudRate, | ||
int | ModuleID | ||
) | [inline] |
Definition at line 92 of file ElmoCtrl.h.
void ElmoCtrlParams::SetAngleOffset | ( | double | AngleOffset | ) | [inline] |
Definition at line 115 of file ElmoCtrl.h.
void ElmoCtrlParams::SetBaudRate | ( | int | BaudRate | ) | [inline] |
Definition at line 105 of file ElmoCtrl.h.
void ElmoCtrlParams::SetCanDevice | ( | std::string | CanDevice | ) | [inline] |
Definition at line 101 of file ElmoCtrl.h.
void ElmoCtrlParams::SetCanIniFile | ( | std::string | iniFile | ) | [inline] |
Definition at line 133 of file ElmoCtrl.h.
void ElmoCtrlParams::SetEncoderIncrements | ( | int | enc_incr | ) | [inline] |
Definition at line 137 of file ElmoCtrl.h.
void ElmoCtrlParams::SetGearRatio | ( | double | gear_ratio | ) | [inline] |
Definition at line 141 of file ElmoCtrl.h.
void ElmoCtrlParams::SetHomingDigIn | ( | int | dig_in | ) | [inline] |
Definition at line 129 of file ElmoCtrl.h.
void ElmoCtrlParams::SetHomingDir | ( | int | dir | ) | [inline] |
Definition at line 125 of file ElmoCtrl.h.
void ElmoCtrlParams::SetLowerLimit | ( | double | LowerLimit | ) | [inline] |
Definition at line 114 of file ElmoCtrl.h.
void ElmoCtrlParams::SetMaxVel | ( | double | maxVel | ) | [inline] |
Definition at line 121 of file ElmoCtrl.h.
void ElmoCtrlParams::SetModuleID | ( | int | id | ) | [inline] |
Definition at line 110 of file ElmoCtrl.h.
void ElmoCtrlParams::SetMotorDirection | ( | int | motor_dir | ) | [inline] |
Definition at line 145 of file ElmoCtrl.h.
void ElmoCtrlParams::SetUpperLimit | ( | double | UpperLimit | ) | [inline] |
Definition at line 113 of file ElmoCtrl.h.
int ElmoCtrlParams::m_BaudRate [private] |
Definition at line 157 of file ElmoCtrl.h.
std::string ElmoCtrlParams::m_CanDevice [private] |
Definition at line 156 of file ElmoCtrl.h.
std::string ElmoCtrlParams::m_CanIniFile [private] |
Definition at line 167 of file ElmoCtrl.h.
int ElmoCtrlParams::m_EncIncrPerRevMot [private] |
Definition at line 160 of file ElmoCtrl.h.
double ElmoCtrlParams::m_GearRatio [private] |
Definition at line 162 of file ElmoCtrl.h.
int ElmoCtrlParams::m_HomingDigIn [private] |
Definition at line 159 of file ElmoCtrl.h.
int ElmoCtrlParams::m_HomingDir [private] |
Definition at line 158 of file ElmoCtrl.h.
double ElmoCtrlParams::m_LowerLimit [private] |
Definition at line 165 of file ElmoCtrl.h.
double ElmoCtrlParams::m_MaxVel [private] |
Definition at line 166 of file ElmoCtrl.h.
int ElmoCtrlParams::m_ModuleID [private] |
Definition at line 155 of file ElmoCtrl.h.
int ElmoCtrlParams::m_MotorDirection [private] |
Definition at line 161 of file ElmoCtrl.h.
double ElmoCtrlParams::m_Offset [private] |
Definition at line 163 of file ElmoCtrl.h.
double ElmoCtrlParams::m_UpperLimit [private] |
Definition at line 164 of file ElmoCtrl.h.