🔧 chore(config): 更新默认机器人连接配置
* 将自动初始化默认机器人切换为现场 FANUC_LR_Mate_200iD_7L * 将默认控制器地址更新为 192.168.10.11 * 补充不支持机器人名称异常的中文提示
This commit is contained in:
@@ -49,7 +49,7 @@ public sealed class ControllerClientCompatRobotCatalog
|
|||||||
|
|
||||||
if (!SupportedRobotModelFileMap.TryGetValue(robotName, out var modelFileName))
|
if (!SupportedRobotModelFileMap.TryGetValue(robotName, out var modelFileName))
|
||||||
{
|
{
|
||||||
throw new InvalidOperationException($"Unsupported robot name: {robotName}");
|
throw new InvalidOperationException($"不支持的机器人名称 Unsupported robot name: {robotName}");
|
||||||
}
|
}
|
||||||
|
|
||||||
var modelPath = ResolveModelPath(modelFileName);
|
var modelPath = ResolveModelPath(modelFileName);
|
||||||
|
|||||||
@@ -8,8 +8,8 @@
|
|||||||
"ControllerClientCompat": {
|
"ControllerClientCompat": {
|
||||||
"ServerVersion": "flyshot-replacement-controller-client-compat/0.1.0",
|
"ServerVersion": "flyshot-replacement-controller-client-compat/0.1.0",
|
||||||
"AutoInit": {
|
"AutoInit": {
|
||||||
"RobotName": "LR_Mate_200iD",
|
"RobotName": "FANUC_LR_Mate_200iD_7L",
|
||||||
"RobotIp": "127.0.0.1"
|
"RobotIp": "192.168.10.11"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Swagger": {
|
"Swagger": {
|
||||||
|
|||||||
Reference in New Issue
Block a user