Archive for December, 2009
MANOI on Discovery Channel – Daily Planet!

On December 17th, MANOI made its TV-screen ‘debut’ to gazillions of viewers in Canada! Daily Planet, a news style of a show for DIY’ers and scientists, featured MANOI’s holiday Xtravaganza warmup in the PlanetYou clip!
You can see the clip online by clicking here. It’s after the iPhone App part. ^_^
It was pretty awesome to see MANOI on TV, and a great way to ring out the year. WOOT!
The actual version of MANOI’s Holiday Xtravaganza will be posted soon
Friday Night Robotics * 3 – MANOI’s Holiday Xtravaganza Warmup
This weekend really gives patronage to how challenging the sport of robotics is (Technically it’s not a sport since it’s not in the Olympics), and how frustrating everything can be!!!! >:(
Last year, MANOI barely showed off any holiday spirit. Just a seemingly 2D stocking sticky-tacked onto its head.

This year I really wanted to improve on that because… well, I don’t really have a reason. I just wanted to. I wanted to see what it would be like for MANOI to ring bells ^_^
The decorating started off with just a hat, followed by the hunt to find jingle bells that are a circle, not a bell. My mom eventually figured out the type of bell that I was looking for, and bought me some festive bells and bows!
Et voila, MANOI! C’est magnifique! (Tada, MANOI is magnificent!)

I spent an enormous amount of time getting various actions set up so that I can string them together into a final product. In total, there are 7 different movements. My favourite of which, called ‘tango’ can be seen in the video below where one of MANOI’s arms is outwards, and another is inwards, perpendicular to its front shell with the bow. Surprisingly enough, its only two motion frames:
-
int tangoHeadTilt = 400;
-
int tangoHandTilt = 200;
-
int tangoHandIn = 120;
-
int tangoHandUp = 500;
-
int tangoArmUp = 500;
-
int tangoArmTilt = 600;
-
int tangoHipTilt = 200;
-
int leanBack = -25;
-
-
int tango_keyframe1[17] = {
-
HOME0-tangoHeadTilt,
-
HOME1+tangoHandTilt,
-
HOME2-tangoHandIn,
-
HOME3-tangoHandUp,
-
HOME4,
-
HOME5+tangoArmUp,
-
HOME6+tangoArmTilt,
-
HOME16+tangoHipTilt,
-
HOME17+leanBack,
-
HOME18,
-
HOME19,
-
HOME20,
-
HOME21-tangoHipTilt,
-
HOME22+leanBack,
-
HOME23,
-
HOME24,
-
HOME25
-
};
-
-
int tango_keyframe2[17] = {
-
HOME0+tangoHeadTilt,
-
HOME1,
-
HOME2+tangoArmUp,
-
HOME3+tangoArmTilt,
-
HOME4+tangoHandTilt,
-
HOME5-tangoHandIn,
-
HOME6+tangoHandUp,
-
HOME16-tangoHipTilt,
-
HOME17+leanBack,
-
HOME18,
-
HOME19,
-
HOME20,
-
HOME21+tangoHipTilt,
-
HOME22+leanBack,
-
HOME23,
-
HOME24,
-
HOME25
-
};
-
-
void tango(int repeat) {
-
for(int i=0; i<repeat; i++) {
-
setFrame(tango_keyframe1, 800, 50);
-
setFrame(tango_keyframe2, 800, 50);
-
}
-
}
It’s weird because tango looks way more complicated than a movement that has 6 frames, the ‘both arm jingle’. This is where MANOI jingles both of its arms, so one is back and the other is forwards, then the hands both jingle.
-
int bothArmJingle_frame1[17] = {
-
HOME0+200,
-
HOME1,
-
HOME2+leftArmOut,
-
HOME3+leftArmForward,
-
HOME4,
-
HOME5+rightArmOut,
-
HOME6+rightArmForward,
-
HOME16,
-
HOME17,
-
HOME18,
-
HOME19,
-
HOME20,
-
HOME21,
-
HOME22,
-
HOME23,
-
HOME24,
-
HOME25
-
};
-
-
int bothArmJingle_frame2[17] = {
-
HOME0+200,
-
HOME1-leftWristMovement,
-
HOME2+leftArmOut,
-
HOME3+leftArmForward+50,
-
HOME4-rightWristMovement,
-
HOME5+rightArmOut,
-
HOME6+(rightArmForward-170),
-
HOME16,
-
HOME17,
-
HOME18,
-
HOME19,
-
HOME20,
-
HOME21,
-
HOME22,
-
HOME23,
-
HOME24,
-
HOME25
-
};
-
-
int bothArmJingle_frame3[17] = {
-
HOME0+200,
-
HOME1+leftWristMovement,
-
HOME2+leftArmOut,
-
HOME3+leftArmForward,
-
HOME4+rightWristMovement,
-
HOME5+rightArmOut,
-
HOME6+rightArmForward,
-
HOME16,
-
HOME17,
-
HOME18,
-
HOME19,
-
HOME20,
-
HOME21,
-
HOME22,
-
HOME23,
-
HOME24,
-
HOME25
-
};
-
-
int bothArmJingle_frame4[17] = {
-
HOME0-200,
-
HOME1,
-
HOME2+leftArmOut,
-
HOME3-leftArmForward,
-
HOME4,
-
HOME5+rightArmOut,
-
HOME6-rightArmForward,
-
HOME16,
-
HOME17,
-
HOME18,
-
HOME19,
-
HOME20,
-
HOME21,
-
HOME22,
-
HOME23,
-
HOME24,
-
HOME25
-
};
-
-
int bothArmJingle_frame5[17] = {
-
HOME0-200,
-
HOME1-leftWristMovement,
-
HOME2+leftArmOut,
-
HOME3-(leftArmForward+50),
-
HOME4-rightWristMovement,
-
HOME5+rightArmOut,
-
HOME6-(rightArmForward+50),
-
HOME16,
-
HOME17,
-
HOME18,
-
HOME19,
-
HOME20,
-
HOME21,
-
HOME22,
-
HOME23,
-
HOME24,
-
HOME25
-
};
-
-
int bothArmJingle_frame6[17] = {
-
HOME0-200,
-
HOME1+leftWristMovement,
-
HOME2+leftArmOut,
-
HOME3-leftArmForward,
-
HOME4+rightWristMovement,
-
HOME5+rightArmOut,
-
HOME6-rightArmForward,
-
HOME16,
-
HOME17,
-
HOME18,
-
HOME19,
-
HOME20,
-
HOME21,
-
HOME22,
-
HOME23,
-
HOME24,
-
HOME25
-
};
-
-
-
void bothArmJingle(int repeat) {
-
-
for(int i=0; i<repeat; i++) {
-
-
setFrame(bothArmJingle_frame1, 500, 0);
-
for(int i=0; i<5; i++) {
-
setFrame(bothArmJingle_frame2, 20, 0);
-
setFrame(bothArmJingle_frame3, 20, 0);
-
}
-
setFrame(bothArmJingle_frame4, 500, 0);
-
for(int i=0; i<5; i++) {
-
setFrame(bothArmJingle_frame5, 20, 0);
-
setFrame(bothArmJingle_frame6, 20, 0);
-
}
-
-
}
-
-
}
Crazy right? I’ve found that in most of my other MANOI motions, the movement was very focused, with no other moving parts. So I made sure to make the most things move at once.
I think it gives off a more exciting vibe. ^_^ Check out the video!
It really wasn’t as easy as the video makes it look. There were a lot of times where various movements wouldn’t match up, so they would catch the balance off-guard. Also, one of MANOI’s ankle servos went crazy on me, so it let the other foot down, causing a fall.
It’s super challenging to fix this because when MANOI falls, there are at least two things that temporarily break. You fix those things, but while you’re fixing them, other things break. While you’re trying to fix the new things, you can’t get a good grip on the robot because its entire body is made up of servos, and if you set the robot down, another thing will break. I would be willing to wager that working in no-gravity is a cinch compared to this!
Once everything is working again, you go and fix the motion. Fixing the motion is a whole separate routine of trial and error- you change some of the values of the servos and see what happens. There are two options for the next step, either have super fast reflexes, or only program with one hand on the keyboard. Since macs are not very one hand friendly, I have to have super fast reflexes to turn the power switch off on MANOI so that it won’t fall. If it does fall, you have to go back and fix everything.
In any case, once the motion is fixed, you go back and try it with the other movements. Just your luck, the battery runs out! MANOI falls, and you have to fix everything again.
It’s so unbelievably frustrating!! >:( Especially doing it for 3 days straight! There have been three times where MANOI has fallen off the table, about 1 meter (3 feet) tall. The risk of this is MANOI getting shocked by me, the air, and the carpet! It’s really nerve wracking, but thankfully MANOI is alright. Here’s a video of all of MANOI’s falls from the various videos that I tried to take:
At the end of the day, I really enjoy seeing MANOI move around. I think of it this way: it is my frustration and patience that has given an otherwise inanimate object LIFE. How cool is that?
There will be more videos of MANOI in its holiday gear showing up soon, with more blinky lights too!

Friday Night Robotics – Competitions all weekend long!
For FNR this week, there are many competitions going on! Thursday was Physics I Team Design Lab Challenge Sessions, Friday was a FTC Competition and Saturday is a FLL Competition! After Saturday is the competition that is the most worthless but “necessary” … final exam(s). -_-
Friday, the FTC competition was amazing! FTC is FIRST Tech Challenge, and it’s where middle school and high school students build robots out of metal and some lego parts. The brain of the robot is an NXT, and they can program it in either RobotC, NXT-G, or LabView with the NXT toolbox.

The field is 12 feet by 12 feet, and this year’s challenge is called HotShot! The robots have to score wiffleballs into the zone in the middle, the nets above the zone, or the containers off to the side of the field. The wiffleballs are released onto the field when a holster tube is pushed. Yellow wiffleballs are better than white wiffleballs.

There’s a 30 second autonomous mode at the beginning of the game, followed by a teleoperated mode. The robots are controlled by a logitech controller that has joysticks and buttons (hahaha, what a lame description), which goes into software called the Field Controller Station. This software is on the laptop that the team supplies. The software then communicates via Bluetooth to the robot.

On the technical side of things, the Bluetooth works great if you have one robot. If you have 40 robots connected with Bluetooth, the air gets too cluttered. We ran into some problems the other day when robots started moving on their own and some teams would be disconnected if they switched from autonomous mode to teleoperated mode.

Problems or not, it was fun. Apparently it ran more smoothly than it did last year, so that was fantastic! Plus, one of the teams that I was helping gave me one of their team t-shirts! The music was great, and the event was streamed live from WCKN onto the internet!

There are 79 pictures that were taken live at the event up on team229robotics.com.
The FLL competition is today, Saturday December 5th. You can tune in to the live stream right here and subscribe to team229robotics.com’s RSS feed to have updated live blogging images as they come in!










