#include <demonstrator_params.h>
Public Member Functions | |
DemonstratorParams () | |
Constructor. | |
std::vector< double > | getAccels () |
Sets the offsets. | |
int | getBaudRate () |
Gets the BaudRate. | |
unsigned 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 > | getMaxVel () |
Gets the max. angular velocities. | |
std::vector< double > | getOffsets () |
Sets the offsets. | |
std::string | getSerialDevice () |
Gets the name of the serial device. | |
std::vector< double > | getUpperLimits () |
Gets the upper angular limits (rad) for the joints. | |
std::vector< double > | getVels () |
Sets the offsets. | |
void | init (std::string SerialDevice, int BaudRate) |
Initilizing. | |
void | setAccels (std::vector< double > accels) |
Gets the fixed velocities. | |
void | setBaudRate (int BaudRate) |
Sets the BaudRate. | |
void | setDOF (int DOF) |
Sets the operation mode. | |
void | setJointNames (std::vector< std::string > JointNames) |
Sets the joint names. | |
void | setLowerLimits (std::vector< double > LowerLimits) |
Sets the lower angular limits (rad) for the joints. | |
void | setMaxVel (std::vector< double > MaxVel) |
Sets the max. angular velocities (rad/s) for the joints. | |
void | setOffsets (std::vector< double > Offsets) |
Gets the offsets. | |
void | setSerialDevice (std::string SerialDeviceName) |
Sets the name of serial device. | |
void | setUpperLimits (std::vector< double > UpperLimits) |
Sets the upper angular limits (rad) for the joints. | |
void | setVels (std::vector< double > velocities) |
Gets the fixed velocities. | |
~DemonstratorParams () | |
Destructor. | |
Private Attributes | |
std::vector< double > | accels_ |
int | baud_rate_ |
unsigned int | dof_ |
std::vector< std::string > | joint_names_ |
std::vector< double > | lower_limits_ |
std::vector< double > | max_vel_ |
std::vector< double > | offsets_ |
std::string | serial_device_name_ |
std::vector< double > | upper_limits_ |
std::vector< double > | vels_ |
Definition at line 4 of file demonstrator_params.h.
DemonstratorParams::DemonstratorParams | ( | ) | [inline] |
Constructor.
Definition at line 8 of file demonstrator_params.h.
Destructor.
std::vector<double> DemonstratorParams::getAccels | ( | ) | [inline] |
Sets the offsets.
Definition at line 120 of file demonstrator_params.h.
int DemonstratorParams::getBaudRate | ( | ) | [inline] |
Gets the BaudRate.
Definition at line 37 of file demonstrator_params.h.
unsigned int DemonstratorParams::getDOF | ( | ) | [inline] |
Gets the DOF value.
Definition at line 56 of file demonstrator_params.h.
std::vector<std::string> DemonstratorParams::getJointNames | ( | ) | [inline] |
Gets the joint names.
Definition at line 65 of file demonstrator_params.h.
std::vector<double> DemonstratorParams::getLowerLimits | ( | ) | [inline] |
Gets the lower angular limits (rad) for the joints.
Definition at line 83 of file demonstrator_params.h.
std::vector<double> DemonstratorParams::getMaxVel | ( | ) | [inline] |
Gets the max. angular velocities.
Definition at line 92 of file demonstrator_params.h.
std::vector<double> DemonstratorParams::getOffsets | ( | ) | [inline] |
Sets the offsets.
Definition at line 102 of file demonstrator_params.h.
std::string DemonstratorParams::getSerialDevice | ( | ) | [inline] |
Gets the name of the serial device.
Definition at line 28 of file demonstrator_params.h.
std::vector<double> DemonstratorParams::getUpperLimits | ( | ) | [inline] |
Gets the upper angular limits (rad) for the joints.
Definition at line 74 of file demonstrator_params.h.
std::vector<double> DemonstratorParams::getVels | ( | ) | [inline] |
Sets the offsets.
Definition at line 111 of file demonstrator_params.h.
void DemonstratorParams::init | ( | std::string | SerialDevice, |
int | BaudRate | ||
) | [inline] |
Initilizing.
Definition at line 17 of file demonstrator_params.h.
void DemonstratorParams::setAccels | ( | std::vector< double > | accels | ) | [inline] |
Gets the fixed velocities.
Definition at line 116 of file demonstrator_params.h.
void DemonstratorParams::setBaudRate | ( | int | BaudRate | ) | [inline] |
Sets the BaudRate.
Definition at line 33 of file demonstrator_params.h.
void DemonstratorParams::setDOF | ( | int | DOF | ) | [inline] |
void DemonstratorParams::setJointNames | ( | std::vector< std::string > | JointNames | ) | [inline] |
Sets the joint names.
Definition at line 61 of file demonstrator_params.h.
void DemonstratorParams::setLowerLimits | ( | std::vector< double > | LowerLimits | ) | [inline] |
Sets the lower angular limits (rad) for the joints.
Definition at line 79 of file demonstrator_params.h.
void DemonstratorParams::setMaxVel | ( | std::vector< double > | MaxVel | ) | [inline] |
Sets the max. angular velocities (rad/s) for the joints.
Definition at line 88 of file demonstrator_params.h.
void DemonstratorParams::setOffsets | ( | std::vector< double > | Offsets | ) | [inline] |
Gets the offsets.
Definition at line 98 of file demonstrator_params.h.
void DemonstratorParams::setSerialDevice | ( | std::string | SerialDeviceName | ) | [inline] |
Sets the name of serial device.
Definition at line 24 of file demonstrator_params.h.
void DemonstratorParams::setUpperLimits | ( | std::vector< double > | UpperLimits | ) | [inline] |
Sets the upper angular limits (rad) for the joints.
Definition at line 70 of file demonstrator_params.h.
void DemonstratorParams::setVels | ( | std::vector< double > | velocities | ) | [inline] |
Gets the fixed velocities.
Definition at line 107 of file demonstrator_params.h.
std::vector<double> DemonstratorParams::accels_ [private] |
Definition at line 135 of file demonstrator_params.h.
int DemonstratorParams::baud_rate_ [private] |
Definition at line 126 of file demonstrator_params.h.
unsigned int DemonstratorParams::dof_ [private] |
Definition at line 129 of file demonstrator_params.h.
std::vector<std::string> DemonstratorParams::joint_names_ [private] |
Definition at line 130 of file demonstrator_params.h.
std::vector<double> DemonstratorParams::lower_limits_ [private] |
Definition at line 132 of file demonstrator_params.h.
std::vector<double> DemonstratorParams::max_vel_ [private] |
Definition at line 133 of file demonstrator_params.h.
std::vector<double> DemonstratorParams::offsets_ [private] |
Definition at line 136 of file demonstrator_params.h.
std::string DemonstratorParams::serial_device_name_ [private] |
Definition at line 125 of file demonstrator_params.h.
std::vector<double> DemonstratorParams::upper_limits_ [private] |
Definition at line 131 of file demonstrator_params.h.
std::vector<double> DemonstratorParams::vels_ [private] |
Definition at line 134 of file demonstrator_params.h.