上传主线机器人

This commit is contained in:
liwei1dao 2023-09-14 14:32:39 +08:00
parent 65524b7008
commit 4fb3c714fb

View File

@ -94,7 +94,7 @@ func (this *ModuleRobot_MainLine) DoPipeline(robot IRobot) (err error) {
return return
} }
break break
case 0, 3, 7: case 0, 2, 3, 5, 7:
if _, errdata = robot.SendMessage("mainline", "levelpass", &pb.MainlineLevelPassReq{Level: conf.Id}); errdata != nil { if _, errdata = robot.SendMessage("mainline", "levelpass", &pb.MainlineLevelPassReq{Level: conf.Id}); errdata != nil {
err = errors.New(fmt.Sprintf("code:%d message:%s", errdata.Code, errdata.Message)) err = errors.New(fmt.Sprintf("code:%d message:%s", errdata.Code, errdata.Message))
return return