[HeRos] This is the end

Hi everyone!

Well, that’s it, ROSE is over! The presentation could have gone better but Murphy was among us apparently because every group had some issues on scene! For us it wasn’t that bad until the end when we wanted to show the team deathmatch feature. We couldn’t get it to work, probably because of the WiFi because it worked great a few hours earlier in A406. Well, too bad I guess! Fortunately we were able to show people how it worked and to let them play after the presentations were over!

Now we’ll be taking a well-deserved break before getting back to work (at a slower pace) to prepare for the Parrot competition.

Anyway, I’d like to thank Charles and Rico for all their hard work, I’m really proud of what we managed to achieve with this Figurines project idea of mine! We took it and made it into HeRos! And although it was hard at times, we had fun (especially when testing the games at the end!) and I enjoyed working with them a lot!

Of course I’d also like to thank Alexis and Sam for all their help, their support and their unbelievable work. I really learnt a lot of things in these two months, both in hardware and software and I couldn’t have hoped for a better course as the last course of my life! I’m going to try and keep working on embedded systems and that’s all thanks to them!

That’s it, I’m done. I’ll probably post an update after the Parrot competition 😉

So until next time…

[HeRos] Last day

Hi everyone!

Yesterday I worked on the Android app, to improve its stability and its user interface for the tomorrow’s presentation. Today I’ll finish working on it by adding some graphics that Rico designed. Then I will publish it on the google store.

We also have to prepare tomorrow’s presentation, finish the script and rehearse it. I will have to work on the java application that we will use to demonstrate the simplest features of our HeRos.

Rico and Charles ran extensive tests late last night so there are some bugs to fix today.

To sum up, it’s going to be a long day!

Until next time!

[HeRos] UDP streaming working!

Hi everyone!

Video streaming is now done using UDP instead of TCP, and it is way better! There is still some tweaking to do but it should be perfect tomorrow!

Tomorrow I’l also keep improving the app and I’ll add the graphics that Rico is working done in order to have better looking buttons, icons, and a better UI.

Of course we also have to work on our presentation for friday, so it’s going to be a rough week!

Until next time!

[HeRos] It’s going to be an interesting week!

Hi everyone!

This morning we had the evaluation of our projects by Alexis and Sam. We thought we had done enough tests to show a pretty good demo. Unfortunately a tiny mistake (very tiny: a 0 instead of a -1 on some server code) made it impossible for one of our HeRos to detect when it was shot! But we fixed the bug in a few minutes so it wasn’t that bad. This afternoon we had a test: the development part of it was about implementing a morse translator (both sound and visual on serial over usb). I did it with a very simple albeit ugly function that simply built a string one dot or dash at a time depending on which letter was detected.

What remains to be done for friday is:
– improving the app: UI, design and stability
– switching from TCP to UDP to communicate with our HeRos. Even though the app will now need to reorder fragments of Jpeg and to ignore incomplete frames, UDP is more adapted to streaming and should resolve our drops in framerate. I’ve already start working on this today, it should be done by noon tomorrow
– improving gameplay: more types of game, etc.

So we’re close to the end, but not quite there yet!

Until next time!

[HeRos] What a day it has been

Hi everyone!

Today was interesting… We started the day with two PCBs not working: the UART with the Pololu didn’t work since yesterday. And then a third PCB started exhibiting the same symptoms. After a long investigation, it turns out that a transistor on the TX pin of the UART is fried and by adding a pull-up resistor, Alexis managed to get two PCBs working again. Unfortunately the third one is beyond repair and the processor is going to have to be replaced.

Then I worked on improving the app interface and stability and the server. The app also has some nice sound effects now from various sources: Star Wars (that new teaser felt good, didn’t it? 😉 ), Portal, even one from Mario! It’s all working pretty well. One issue remains: when only one of us is connected to a HeRos, we have 28fps streaming, no problem. But when two of us are connected at the same time, the framerate becomes unstable and has sudden drops. Whether it’s due to interferences or the number of people using the A406 hotspot, we don’t know yet. We’ll do more testing tomorrow.

Until next time!

[HeRos] Game server up and working!

Hi everyone!

Today I implemented a game server using Parse.com. Now we can create games, join games, detect when an ally has healed us or an enemy has shot us and we can see our health points updated at every shot. The server isn’t finished yet since some features are not implemented. For instance the end of a game isn’t yet defined, and the characteristics of HeRos (lvl, experience, etc) aren’t either. More about that tomorrow!

Until next time!

[HeRos] Streaming at 24fps!

Hello again everyone!

We’re now streaming at 24fps, with a better version of the app:

Until next time!

[HeRos] Video Streaming at last!

Hi everyone!

Today we’ve finally managed to stream video via WiFi to the Android app:

Until next time!

[HeRos] Camera and IR working!

Hi everyone!

Today we finalized IR capabilities and it’s working great! Charles implemented a CRC in every transmission and I had to use virtual timers to fix delays between every type of shots. We’re also getting feedback to the app when we’re shot and can see the identity of the shooter.

With Rico we finally got a picture on the Android app! It isn’t streaming yet because we seem to be getting the same image over and over again, as if the buffers weren’t being overwritten. Rico will try to figure out why that is and to correct it!

On monday we’ll get started on the secondary modules and the 3d design. This weekend I’ll also implement backend capability for the app (database, server) using Parse.com which I’ve already used on another app and should serve our purpose quite well. Next week I’ll also work on making streaming work well with the app, and maybe on movement control to make it smoother and more precise, probably with a virtual joystick.

Until next time!

[HeRos] First battle via Android!

Hi everyone!

WiFi works great, and so does IR, so we are now able to fight each other via the Android app:

Three types of shots:
– direct shot: red led in front of HeRos lights up when fired and a sound is emitted
– global shot: all the leds flash red increasingly fast, with sound, until the shot is fired with a bigger sound
– healing: all the leds flash green increasingly fast until the healing is done with a big sound

Reception:
– direct shot: the led of the receiver lights up yellow
– global shot: the led of the receiver lights up purple
– healing: the led of the receiver lights up green-blue

 

 

Until next time!