Thursday, November 8, 2007

November 9th

Today we calibrated again our light sensor as it didn't seem to be working.


We also tested the robot by battling it against charles robot.


The screenshot of our cdalibrating changes:


Wednesday, November 7, 2007

November 8th







Today we added the light senor and ultrasonic sensor, and have calibrated the light sensor. Everything is ready to go for the battle tommorow. The design has been completed.






November 7th



















We didn't post yesterday due to techinical school network problems.

This is yesterdays post:

We carried on completely building our robot. Tommorow we will complete the design and start testing

Photos of the adjustments made today attached below








Sunday, November 4, 2007

5th November




After some misterious person broke the robot into little tiny peices. We have started again.




We have been building our robot for 2 days now and attached are photos of so far the devlopment.




Wednesday, October 24, 2007

Development


Design

Through out my project, I constantly added and improved my design making sure that the base of the robot was solid.


Development

Programming my mind storm robot

Edge detection
I first started of with edge detection; this was really easy to do using a while loop and a condition for the light. I found out the value of the white around the arena was about 45% but it changed a lot depending in the light around the room and the time of day. This meant that ideally it needed to be tested and reprogrammed into the robot before the final battle.

Movement
Next was setting up the ultra sonic sensor to detect objects that are close range to the robot and make the robot charge forward. This was achieved by simply inserting a switch into the while loop. It’s kind of like If and else.



If object is 30 cm or closer, motors move forward at 100 % speed. Else do nothing.

This did not work well since the ultra sonic sensor was up to high and not detecting some of the lower robots. To solve this problem we changed the height of the sensor so it was closer to the ground, while at the same time making sure that it wasn’t to low so that it would pick up the ground.

Next was making the robot rotate, this was the easiest to do since all I had to drag and drop the move tool and set the number of rotations to unlimited.

The last was adding the condition of making the robot wait 5 seconds before starting the battle. This was simple as most of my program was already assembled. I just inserted the wait command before the start of my while loop.




My program now looked like this in a programming point of view.

Wait 5 seconds
While loop
{
Rotate forever

If light sensor = less than 45% go back for 3 seconds

If ultra sonic sensor = 30 cm or less charge forward at 100 % speed.

}

This simple but effective program worked well and helped ensure our victory over the other robots in the classroom.


Testing

When programming my robot, I made a few errors in my program such using the wrong values in my light sensor. I vigilantly tested my program to ensure that there were no bugs by the time the deadline came.

Wednesday, September 19, 2007

Wookie.

Me and Richard have decided to name the robot Wookie, due to the fact that we found some .wav sounds that have Chewbacca and Han Solo from star wars talking/making sounds.

We put in two of the sounds into the robots programming. The first is Han Solo saying "It's not wise to upset a wookie." when the fight has started and the robots are waiting the five seconds, and the second is Chewy just roaring when the robot's ultrasonic sensor detects the other robot and charges. Kind of like a battle-cry.

However the sounds seem to be messing around with the light sensor and Wookie just runs right off the edge before it can act to the white ring.

Nothing new about the structure of Wookie. Fighting day tommorow (Friday), can't wait.

Monday, September 17, 2007

Robot left to Yuta and Ryan

I left my robot with Yuta and Ryan and it came back awesome apart from the crap that Yuta put on it such as...



Heres a feature ryan added, It helps jam wheels :)