hockey.server's People
hockey.server's Issues
Define together with the AI guys which angle is the "zero angle"
Don't use TerminateThread, SuspendThread and similar. Use synchronization objects instead.
From the documentation on SuspenThread:
"This function is primarily designed for use by debuggers. It is not intended to be used for thread synchronization. Calling SuspendThread on a thread that owns a synchronization object, such as a mutex or critical section, can lead to a deadlock if the calling thread tries to obtain a synchronization object owned by a suspended thread. To avoid this situation, a thread within an application that is not a debugger should signal the other thread to suspend itself. The target thread must be designed to watch for this signal and respond appropriately."
Goal position detection
Use photos of players' positions in combination with read positions from arduino to better map 0-255 -> (x,y)
The angle of player 05 and 15 changes when you move him past his curve.
Correct for this either in the server or in the arduino. The AI shouldn't need to be aware that the zero angle changes.
Do all coordinate translation in one place (relative center of table, image coordinate, mm coordinate)
Limit: no goal allowed within three seconds from face-off
Scan available com ports for arduinos instead of hard coding for COM3 (home) and COM4 (away). Make the Arduinos announce their team on handshake
Camera calibration not always showing all windows
Goal made detection
Limit: the center player mustn't make a goal directly from face-off without passing the puck
Code design: Decide whether to use classes/structs/namespaces/just functions for parts that aren't general
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.