Wednesday, March 17, 2010

Postfix Calculator

Here is a video we had to do for system programming made with Cinema 4D in a 16 core mac... mwajaja

Posted via web from Juanlu's posterous

Wednesday, March 3, 2010

Robotics full contact: Lego Mindstorms 2 - Robosumo

Wohoo! yesterday we had the second session on Lego Mindstorms, this time about RoboSumo! (I guess you can imagine what the whole thing was about).It was so much fun! we had to compete first a group of four and then a group of five, and the two winner robots in each round get to go to the final. we aced it in the first round (first video) but didn't do so well in the final round. nah, nevermind that.
When we designed our robot, the first thing we thought of is that it had to be small, with a wide base and have a lot of friction. then Alex took care of the programming (again) and... voilà!

(3438 KB)
Watch on posterous

(4275 KB)
Watch on posterous

(2117 KB)
Watch on posterous

Posted via email from Juanlu's posterous

Wednesday, February 24, 2010

Robotics first contact: Lego Mindstorms 1 - Can-pusher

Finally! we had our first robotics lesson! (sort of)
A few weeks ago, our System Programming lab professor told us he is imparting this extracurricular course on robotics based on Lego Mindstorms, consisting on 3 four hour long lessons in which we had to develop and program some robots to do some automatic tasks, such as making the robot take 12 cans out of a half a meter radius circle, sumo fighting and make the robot follow a line.
And yesterday we started with task 1: can-pushing
It was so much fun! the robots were programmed in NXC (Not eXactly C) using Bricxcc IDE, As the name indicates, it is fairly similar to C and somewhat similar to Java, but thanks to Alex, we had no problem with the programming.
As of the Lego building, we had the instructions and we added some parts to make it more efficient for picking up the cans while maintaining stability and mobility.
The main idea behind our robot was to use a color finder to check if it found the black line (border of the circle) and if so, turn around, then spin for a few seconds using ultrasound in case it found another can nearby, but that did not work so well, so we finally decided to exclude that (would have worked had we given more time). In the end it worked out pretty good I think.
Conclusion: So much fun in an evening I should have spent studying for a test that I had next day, but whatever right?

Posted via email from Juanlu's posterous

Wednesday, February 17, 2010

My new 4x4x4 Rubik's cube!

Thanks to my cousin I've been able to solve 3x3x3 Rubik's cubes for a year and half or so, time to upgrade!
I did some googling and had a look at the official Rubik's cube website, and although it wasn't really expensive (20$), shipping to Spain was 31$ or so, and took from 1 to 2 MONTHS! finally I had a look at Toys'R'Us' website (I had to copy-paste it, I never get the name right when typing) and found it!
15 minutes walking from university and I was standing on a Toys'R'Us door (lucky me it opened a few months ago, otherwise I'll still be on my way there), 15€ and voila!
I've been playing with it for half an hour or son, and I've managed to get all centers where they're supposed to be (all by myself, promise! no algorithms!), see how long it takes for me to solve it entirely

Posted via email from Juanlu's posterous

Saturday, February 13, 2010