juangallostra / messenger-basketball-reinforcement-learning Goto Github PK
View Code? Open in Web Editor NEWUsing reinforcement learning to play basketball messenger with a robot
License: MIT License
Using reinforcement learning to play basketball messenger with a robot
License: MIT License
Complete the info in the README about the different modules implemented for the project.
Instead of sampling the basket and ball position every frame they are inside their respective regions of interest some sort of sampling period for the positions should be included as a function of the grid size.
This should be implemented because if not, although the basket might be moving, if it remains for a certain amount of time inside the same cell of the grid then the series of states used as input for the learning algorithm might yield the wrong conclusion that the basket is not moving.
When computing the joint angles via the inverse kinematics model the quadrant the angle lies into should be taken into account and checked.
Tesseract is the OCR engine used to detect the current score and it takes quite a long time to process a frame. This reduces significantly the performance. So the score should be computed only when it is strictly required.
So the question is, when is it strictly necessary to compute the score?
Only after a throw, and to deduce that a throw has taken place:
To be able to properly drive the robot to the desired position the servos should be first calibrated.
It would be nice to add a functionality that shows the Q matrix in real time to see how it updates.
From time to time the score is read wrong. This might be just something of the video currently being used but it would be worth to devise a way of making sure that the returned score is actually correct. It might help that the expected score is the previous score plus 1, and a check along those lines could be implemented.
Since in the end we only need to identify correctly 0 (so as to give a negative reward), this may not be an issue at all by assuming anything different than 0 as a successful throw.
In order to obtain the inverse kinematics of the robot the required parameters have to be measured. Furthermore, the measurements should be as accurate as possible.
Add the video or a gif of the fnal result where the robot playing is seen.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.