What is Jay?
Well he's a classy stylish robot thats loves long rolls in the park or even a nice home movie.
How exciting right? He is just a normal guy just movin along and going with the progam. As for what he does? Jay loves
- moving in specfic and complicated patterns
- beeping occasionally
- sounding like a flute to wooo the ladies
- and drawing anywhere and everywhere
-
Here is some data from Jay's sensors and his buddies:
- Jay's Data:
Line Sensor
1, 1;
IR Sensor
1, 1;
Obstacle Sensor
Left: 6400, Center: 6400, Right: 6400;
Light Sensors
Left: 65408, Center: 65292, Right: 65282;
- Thikanbot's Data:
Line Sensor
0, 1
IR Sensor
1, 1
Obstacle Sensor
Left: 6400, Center: 6400, Right: 6400
Light Sensors
Left: 65067, Center: 65381, Right: 65278
- Ameribot's data:
Line Sensor
0, 0
IR Sensor
1, 1
Obstacle Sensor
Left: 1920, Center: 3200, Right: 1280
Light Sensors
Left: 65408, Center: 65287, Right: 65408
First Assignment
The differences in the sensors from the robots depends on where the robots were during the test and whether or not the sensors are received.
The links to their websites are: Thikanbot or Ameribot
As part of the first assignment, a program was written to utilize the robots sensor, movement, and suprise features.
The prelab shows the descriptions of what is to be expected from the robot's preformance
- 1. The robot will sing Beethoven’s fifth but just the introduction. By using the robot.beep command the different frequencies are used for about 20 seconds.
- 2. The robot will draw the routes to its targets as it does its movements as part of the program. It uses the sensors on the IR sensors and the Battery sensor. Depending on whether there is an object in front of the robot will move and with a pen in it, it will draw crosshairs as it hits the targets.
- 3. The surprise ability is that the robot senses objects in front of it and hits them. Basically it is robot karate that only activates when there is something in front of them. It will hit through the object then move to the starting point to continue the random loop.
- 4. First all the sensors are tested to check the functionality and the readings before the algorithm is used. Then the robot will move randomly go left or right to find an obstacle. It will then hit that obstacle and repeat the process until there is nothing there.
Zipfile
Here is a video of the expected program:Robot video
Fibonacci Spiral group work
In class, we recreated the Fibonacci spiral using code we wrote. Code of spiral
Dallas Heyden Andrew Yocca Michael Ciesielk
Robot Behaviors
In our group we had our robots try different behaviors such as alive, coward, aggressive, timid, love and so on. All of these were based off of the light sensor. the code for the behaviors is hereJay's Behaviors
and heres the other robot websites:Candice Dechant Dallas Heyden Andrew Yocca
Second Assignment: the Olympics
Jay was supposed to compete in the maze portion of the olypmics while other members compete in their own events. This is the code for the Olympics.
Prelab:
- 1. For my opening ceremony part of the assignment, my robot used user input to control the robot to preorganized positions to form a part of a U.
- 2. The algorithm for the line following part uses the get Line aspect of the robot to follow a bold black line on white paper that the class printed out.
- 3. My robot used the getObstacle function to navigate its way through a maze. It stops if their is a wall infront of its fluke sensor and from their user input tells it to turn right or left.
- 4. The fastest drawing algorithm will use the for function to draw a successive amount of triangles given by the user and draw with its marker at the olympics.
- 5. I start with basic functions to incorporate sensors and test movement, then I apply them into functions and loops to answer the assignment. Lastly I problem solve the kinks out of the algorithm so that it runs smoothly and repeats.
Homework 3
Prelab: code for it Homework 3
- 1. Write a description of your team's USAR strategy. What is your algorithm and sensors used for this task?
the strategy was to first think of ways to store pictures and when to take the pictures. I decided to personally control when to take a picture and where to move.
- 2. Write a description of your robot's performance for navigating through the mock disaster area. What is your algorithm and sensors used for this sub-problem?
it is user input controlled, that way it can monuver around obstacles.
- 3. Write a description of your robot's locating lost scribblers behavior. What is your algorithm and sensors used for this sub-‐problem?
the algorithm will take pictures and when there is more red in the picture it will put that in a picture array with found scribblers. if it does not have read it just gets saved.
- 4. Write a description of your team's mapping strategy. What is your algorithm for this task?
from the stored pictures with red scribblers, the map function should print the time of when the picture was taken in the 10 minutes and where it was taken.
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