33 #ifndef ROBOT_STATE_INTERFACE_H 34 #define ROBOT_STATE_INTERFACE_H 47 namespace robot_state_interface
86 bool init(std::string default_ip =
"",
int default_port = StandardSocketPorts::STATE);
RobotStatusRelayHandler default_robot_status_handler_
bool init(std::string default_ip="", int default_port=StandardSocketPorts::STATE)
Initialize robot connection using default method.
SmplMsgConnection * get_connection()
get current robot-connection instance.
TcpClient default_tcp_connection_
Message handler that relays joint positions (converts simple message types to ROS message types and p...
Generic template that reads state-data from a robot controller and publishes matching messages to var...
SmplMsgConnection * connection_
RobotStateInterface()
Default constructor.
bool add(industrial::message_handler::MessageHandler *handler, bool allow_replace=false)
void add_handler(MessageHandler *handler, bool allow_replace=true)
Add a new handler.
std::vector< std::string > get_joint_names()
std::vector< std::string > joint_names_
MessageManager * get_manager()
get active message-manager object
JointRelayHandler default_joint_handler_
Message handler that relays joint positions (converts simple message types to ROS message types and p...
void run()
Begin processing messages and publishing topics.