AutoRef implementation: Difference between revisions

From Control Systems Technology Group
Jump to navigation Jump to search
No edit summary
 
(80 intermediate revisions by 3 users not shown)
Line 1: Line 1:
The implementation for the [[AutoRef - Autonomous Referee System|AutoRef]] autonomous referee for [https://msl.robocup.org/ RoboCup Middle Size League (MSL)] robot soccer is the proposed design of the AutoRef system.
The implementation for the [[AutoRef - Autonomous Referee System|AutoRef]] autonomous referee for [https://msl.robocup.org/ RoboCup Middle Size League (MSL) robot soccer] is the execution of the AutoRef system design.  


In 2021 contributions by [[AutoRef MSD 2020|MSD 2020]] focused on detecting ball-to-player distance violations.
Implemented design elements are based on [[AutoRef_system_architecture#Functional_specification|AutoRef's functional specification]] as part of [[AutoRef system architecture|its system architecture]], a specification of which is based on the law-task-skill breakdown of the [https://msl.robocup.org/rules MSL rulebook]. The design of implemented tasks in the AutoRef project are provided in main articles linked in the chapters below.
 
[[#Team contributions|Team contributions]] to AutoRef's implementation from 2021 onwards are integrated within the implementation pages. Contributions from 2016–2020 are detailed by their respective teams in their [[AutoRef - Autonomous Referee System#Team contributions|own pages]].


__TOC__
__TOC__


==Introduction==
==Distance violation checking==
 
:''Main article: [[AutoRef distance violation checking]]''
===Objective statement===
 
The main objective of the implementation part of the project was to detect violations of the rules related to the distance between the ball and players during the following game states:  
*Free kick
*Kick-off
*Corner kick
*Goal kick
*Throw-in
*Dropped-ball
*Penalty kick
 
These rules are described in Laws number 8, 10, 13, 14, and 15 of the MSL Rulebook.
 
===Motivation===
This objective was chosen due to several reasons:
 
- Past projects analysis has shown that this functionality has never been designed before
 
- Stakeholder interviews (the MSL referees) have led to the conclusion that this kind of rules are hard to control for a human being
 
- Proof of concept for the developed functional specification was desirable
 
- Learning goals of the team members correspond to the technical solutions necessary for the functionality development
 
===Scope of work===
 
The following topics were included in the implementation scope:
 
* Requirements formulation
 
* Architectural decomposition development
 
* Individual code blocks development
 
* Individual code integration
 
* Software testing on images and videos
 
These topics are explained in detail in the following sections.
 
==Process model==
 
===Introduction===
The development activities of the design team need support from process models. In this project, the V-model is chosen to guide the development procedure from requirement engineering to system validation. Due to the particularity of the project itself, some details of the model have been changed. At the same time, the agile approach was used during system development and combined with the traditional V-model, which makes the project progress more flexible and efficient.
 
===Use of V-model===
 
V-model has the following advantages for the development of the project:  
 
- Design team's project is based on machine vision and software algorithms. V-model was first proposed in the software development environment and has matured in the software development field.
 
- The project team has five members, all of whom can participate in the development of subsystems and they can be developed at the same time. On the premise that the system architecture is determined, V-model can greatly improve the development efficiency.
 
- The system development starts from the fourth week, which means that the team needs to complete the system development in five weeks, and the mature and ready-made V-model process can save a lot of time spent on project management.
<center>[[File:v-model.png]]</center>
Based on the general V-model, a detailed test plan has been made for the verification of the system both from functional and performance perspectives.
 
Based on the requirements derivation results, functional and performance requirements were set up and related tests were planned as shown in the figure above. In this plan, the details of the V-model are supplemented, and more detailed test steps and iterations are added in the test and verification phases. The technical blocks were integrated into the first phase, then several images regarding typical use cases are created from the simulation environment (refer to Section 3) in order to verify the functional requirements. Videos were created to test the performance of the system based on particular scenarios (refer to Section 4). Code was updated iteratively after several times of tests. After the code was verified, a simulated game video was created in the simulation environment to illustrate how the system works in the 'real' world.
 
===Agile approach===
 
 
==Major design choices==
 
===Programming language===
 
===Selection of test environment===
 
===Vision system parameters===
 
 
==Requirements==
 
===Functional requirements===
 
===Performance requirements===
 
====Frequency====
 
====Accuracy====
 
===Other context information===
 
====Colour detection requirement====
 
====Minimal distortion requirement====
 
 
==Architecture decomposition==
 
==Explanation of individual code blocks==
 
===Zone of field detection===
 
===Ball detection===
 
===Player detection===
 
===Area of interest===
 
===Player classification===
 
===Decision making function===
 
 
==Verification==
 
===Image use case testing===
 
===Video use case testing===
 
===Long video simulation===
 
==Conclusion and recommendations for future work==
 
===Conclusion===
 
===recommendations===

Latest revision as of 09:54, 1 April 2021

The implementation for the AutoRef autonomous referee for RoboCup Middle Size League (MSL) robot soccer is the execution of the AutoRef system design.

Implemented design elements are based on AutoRef's functional specification as part of its system architecture, a specification of which is based on the law-task-skill breakdown of the MSL rulebook. The design of implemented tasks in the AutoRef project are provided in main articles linked in the chapters below.

Team contributions to AutoRef's implementation from 2021 onwards are integrated within the implementation pages. Contributions from 2016–2020 are detailed by their respective teams in their own pages.

Distance violation checking

Main article: AutoRef distance violation checking