上传主线机器人
This commit is contained in:
parent
65524b7008
commit
4fb3c714fb
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user