Hello everyone !
I was looking for some solutions to make my school project doable, and well, leJOS seems to be an answer to my needs ! (And we're totaly new to the LEGO robotic world
Let me explain what it consists of :
We are to program a Tetris Game, and then make a LEGO Ev3 that can play. The Tetris game will be launched on a first computer, playable through the keyboard, then we will place the LEGO machine on the keyboard so that it can play.
We will develop an AI that "solves" the Tetris, capturing the game screen via webcam, analysing it and making the 'best' choice possible. And we want to communicate with the mindstorm to give it orders each time a decision is made.
The Tetris, and AI parts are not really a problem. The vision part is a little more touchy since we never tried before, but nothing impossible i guess.
Now, the robot part... Well, creating a pattern so that lego can press keyboard keys is a challenge, but not the main problem.
The problem is that the LEGO bot cannot receive any transmission other than from the infrared remote control.
But leJOS seems to be able to give us the means to do differently !
If I'm not mistaken, and i've understood what I read about it, it would allow us to discuss with the ev3 while it's running through Wi-fi (doing polling on the wifi receiver would be sufficient for our needs) ? (I'm not sure about through USB, is it possible ? It would probably be easier for us, as we wouldn't have to search for and buy a wifi dongle and configure a connection)
So, I guess I'll update this post from time to time, as the project evolves
And if you have warnings/recommandations to do, please feel free to share ! I'd be glad to have your guidance
(Mainly about the wifi dongle, since I know nothing of it yet, except regarding the model since it's written in the wiki)
Have a nice day !