Parameters for cob_powercube_chain. More...
#include <PowerCubeCtrlParams.h>
Public Member Functions | |
int | GetBaudrate () |
Gets the Baudrate. | |
std::string | GetCanDevice () |
Gets the CAN Device. | |
std::string | GetCanModule () |
Gets the CAN Module. | |
int | GetDOF () |
Gets the DOF value. | |
std::vector< std::string > | GetJointNames () |
Gets the joint names. | |
std::vector< double > | GetLowerLimits () |
Gets the lower angular limits (rad) for the joints. | |
std::vector< double > | GetMaxAcc () |
Gets the max. angular accelerations (rad/s^2) for the joints. | |
std::vector< double > | GetMaxVel () |
Gets the max. angular velocities (rad/s) for the joints. | |
int | GetModuleID (int no) |
Gets the ModuleID. | |
std::vector< int > | GetModuleIDs () |
Gets the Module IDs. | |
std::vector< double > | GetOffsets () |
Gets the offset angulars (rad) for the joints. | |
std::vector< double > | GetUpperLimits () |
Gets the upper angular limits (rad) for the joints. | |
int | GetUseMoveVel () |
Gets UseMoveVel. | |
int | Init (std::string CanModule, std::string CanDevice, int Baudrate, std::vector< int > ModuleIDs) |
Initializing. | |
PowerCubeCtrlParams () | |
Constructor. | |
void | SetBaudrate (int Baudrate) |
Sets the Baudrate. | |
void | SetCanDevice (std::string CanDevice) |
Sets the CAN Device. | |
void | SetCanModule (std::string CanModule) |
Sets the CAN Module. | |
void | SetDOF (int DOF) |
Sets the DOF value. | |
int | SetJointNames (std::vector< std::string > JointNames) |
Sets the joint names. | |
int | SetLowerLimits (std::vector< double > LowerLimits) |
Sets the lower angular limits (rad) for the joints. | |
int | SetMaxAcc (std::vector< double > MaxAcc) |
Sets the max. angular accelerations (rad/s^2) for the joints. | |
int | SetMaxVel (std::vector< double > MaxVel) |
Sets the max. angular velocities (rad/s) for the joints. | |
int | SetModuleID (int no, int id) |
Sets the Module IDs. | |
int | SetOffsets (std::vector< double > AngleOffsets) |
Sets the offset angulars (rad) for the joints. | |
int | SetUpperLimits (std::vector< double > UpperLimits) |
Sets the upper angular limits (rad) for the joints. | |
void | SetUseMoveVel (bool UseMoveVel) |
Sets UseMoveVel. | |
~PowerCubeCtrlParams () | |
Destructor. | |
Private Attributes | |
int | m_Baudrate |
std::string | m_CanDevice |
std::string | m_CanModule |
int | m_DOF |
std::vector< std::string > | m_JointNames |
std::vector< double > | m_LowerLimits |
std::vector< double > | m_MaxAcc |
std::vector< double > | m_MaxVel |
std::vector< int > | m_ModulIDs |
std::vector< double > | m_Offsets |
std::vector< double > | m_UpperLimits |
bool | m_UseMoveVel |
Parameters for cob_powercube_chain.
Initializing and setting parameters for cob_powercube_chain
Definition at line 26 of file PowerCubeCtrlParams.h.
PowerCubeCtrlParams::PowerCubeCtrlParams | ( | ) | [inline] |
Constructor.
Definition at line 30 of file PowerCubeCtrlParams.h.
Destructor.
int PowerCubeCtrlParams::GetBaudrate | ( | ) | [inline] |
Gets the Baudrate.
Definition at line 108 of file PowerCubeCtrlParams.h.
std::string PowerCubeCtrlParams::GetCanDevice | ( | ) | [inline] |
Gets the CAN Device.
Definition at line 96 of file PowerCubeCtrlParams.h.
std::string PowerCubeCtrlParams::GetCanModule | ( | ) | [inline] |
Gets the CAN Module.
Definition at line 84 of file PowerCubeCtrlParams.h.
int PowerCubeCtrlParams::GetDOF | ( | ) | [inline] |
Gets the DOF value.
Definition at line 60 of file PowerCubeCtrlParams.h.
std::vector<std::string> PowerCubeCtrlParams::GetJointNames | ( | ) | [inline] |
Gets the joint names.
Definition at line 141 of file PowerCubeCtrlParams.h.
std::vector<double> PowerCubeCtrlParams::GetLowerLimits | ( | ) | [inline] |
Gets the lower angular limits (rad) for the joints.
Definition at line 225 of file PowerCubeCtrlParams.h.
std::vector<double> PowerCubeCtrlParams::GetMaxAcc | ( | ) | [inline] |
Gets the max. angular accelerations (rad/s^2) for the joints.
Definition at line 237 of file PowerCubeCtrlParams.h.
std::vector<double> PowerCubeCtrlParams::GetMaxVel | ( | ) | [inline] |
Gets the max. angular velocities (rad/s) for the joints.
Definition at line 243 of file PowerCubeCtrlParams.h.
int PowerCubeCtrlParams::GetModuleID | ( | int | no | ) | [inline] |
Gets the ModuleID.
Definition at line 120 of file PowerCubeCtrlParams.h.
std::vector<int> PowerCubeCtrlParams::GetModuleIDs | ( | ) | [inline] |
Gets the Module IDs.
Definition at line 114 of file PowerCubeCtrlParams.h.
std::vector<double> PowerCubeCtrlParams::GetOffsets | ( | ) | [inline] |
Gets the offset angulars (rad) for the joints.
Definition at line 231 of file PowerCubeCtrlParams.h.
std::vector<double> PowerCubeCtrlParams::GetUpperLimits | ( | ) | [inline] |
Gets the upper angular limits (rad) for the joints.
Definition at line 219 of file PowerCubeCtrlParams.h.
int PowerCubeCtrlParams::GetUseMoveVel | ( | ) | [inline] |
Gets UseMoveVel.
Definition at line 72 of file PowerCubeCtrlParams.h.
int PowerCubeCtrlParams::Init | ( | std::string | CanModule, |
std::string | CanDevice, | ||
int | Baudrate, | ||
std::vector< int > | ModuleIDs | ||
) | [inline] |
Initializing.
Definition at line 40 of file PowerCubeCtrlParams.h.
void PowerCubeCtrlParams::SetBaudrate | ( | int | Baudrate | ) | [inline] |
Sets the Baudrate.
Definition at line 102 of file PowerCubeCtrlParams.h.
void PowerCubeCtrlParams::SetCanDevice | ( | std::string | CanDevice | ) | [inline] |
Sets the CAN Device.
Definition at line 90 of file PowerCubeCtrlParams.h.
void PowerCubeCtrlParams::SetCanModule | ( | std::string | CanModule | ) | [inline] |
Sets the CAN Module.
Definition at line 78 of file PowerCubeCtrlParams.h.
void PowerCubeCtrlParams::SetDOF | ( | int | DOF | ) | [inline] |
Sets the DOF value.
Definition at line 54 of file PowerCubeCtrlParams.h.
int PowerCubeCtrlParams::SetJointNames | ( | std::vector< std::string > | JointNames | ) | [inline] |
Sets the joint names.
Definition at line 147 of file PowerCubeCtrlParams.h.
int PowerCubeCtrlParams::SetLowerLimits | ( | std::vector< double > | LowerLimits | ) | [inline] |
Sets the lower angular limits (rad) for the joints.
Definition at line 175 of file PowerCubeCtrlParams.h.
int PowerCubeCtrlParams::SetMaxAcc | ( | std::vector< double > | MaxAcc | ) | [inline] |
Sets the max. angular accelerations (rad/s^2) for the joints.
Definition at line 208 of file PowerCubeCtrlParams.h.
int PowerCubeCtrlParams::SetMaxVel | ( | std::vector< double > | MaxVel | ) | [inline] |
Sets the max. angular velocities (rad/s) for the joints.
Definition at line 197 of file PowerCubeCtrlParams.h.
int PowerCubeCtrlParams::SetModuleID | ( | int | no, |
int | id | ||
) | [inline] |
Sets the Module IDs.
Definition at line 129 of file PowerCubeCtrlParams.h.
int PowerCubeCtrlParams::SetOffsets | ( | std::vector< double > | AngleOffsets | ) | [inline] |
Sets the offset angulars (rad) for the joints.
Definition at line 186 of file PowerCubeCtrlParams.h.
int PowerCubeCtrlParams::SetUpperLimits | ( | std::vector< double > | UpperLimits | ) | [inline] |
Sets the upper angular limits (rad) for the joints.
Definition at line 164 of file PowerCubeCtrlParams.h.
void PowerCubeCtrlParams::SetUseMoveVel | ( | bool | UseMoveVel | ) | [inline] |
Sets UseMoveVel.
Definition at line 66 of file PowerCubeCtrlParams.h.
int PowerCubeCtrlParams::m_Baudrate [private] |
Definition at line 254 of file PowerCubeCtrlParams.h.
std::string PowerCubeCtrlParams::m_CanDevice [private] |
Definition at line 253 of file PowerCubeCtrlParams.h.
std::string PowerCubeCtrlParams::m_CanModule [private] |
Definition at line 252 of file PowerCubeCtrlParams.h.
int PowerCubeCtrlParams::m_DOF [private] |
Definition at line 249 of file PowerCubeCtrlParams.h.
std::vector<std::string> PowerCubeCtrlParams::m_JointNames [private] |
Definition at line 251 of file PowerCubeCtrlParams.h.
std::vector<double> PowerCubeCtrlParams::m_LowerLimits [private] |
Definition at line 258 of file PowerCubeCtrlParams.h.
std::vector<double> PowerCubeCtrlParams::m_MaxAcc [private] |
Definition at line 260 of file PowerCubeCtrlParams.h.
std::vector<double> PowerCubeCtrlParams::m_MaxVel [private] |
Definition at line 259 of file PowerCubeCtrlParams.h.
std::vector<int> PowerCubeCtrlParams::m_ModulIDs [private] |
Definition at line 250 of file PowerCubeCtrlParams.h.
std::vector<double> PowerCubeCtrlParams::m_Offsets [private] |
Definition at line 256 of file PowerCubeCtrlParams.h.
std::vector<double> PowerCubeCtrlParams::m_UpperLimits [private] |
Definition at line 257 of file PowerCubeCtrlParams.h.
bool PowerCubeCtrlParams::m_UseMoveVel [private] |
Definition at line 255 of file PowerCubeCtrlParams.h.