OTTO THE SCRIBBLER

Meet Otto, he's a friendly guy who likes to hang out with other delightful robots of his species. He can preform quite a few tricks such as follow the leader, and in his free time he loves to sing and draw.

About Me!



My name is Daria Caraway and I am a computer science/business administration major from Boulder, Co. I like computer science because I find programming very fun, innovative, and exciting! I love creating new things and am eager to learn how to code with computers.

I have always been very athletic and into sports and in high school I played basketball and softball. I have been playing competitive softball since I was 9 years old and I am hoping to play club this year for USC. Sports in general are a huge passion of mine, and coming from boulder, being active is practically engrained in my blood. I love to snowboard, hike, white water raft, and anything else that can be done in the mountains. I am excited for what California has in store for me and for gaining my degree in computer science from USC.

Lab 1!


Today, Otto learned how to draw a circle!

LAB 2!!!


Today, Otto and his friends learned how to use all of their sensors! Here is the data from that lab.

Otto's Data!


Killa's Data!


Chuck's Data!


PITA's Data!

LAB TRES


On September 12th, 2012, Otto used everyone of his sensors and learned how to use if, while, and for statements! See the code here

LAB Four!!!


Otto and his friends drew a spiral today using the fibonacci sequence



Take a look at the code here

ROBOT'S GOT TALENT!!!

This is Otto's submission for Robot's Got Talent!
He sings "Party in the USA" by Miley Cyrus



Pre-Lab

1. Otto is going to sing “Party in the USA” by Miley Cyrus. This will be triggered if the battery is strong enough and if there is no objects in the way.

2. Otto is going to draw a star. Otto will begin on a white surface and will be led to a dark space on the white bored using his light sensors. When the line sensor read that he is on a dark surface, he will ask the user to turn him in order to position him in a place to draw the star. When the use says “no” and is done positioning him, he will then draw a star.

3. When Otto has completed his star he will then begin to “dance” by executing random directions using the rand() function. He will surprise the user by playing a note randomly!

4. Otto’s performance begins with a checking of the battery and for objects and then continues with his Miley Cyrus song. When he is done with that he will use him line sensors to check the color of the floor and follow a light that is shined in his light sensor to a dark surface. Once at the dark surface Otto will ask to be positioned so he can draw his star using his robot.turnLeft command. After he has drawn his star, he will randomly sing and dance utilizing the rand() function and will surprise the audience with his different dance moves and musical notes.



Try the code for yourself! Here!!

Lab five (making love)!

In this Lab, Otto learned how several reactions to actions the user can input! Otta can wake up, show cowar when scared, be agressive when attacked, show love, and be paranoid. My specific function that I created for him is the paranoid function. He drived forward until he is in the dark and then motors in reverse until he finds the light.

His code for these reactions can be seen here here

The group members on this project were Paige Kehoe, Erik Strottmann, and Jack Lucas

Homework 2... Robot Games!!!

Pre lab!!!

1. There will be an if loop with user input options for choices of movement, left, right, back, or forward. After the loop is broken by a stop command, the robot will play the USC fight song.
2. The line following behavior utilizes the line sensors to follow a line beneath the robot. To do this, the robot frequently checks the data returned by the line sensors. If both sensors detect a line, the robot is directly atop the line and so it continues forward. If only the right or left sensor detects a line, the robot is beginning to stray and so turns to position both sensors over the line. If neither sensor detects a line, the robot turns in place in a last-ditch effort to recover the line. 3. The robot drives forward until the obstacle sensor sees an obstacle, then it will continue going until it is up against the obstacle. It will then look left, check for an obstacle, and if there is one it will check right and go forward.

4. The robot’s algorithm for the fastest drawer is first to figure out the most efficient way to draw the shape (without retracing any lines). We will then figure out the speed of the robot so we can know how long it takes to travel 3 inches (the length of a small triangle) and also the time it takes for the robot to turn 60 degrees. Then the robot will draw the figure using the robot.turnLeft and robot.turnRight commands as well as the robot.forward command to navigate the drawing.
5. The terminal will ask for the user to input a, b, c, or d and each letter will correspond to one of the functions mentioned above.

This project was done with
Erik Strottman Paige Kehoe Jack Lucas

To view the code... click here.

LAB SIX!!!!!

Otto made two playlists today! He allows the user to make a playlists of songs or of drawings! The other songs and drawings are curtesy of:
Erik Strottman Paige Kehoe and Jack Lucas

Check out the code here.

Homework 3!! :)

Homework 3 pre Lab
1. My team’s algorithm for the USAR is basically a divide and conquered mission. We will begin going different directions and then bring out pictures together at the end knowing which direction we went. We will use user input in order to control every movement of the robot and take pictures as we go.

2. My algorithm for navigating through the disaster area is just to take pictures as I go along in order to get a sense of where my robot is and move from that point.

3. When my robot locates a lost scribbler it was go up to the lost robot and take a 360 panoramic view of where the scribbler is to make it easier to locate it in reference to my other teammates’ pictures.

4. Our team’s mapping strategy is to review all of the pictures, not just the edited ones, and map out in our heads what the disaster area looks like and then place the scribblers in reference to our newly created map of the disaster are.

My teammates for this project were :

Erik Strottman Paige Kehoe and Jack Lucas

You can find my code here.

Homework 4-- Mars Rover

Find my homework 4 prelab here.

FINAL PROJECT!!!!!

Find my final project prelab here.

Valid XHTML 1.0 Transitional!Valid CSS!

The University of Southern California does not screen or control the content on this website and thus does not guarantee the accuracy, integrity, or quality of such content. All content on this website is provided by and is the sole responsibility of the person from which such content originated, and such content does not necessarily reflect the opinions of the University administration or the Board of Trustees