#include <khi_robot_client.h>
Public Member Functions | |
| bool | activate (KhiRobotData &data) |
| void | close () |
| void | deactivate (const KhiRobotData &data) |
| bool | getPeriodDiff (double &diff) |
| int | getStateTrigger () |
| bool | hold (const KhiRobotData &data) |
| KhiRobotClient () | |
| bool | open (const std::string &ip, const double &period, KhiRobotData &data, const bool in_simulation=false) |
| void | read (KhiRobotData &data) |
| void | startCommandService () |
| int | updateState (const KhiRobotData &data) |
| void | write (const KhiRobotData &data) |
| ~KhiRobotClient () | |
Private Attributes | |
| int | cont_no |
| KhiRobotDriver * | driver |
Definition at line 45 of file khi_robot_client.h.
|
inline |
Definition at line 48 of file khi_robot_client.h.
|
inline |
Definition at line 49 of file khi_robot_client.h.
| bool khi_robot_control::KhiRobotClient::activate | ( | KhiRobotData & | data | ) |
Definition at line 71 of file khi_robot_client.cpp.
| void khi_robot_control::KhiRobotClient::close | ( | ) |
Definition at line 92 of file khi_robot_client.cpp.
| void khi_robot_control::KhiRobotClient::deactivate | ( | const KhiRobotData & | data | ) |
Definition at line 85 of file khi_robot_client.cpp.
| bool khi_robot_control::KhiRobotClient::getPeriodDiff | ( | double & | diff | ) |
Definition at line 128 of file khi_robot_client.cpp.
| int khi_robot_control::KhiRobotClient::getStateTrigger | ( | ) |
Definition at line 121 of file khi_robot_client.cpp.
| bool khi_robot_control::KhiRobotClient::hold | ( | const KhiRobotData & | data | ) |
Definition at line 78 of file khi_robot_client.cpp.
| bool khi_robot_control::KhiRobotClient::open | ( | const std::string & | ip, |
| const double & | period, | ||
| KhiRobotData & | data, | ||
| const bool | in_simulation = false |
||
| ) |
Definition at line 55 of file khi_robot_client.cpp.
| void khi_robot_control::KhiRobotClient::read | ( | KhiRobotData & | data | ) |
Definition at line 107 of file khi_robot_client.cpp.
| void khi_robot_control::KhiRobotClient::startCommandService | ( | ) |
Definition at line 135 of file khi_robot_client.cpp.
| int khi_robot_control::KhiRobotClient::updateState | ( | const KhiRobotData & | data | ) |
Definition at line 114 of file khi_robot_client.cpp.
| void khi_robot_control::KhiRobotClient::write | ( | const KhiRobotData & | data | ) |
Definition at line 100 of file khi_robot_client.cpp.
|
private |
Definition at line 66 of file khi_robot_client.h.
|
private |
Definition at line 67 of file khi_robot_client.h.