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 68 of file PowerCubeCtrlParams.h.
PowerCubeCtrlParams::PowerCubeCtrlParams | ( | ) | [inline] |
Constructor.
Definition at line 74 of file PowerCubeCtrlParams.h.
Destructor.
int PowerCubeCtrlParams::GetBaudrate | ( | ) | [inline] |
Gets the Baudrate.
Definition at line 152 of file PowerCubeCtrlParams.h.
std::string PowerCubeCtrlParams::GetCanDevice | ( | ) | [inline] |
Gets the CAN Device.
Definition at line 140 of file PowerCubeCtrlParams.h.
std::string PowerCubeCtrlParams::GetCanModule | ( | ) | [inline] |
Gets the CAN Module.
Definition at line 128 of file PowerCubeCtrlParams.h.
int PowerCubeCtrlParams::GetDOF | ( | ) | [inline] |
Gets the DOF value.
Definition at line 104 of file PowerCubeCtrlParams.h.
std::vector<std::string> PowerCubeCtrlParams::GetJointNames | ( | ) | [inline] |
Gets the joint names.
Definition at line 185 of file PowerCubeCtrlParams.h.
std::vector<double> PowerCubeCtrlParams::GetLowerLimits | ( | ) | [inline] |
Gets the lower angular limits (rad) for the joints.
Definition at line 269 of file PowerCubeCtrlParams.h.
std::vector<double> PowerCubeCtrlParams::GetMaxAcc | ( | ) | [inline] |
Gets the max. angular accelerations (rad/s^2) for the joints.
Definition at line 281 of file PowerCubeCtrlParams.h.
std::vector<double> PowerCubeCtrlParams::GetMaxVel | ( | ) | [inline] |
Gets the max. angular velocities (rad/s) for the joints.
Definition at line 287 of file PowerCubeCtrlParams.h.
int PowerCubeCtrlParams::GetModuleID | ( | int | no | ) | [inline] |
Gets the ModuleID.
Definition at line 164 of file PowerCubeCtrlParams.h.
std::vector<int> PowerCubeCtrlParams::GetModuleIDs | ( | ) | [inline] |
Gets the Module IDs.
Definition at line 158 of file PowerCubeCtrlParams.h.
std::vector<double> PowerCubeCtrlParams::GetOffsets | ( | ) | [inline] |
Gets the offset angulars (rad) for the joints.
Definition at line 275 of file PowerCubeCtrlParams.h.
std::vector<double> PowerCubeCtrlParams::GetUpperLimits | ( | ) | [inline] |
Gets the upper angular limits (rad) for the joints.
Definition at line 263 of file PowerCubeCtrlParams.h.
int PowerCubeCtrlParams::GetUseMoveVel | ( | ) | [inline] |
Gets UseMoveVel.
Definition at line 116 of file PowerCubeCtrlParams.h.
int PowerCubeCtrlParams::Init | ( | std::string | CanModule, |
std::string | CanDevice, | ||
int | Baudrate, | ||
std::vector< int > | ModuleIDs | ||
) | [inline] |
Initializing.
Definition at line 84 of file PowerCubeCtrlParams.h.
void PowerCubeCtrlParams::SetBaudrate | ( | int | Baudrate | ) | [inline] |
Sets the Baudrate.
Definition at line 146 of file PowerCubeCtrlParams.h.
void PowerCubeCtrlParams::SetCanDevice | ( | std::string | CanDevice | ) | [inline] |
Sets the CAN Device.
Definition at line 134 of file PowerCubeCtrlParams.h.
void PowerCubeCtrlParams::SetCanModule | ( | std::string | CanModule | ) | [inline] |
Sets the CAN Module.
Definition at line 122 of file PowerCubeCtrlParams.h.
void PowerCubeCtrlParams::SetDOF | ( | int | DOF | ) | [inline] |
Sets the DOF value.
Definition at line 98 of file PowerCubeCtrlParams.h.
int PowerCubeCtrlParams::SetJointNames | ( | std::vector< std::string > | JointNames | ) | [inline] |
Sets the joint names.
Definition at line 191 of file PowerCubeCtrlParams.h.
int PowerCubeCtrlParams::SetLowerLimits | ( | std::vector< double > | LowerLimits | ) | [inline] |
Sets the lower angular limits (rad) for the joints.
Definition at line 219 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 252 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 241 of file PowerCubeCtrlParams.h.
int PowerCubeCtrlParams::SetModuleID | ( | int | no, |
int | id | ||
) | [inline] |
Sets the Module IDs.
Definition at line 173 of file PowerCubeCtrlParams.h.
int PowerCubeCtrlParams::SetOffsets | ( | std::vector< double > | AngleOffsets | ) | [inline] |
Sets the offset angulars (rad) for the joints.
Definition at line 230 of file PowerCubeCtrlParams.h.
int PowerCubeCtrlParams::SetUpperLimits | ( | std::vector< double > | UpperLimits | ) | [inline] |
Sets the upper angular limits (rad) for the joints.
Definition at line 208 of file PowerCubeCtrlParams.h.
void PowerCubeCtrlParams::SetUseMoveVel | ( | bool | UseMoveVel | ) | [inline] |
Sets UseMoveVel.
Definition at line 110 of file PowerCubeCtrlParams.h.
int PowerCubeCtrlParams::m_Baudrate [private] |
Definition at line 298 of file PowerCubeCtrlParams.h.
std::string PowerCubeCtrlParams::m_CanDevice [private] |
Definition at line 297 of file PowerCubeCtrlParams.h.
std::string PowerCubeCtrlParams::m_CanModule [private] |
Definition at line 296 of file PowerCubeCtrlParams.h.
int PowerCubeCtrlParams::m_DOF [private] |
Definition at line 293 of file PowerCubeCtrlParams.h.
std::vector<std::string> PowerCubeCtrlParams::m_JointNames [private] |
Definition at line 295 of file PowerCubeCtrlParams.h.
std::vector<double> PowerCubeCtrlParams::m_LowerLimits [private] |
Definition at line 302 of file PowerCubeCtrlParams.h.
std::vector<double> PowerCubeCtrlParams::m_MaxAcc [private] |
Definition at line 304 of file PowerCubeCtrlParams.h.
std::vector<double> PowerCubeCtrlParams::m_MaxVel [private] |
Definition at line 303 of file PowerCubeCtrlParams.h.
std::vector<int> PowerCubeCtrlParams::m_ModulIDs [private] |
Definition at line 294 of file PowerCubeCtrlParams.h.
std::vector<double> PowerCubeCtrlParams::m_Offsets [private] |
Definition at line 300 of file PowerCubeCtrlParams.h.
std::vector<double> PowerCubeCtrlParams::m_UpperLimits [private] |
Definition at line 301 of file PowerCubeCtrlParams.h.
bool PowerCubeCtrlParams::m_UseMoveVel [private] |
Definition at line 299 of file PowerCubeCtrlParams.h.