From 335439f03173e575f3c1613cc3989cf812a83454 Mon Sep 17 00:00:00 2001 From: zhaohe Date: Sun, 15 Oct 2023 11:32:42 +0800 Subject: [PATCH] update --- components/xy_robot_ctrl_module/xy_robot_script_cmder_module.cpp | 2 +- components/xy_robot_ctrl_module/xy_robot_script_cmder_module.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/xy_robot_ctrl_module/xy_robot_script_cmder_module.cpp b/components/xy_robot_ctrl_module/xy_robot_script_cmder_module.cpp index 1ebef56..b2d90de 100644 --- a/components/xy_robot_ctrl_module/xy_robot_script_cmder_module.cpp +++ b/components/xy_robot_ctrl_module/xy_robot_script_cmder_module.cpp @@ -63,7 +63,7 @@ static void cmd_dump_ack(I_XYRobotCtrlModule::base_param_t& ack) { ZLOGI(TAG, " run_to_zero_dec :%d", ack.run_to_zero_dec); } -void XYRobotScriptCmderModule::regXYRobot(int id, I_XYRobotCtrlModule* robot) { +void XYRobotScriptCmderModule::regmodule(int id, I_XYRobotCtrlModule* robot) { ZASSERT(moduler.find(id) == moduler.end()); ZASSERT(robot != nullptr); moduler[id] = robot; diff --git a/components/xy_robot_ctrl_module/xy_robot_script_cmder_module.hpp b/components/xy_robot_ctrl_module/xy_robot_script_cmder_module.hpp index 5aa826a..34cfeae 100644 --- a/components/xy_robot_ctrl_module/xy_robot_script_cmder_module.hpp +++ b/components/xy_robot_ctrl_module/xy_robot_script_cmder_module.hpp @@ -13,7 +13,7 @@ class XYRobotScriptCmderModule { public: void initialize(CmdScheduler* cmdScheduler); - void regXYRobot(int id, I_XYRobotCtrlModule* robot); + void regmodule(int id, I_XYRobotCtrlModule* robot); void regcmd(); private: