Public Member Functions | Public Attributes | Private Member Functions | Private Attributes
AuboRealtimeCommunication Class Reference

#include <aubo_realtime_communication.h>

List of all members.

Public Member Functions

void addCommandToQueue (std::string inp)
 AuboRealtimeCommunication (std::condition_variable &msg_cond, std::string host)
std::string getLocalIp ()
void getRobotEndSpeed ()
void getRobotJointStatus ()
void getRobotPosition ()
void getRobotSystemStatus ()
void halt ()
void setMessagePush (bool flag)
void setSpeed (double q0, double q1, double q2, double q3, double q4, double q5, double acc)
bool start ()

Public Attributes

bool connected_
RobotStaterobot_state_

Private Member Functions

void run ()

Private Attributes

std::string command_
std::recursive_mutex command_string_lock_
std::thread comThread_
int flag_
bool keepalive_
std::string local_ip_
struct sockaddr_in serv_addr_
struct hostent * server_
int sockfd_

Detailed Description

Definition at line 27 of file aubo_realtime_communication.h.


Constructor & Destructor Documentation

AuboRealtimeCommunication::AuboRealtimeCommunication ( std::condition_variable &  msg_cond,
std::string  host 
)

Definition at line 4 of file aubo_realtime_communication.cpp.


Member Function Documentation

Definition at line 70 of file aubo_realtime_communication.cpp.

Definition at line 221 of file aubo_realtime_communication.cpp.

Definition at line 122 of file aubo_realtime_communication.cpp.

Definition at line 110 of file aubo_realtime_communication.cpp.

Definition at line 104 of file aubo_realtime_communication.cpp.

Definition at line 116 of file aubo_realtime_communication.cpp.

Definition at line 65 of file aubo_realtime_communication.cpp.

void AuboRealtimeCommunication::run ( ) [private]

Definition at line 129 of file aubo_realtime_communication.cpp.

Definition at line 97 of file aubo_realtime_communication.cpp.

void AuboRealtimeCommunication::setSpeed ( double  q0,
double  q1,
double  q2,
double  q3,
double  q4,
double  q5,
double  acc 
)

Definition at line 84 of file aubo_realtime_communication.cpp.

Definition at line 29 of file aubo_realtime_communication.cpp.


Member Data Documentation

std::string AuboRealtimeCommunication::command_ [private]

Definition at line 37 of file aubo_realtime_communication.h.

std::recursive_mutex AuboRealtimeCommunication::command_string_lock_ [private]

Definition at line 36 of file aubo_realtime_communication.h.

Definition at line 34 of file aubo_realtime_communication.h.

Definition at line 42 of file aubo_realtime_communication.h.

Definition at line 35 of file aubo_realtime_communication.h.

Definition at line 33 of file aubo_realtime_communication.h.

std::string AuboRealtimeCommunication::local_ip_ [private]

Definition at line 32 of file aubo_realtime_communication.h.

Definition at line 43 of file aubo_realtime_communication.h.

struct sockaddr_in AuboRealtimeCommunication::serv_addr_ [private]

Definition at line 30 of file aubo_realtime_communication.h.

struct hostent* AuboRealtimeCommunication::server_ [private]

Definition at line 31 of file aubo_realtime_communication.h.

Definition at line 29 of file aubo_realtime_communication.h.


The documentation for this class was generated from the following files:


aubo_new_driver
Author(s): liuxin
autogenerated on Sat Jun 8 2019 19:06:02