|
|
@ -40,8 +40,8 @@ public class HBotHandler extends CommandHandler { |
|
|
|
|
|
|
|
|
|
|
|
private final Map<CmdDevice, LeisaiServoMId> leisaiServoMIdMap = Map.ofEntries( |
|
|
|
Map.entry(CmdDevice.gantry_y, LeisaiServoMId.MainXSV), |
|
|
|
Map.entry(CmdDevice.gantry_z, LeisaiServoMId.MainYSV) |
|
|
|
Map.entry(CmdDevice.gantry_x, LeisaiServoMId.MainXSV), |
|
|
|
Map.entry(CmdDevice.gantry_y, LeisaiServoMId.MainYSV) |
|
|
|
); |
|
|
|
private final Map<CmdDevice, MId> supportCmdDeviceMIdMap = stepMotorMIdMap_.entrySet().stream(). |
|
|
|
collect(Collectors.toMap(Map.Entry::getKey, entry -> entry.getValue().mid)); |
|
|
|