按功能拆分接口并清理核心乱码注释
This commit is contained in:
@@ -19,6 +19,24 @@ private:
|
||||
|
||||
std::function<void(const std::string &)> onLog;
|
||||
|
||||
// 按功能域分发请求
|
||||
json dispatchCommand(const std::string &req_cmd, const json &req_param);
|
||||
|
||||
// 机器人运动学与机器人管理接口
|
||||
json handleRobotCommand(const std::string &req_cmd, const json &req_param);
|
||||
|
||||
// SPC 接口
|
||||
json handleSpcCommand(const std::string &req_cmd, const json &req_param);
|
||||
|
||||
// 连杆机构接口
|
||||
json handleFourBarCommand(const std::string &req_cmd, const json &req_param);
|
||||
|
||||
// 四足机器人接口
|
||||
json handleQuadrupedCommand(const std::string &req_cmd, const json &req_param);
|
||||
|
||||
// 未知命令的默认响应
|
||||
json createUnknownCommandResponse(const std::string &req_cmd, const json &req_param) const;
|
||||
|
||||
public:
|
||||
KinematicsWebAPI();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user