Image and video hosting by TinyPic

Hello. My name is Alfredo Ramirez of Industrial Systems Engineering (ISE)

I enjoy ISE because it encompases both business and engineering. I also like making systems more efficient. Last summer, I was extremely productive. I took a summer class and worked. Some of my hobbies are training pankration, studying finance, hitting the gym, and baking pastries. I am passionate about keeping a healthy lifestyle.

My group consists of Diego Von Beck, and 2 others whom I will meet on monday.

Image and video hosting by TinyPic

My robot is obedient and he is mine

This is my Robot. My robot's Name is Vegeta and is a very obedient robot that listens to its master(me)

Image and video hosting by TinyPic

Check us out!

Lab 1

My partners were Diego Von Beck,

Sensor Data:

Will get sensor data today, since friday was my last day I had problems to say the least.

Valid XHTML 1.0 Transitional!Valid CSS!

PreLab

.1. My robot will be singing "Where'd you go" by Fort Minor. My algorithm is I found the sheet music online for the song and matched up the notes with the Hertz. From there I assigned different hertz values to two different variables. From there I used an "for" statement that loops twice. It also calls upon the get battery function.

2. First, my robot will draw the infamous anarchy sign and I trigger that with another "if" statement that is triggered by a given amount of light. If there is not sufficient light than my "L" statement prints "let there be light." For my second drawing my robot my program uses the "get line" function. If it is on a light surface then it enters the "while" loop where it then draws a figure eight. A dark surface will end the loop.

3. I used the random function with my surprise ability. One value makes my robot print a series of sensor values while the other makes my robot do a foxtrot with me. This was also done with an “if” statement.

4. I have all the required sensors and my algorithm calls upon them all and prints their values. In terms of the order, I have the song play, then my first picture, than my surprise, than my second picture. There is no special algorithm for the order, they are just in sequence.

Download the large document

Here is my code for my fibbinacci lab

AND MY PICTURE!!!

Image and video hosting by TinyPic

I was one man, BY MYSELF

#include

#include

#include

#include

#include

using namespace std;

int main(int argc, char ** argv)

{

connect("/dev/rfcomm0");

cout << "Waiting..." << endl;

wait(2);

cout<

double t= 6.25/4;

double scale = .1;

int fib;

double time;

cout<

cin>>fib;

for(int i = 1;i<=fib;i++){

int X = 1/sqrt(5)*(pow(((1+sqrt(5))/2),i)-pow((1-sqrt(5))/2,i));

double num = scale*X-1.0;

double den = scale*X+1.0;

robot.motors(num/den,1);

time = t/2+scale*3.14159*X/4;

wait(time);

}

disconnect();

This is my Part of Homework 2

#include

#include

#include

#include

using namespace std;

int L;

int main() {

connect("/dev/rfcomm0");

cout << "Waiting..." << endl;

wait(2);

//andrew dallas wayne are partners

cout<

for(int i=0; i<=10; i++) //I have 30 seconds to follow line

{

L=robot.getLine()[0]; //gets left sensor value

cout<

if (L==1)

{ //If its black i turn right slightly

robot.motors(-.18,-.65);//.2,.55

wait(.25);

}

else if (L==0)

{ //If its white i turn left slightly

robot.motors(-.65,-.18);

wait(.25);

}

robot.stop();

wait(1);

}

disconnect();

}

}

This is my code for my mood lab

Click to see my mood code

This is my code for HW3

Click to see my Search and Rescue Code

This is my prelab

Click to see my Pre Lab

My partners were Richard Phillips, and Zach Zeff

Our 4th partner was MIA, we were not able to save him

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
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
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