1 #ifndef MITSUBISHICONTROLLER_HPP 2 #define MITSUBISHICONTROLLER_HPP 6 #include "AbstractController.hpp" 27 const std::string& respond_topic,
28 const std::string& robot_description =
"mitsubishi");
35 void parse_message(
const std::string& message)
override;
43 bool parse_startup_messages(
const std::string& message);
51 bool parse_run_messages(std::string& cmd);
56 bool comm_open =
false;
61 bool controller_on =
false;
66 bool servo_on =
false;
71 const uint8_t total_num_of_joints;
76 const uint8_t unused_joint_one;
81 const uint8_t unused_joint_two;
86 const std::string q_ok;
91 const std::string q_error;
96 const std::string q_error_busy;
MitsubishiController(const std::string &request_topic, const std::string &respond_topic, const std::string &robot_description="mitsubishi")
Constructor for MitsubishiController.
Implements the virtual functions of AbstractController. Used to parse the messages for the Mitsubishi...
Definition: MitsubishiController.hpp:17
Creates to ROS topics to listen to the incoming messages.
Definition: AbstractController.hpp:20