Lego NXT Robot Lab# 2

 

Introduction:

In the second experiment that we have to accomplish is to measure distance and velocity using our Leggo robot. So we have to measure how long the car traveled, both with a ruler and through Labview. Then use both results to compute the percent error for 3 of the trials that we performed.

clip_image002

 

Procedure:

Measuring distance and velocity

1.      We launch the VI wheel_rotation_straight.vi

2.      We study (with the instructor) the VI to understand how it works to measure the distance the wheels travel, and the speed at which the car travels.

3.      With a ruler we measure the diameter of the wheel and compute the circumference of the wheel in meters (circumference= p*diameter).

4.      We run the VI and record:

Experiment:

 

By measurement

Power                                distance Time                                 distance

75 Power/75 Power

23meter

1 Second.

7meter

100 Power/100 Power

32meter

2 Second.

14.5meter

50 Power/50Power

15meter

4 Second

30.75meter

Through Labview

Power distance Velocity Time distance Velocity
75 Power/75 Power 40.1meter 20m/s 1 Second. 13.3m 13.3m/s
100 Power/100 Power 56.9meter 28.5m/s 2 Second. 26.6m 13.39m/s
50 Power/50Power 26.4meter 13.2m/s 4 Second 51.6m 12.9m/s

So now I have to calculate the percent error. First I averaged all the distance measured and collected through labview and then use the formula above to find the Error.

The Percent in error for Power = 89.2%

The Percent in error for timer = 67.4%

So the percent in power is closer than time as we can see, but the reason is that for the time experiment we used just a couple of seconds with has a big effect on the distance we recorded. So if we would have increased the time, our results would be closer t 100%.

This second lab was easy and fun. we finished the experiment early and we are looking forward to use our robots for even more difficult challenges ahead.Measuring distance and velocity

Leave a Reply

Your email address will not be published. Required fields are marked *