... | ... | @@ -154,7 +154,7 @@ In the datalogger class we had to replace FileOutputStream with BufferedOutputSt |
|
|
|
|
|
> We figured that If the distance from the sensor to the center of gravity of the robot is large, the gyro sensor will have a wider path to swing, making the values larger, as can be seen in (fig. 7).
|
|
|
>
|
|
|
>![Gyro sensor udsving (1)](http://gitlab.au.dk/uploads/group-22/lego/b48fa6e6d9/Gyro_sensor_udsving__1_.jpg)
|
|
|
>![Gyro sensor udsving (1)](http://gitlab.au.dk/uploads/group-22/lego/37fe3da9fe/Gyro_sensor_udsving__1_.jpg)
|
|
|
> ##### Fig. 7: Swing path of gyro sensor.
|
|
|
>
|
|
|
> We ran the GyroTest class to examine the readings of the gyro sensor. The default sensor reading (raw value) when stationary was about 611-612 on a scale from 0 to 1024. By shaking the robot hard, we could get the minimum reading down to 184, and the maximum reading up to 1003. It was hard to read the on screen values of the gyro sensor when the robot was going, so we tried implemented the data logger to get some more accurate readings. NOPE?
|
... | ... | |