24 #ifndef THORMANG3_ACTION_EDITOR_ACTION_EDITOR_H_ 25 #define THORMANG3_ACTION_EDITOR_ACTION_EDITOR_H_ 43 #define ROBOT_NAME "THORMANG3" 77 bool initializeActionEditor(std::string robot_file_path, std::string init_file_path, std::string offset_file_path);
112 void playCmd(
const char* file_path);
115 void mirrorStepCmd(
int index,
int mirror_type,
int target_type);
122 void goCmd(
int index);
137 bool loadMp3Path(
int mp3_index, std::string &path);
bool loadMp3Path(int mp3_index, std::string &path)
void deleteStepCmd(int index)
int convert4095ToMirror(int id, int w4095)
int convert4095ToPositionValue(int id, int w4095)
bool initializeActionEditor(std::string robot_file_path, std::string init_file_path, std::string offset_file_path)
ros::Publisher play_sound_pub_
void writeStepCmd(int index)
std::map< std::string, dynamixel::GroupSyncWrite * > port_to_sync_write_go_cmd_
int max_joint_name_length_
void setValueUpDown(int offset)
std::string default_editor_script_path_
std::map< int, int > joint_id_to_row_index_
std::map< int, int > lower_body_mirror_joints_rl_
int convertPositionValueTo4095(int id, int PositionValue)
void goToCursor(int col, int row)
std::map< int, int > upper_body_mirror_joints_lr_
void printCmd(const char *message)
void insertStepCmd(int index)
void moveStepCmd(int src, int dst)
action_file_define::Step step_
struct termios oldterm new_term
void mirrorStepCmd(int index, int mirror_type, int target_type)
void turnOnOffCmd(bool on, int num_param, int *list)
robotis_framework::Robot * robot_
std::string mirror_joint_file_path_
void drawStepLine(bool erase)
std::map< int, int > lower_body_mirror_joints_lr_
std::map< std::string, int > joint_name_to_id_
std::map< int, std::string > joint_id_to_name_
robotis_framework::RobotisController * ctrl_
ros::Publisher enable_ctrl_module_pub_
std::map< int, int > joint_row_index_to_id_
std::map< int, int > upper_body_mirror_joints_rl_
action_file_define::Page page_