The invention discloses a throwing method of curling robot, which belongs to the technical field of artificial intelligence and control. This method includes: determining the number and location of curlers inside and outside the base camp: obtaining the image of curler competition site, image correction, curler recognition, segmentation and positioning, and determining the number and location of curlers inside and outside the base camp; designing the score function of oneself in curler competition ST: setting the curler radius as RC, and comparing the distance between the curler center of both sides and the center of the base camp with that of the base camp Compare radius r, determine the number of curlers in the base camp is k, the number of curlers in the other camp is h, and the score is st; determine the throwing method: according to the current scoring situation st, the number of curlers in different positions, design the evaluation function in the process of curler throwing, and then determine the throwing method according to the evaluation function. The invention greatly reduces the complexity of the curling robot's throwing strategy algorithm, and provides a basis for further decision-making and control of the curling robot.
【技术实现步骤摘要】
一种冰壶机器人的投掷方法
本专利技术属于人工智能与控制
,特别是涉及一种冰壶机器人的投掷方法。
技术介绍
冰壶是一项冰上运动,被称为“冰上象棋”,是一项需要复杂策略和高超控制技巧的运动。选手需要根据前面几次投掷和冰面状况,制定一个考虑风险的策略并执行需要精细控制技巧的投掷。随着人工智能与控制技术的发展,智能机器人的决策能力越来越高,且具有控制精度高的特点,能够进行冰壶游戏和比赛。本专利技术通过具有高精度和高重复性的机器人进行冰壶投掷,以单局比赛得2分以上为目标,基于当前比分、场地大本营,内/外双方冰壶的数量和位置建立机器人投掷方法,为机器人参加冰壶比赛带来新的发展机遇。
技术实现思路
本专利技术的目的是实现一种冰壶机器人的投掷方法,能够自行获取冰壶比赛场地图像,根据图像识别双方冰壶数量及位置,并生成相应的投掷方法。本专利技术通过以下技术方案实现:一种冰壶机器人的投掷方法,所述冰壶机器人的投掷方法包括以下步骤:步骤一:确定大本营内外双方冰壶的数量和位置:获取冰壶比赛场地图像,进行图像校正,并进行冰壶识别、分割与定位,确定大本营内外双方冰壶的数量和位置;步骤二:设计冰壶比赛己方得分函数St:设冰壶半径为rc,将双方冰壶中心到大本营中心点的距离与大本营半径r做比较,确定大本营内已方冰壶数量为K,对方冰壶数量为H,以及得分St;步骤三:确定投掷方法:根据当前时刻得分情况St、不同位置双方冰壶的数量,设计冰壶投掷过程中的评价函数,再根据评价函数确定投掷方 ...
【技术保护点】
1.一种冰壶机器人的投掷方法,其特征在于,所述冰壶机器人的投掷方法包括以下步骤:/n步骤一:确定大本营内外双方冰壶的数量和位置:获取冰壶比赛场地图像,进行图像校正,并进行冰壶识别、分割与定位,确定大本营内外双方冰壶的数量和位置;/n步骤二:设计冰壶比赛己方得分函数St:设冰壶半径为rc,将双方冰壶中心到大本营中心点的距离与大本营半径r做比较,确定大本营内已方冰壶数量为K,对方冰壶数量为H,以及得分St;/n步骤三:确定投掷方法:根据当前时刻得分情况St、不同位置双方冰壶的数量,设计冰壶投掷过程中的评价函数,再根据评价函数确定投掷方法。/n
【技术特征摘要】
1.一种冰壶机器人的投掷方法,其特征在于,所述冰壶机器人的投掷方法包括以下步骤:
步骤一:确定大本营内外双方冰壶的数量和位置:获取冰壶比赛场地图像,进行图像校正,并进行冰壶识别、分割与定位,确定大本营内外双方冰壶的数量和位置;
步骤二:设计冰壶比赛己方得分函数St:设冰壶半径为rc,将双方冰壶中心到大本营中心点的距离与大本营半径r做比较,确定大本营内已方冰壶数量为K,对方冰壶数量为H,以及得分St;
步骤三:确定投掷方法:根据当前时刻得分情况St、不同位置双方冰壶的数量,设计冰壶投掷过程中的评价函数,再根据评价函数确定投掷方法。
2.根据权利要求1所述的一种冰壶机器人的投掷方法,其特征在于,步骤一包括以下步骤:
步骤一一:获取冰壶比赛场地图像,进行图像校正,对所有冰壶进行识别,区分为己方冰壶和对方冰壶;
步骤一二:以大本营中心点为原点,确定己方冰壶中心位置Pi=(Xi,Yi),i=1,…,N,及对方冰壶中心位置pj=(xj,yj),j=1,…,n;
步骤一三:根据冰壶中心位置计算已方冰壶中心到大本营中心点的距离Di,i=1,..,N,其中D1<D2<…<DN;对方冰壶中心到大本营中心点的距离dj,j=1,…,n,其中d1<d2<…<dn。
3.根据权利要求1所述的一种冰壶机器人的投掷方法,其特征在于,步骤二包括以下步骤:
步骤二一:将已方冰壶中心到大本营中心点的最小距离D1与对方冰壶中心到大本营中心点的最小距离d1作比较,如果r+rc<min(D1,d1)或D1=d1,则St=0;
步骤二二:如果大本营内己方存在k∈{1,…,K}个冰壶到大本营中心点的距离Dk都小于d1,即Dk<min(r+rc,d1),则St=k;
步骤二三:如果大本营内对方存在h∈{1,…,H}个冰壶到...
【专利技术属性】
技术研发人员:姜宇,金晶,李丹丹,沈毅,
申请(专利权)人:哈尔滨工业大学,
类型:发明
国别省市:黑龙;23
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。