23 #ifndef thormang3_offset_tuner_client_QNODE_HPP_ 24 #define thormang3_offset_tuner_client_QNODE_HPP_ 33 #include <QStringListModel> 37 #include <std_msgs/String.h> 38 #include <yaml-cpp/yaml.h> 40 #include "thormang3_offset_tuner_msgs/JointOffsetData.h" 41 #include "thormang3_offset_tuner_msgs/JointOffsetPositionData.h" 42 #include "thormang3_offset_tuner_msgs/JointTorqueOnOff.h" 43 #include "thormang3_offset_tuner_msgs/JointTorqueOnOffArray.h" 44 #include "thormang3_offset_tuner_msgs/GetPresentJointOffsetData.h" 71 QNode(
int argc,
char** argv);
74 bool init(
const std::string &master_url,
const std::string &host_url);
81 void log(
const LogLevel &level,
const std::string &msg);
void getPresentJointOffsetData()
void send_command_msg(std_msgs::String msg)
QNode(int argc, char **argv)
void log(const LogLevel &level, const std::string &msg)
QStringListModel logging_model_
std::map< int, std::string > right_arm_offset_group
void ParseOffsetGroup(const std::string &path)
std::map< int, std::string > body_offset_group
std::map< int, std::string > left_arm_offset_group
void send_torque_enable_msg(thormang3_offset_tuner_msgs::JointTorqueOnOffArray msg)
ros::ServiceClient get_present_joint_offset_data_client_
QStringListModel * loggingModel()
ros::Publisher torque_enable_pub_
void send_joint_offset_data_msg(thormang3_offset_tuner_msgs::JointOffsetData msg)
std::map< int, std::string > legs_offset_group
ros::Publisher joint_offset_data_pub_
ros::Publisher command_pub_
void update_present_joint_offset_data(thormang3_offset_tuner_msgs::JointOffsetPositionData msg)