Go to the documentation of this file.
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);
std::vector< std::string > get_joint_names()
TcpClient default_tcp_connection_
RobotStatusRelayHandler default_robot_status_handler_
bool add(industrial::message_handler::MessageHandler *handler, bool allow_replace=false)
void add_handler(MessageHandler *handler, bool allow_replace=true)
Add a new handler.
MessageManager * get_manager()
get active message-manager object
RobotStateInterface()
Default constructor.
bool init(std::string default_ip="", int default_port=StandardSocketPorts::STATE)
Initialize robot connection using default method.
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...
std::vector< std::string > joint_names_
JointRelayHandler default_joint_handler_
Message handler that relays joint positions (converts simple message types to ROS message types and p...
SmplMsgConnection * connection_
void run()
Begin processing messages and publishing topics.
SmplMsgConnection * get_connection()
get current robot-connection instance.