cvf06035 created page: home authored by Ida Larsen-Ledet's avatar Ida Larsen-Ledet
...@@ -240,12 +240,12 @@ The offset was measured by placing the robot against a wall, and observing the v ...@@ -240,12 +240,12 @@ The offset was measured by placing the robot against a wall, and observing the v
To test the drift, we began by starting ***GyroTest.java*** and letting it run for 10 minutes to check if the sensor developed heat which could then maybe result in a drift of the reading value. This didn't seem to be the case - in the end, the sensor readings were still shifting between 597 and 598. To test the drift, we began by starting ***GyroTest.java*** and letting it run for 10 minutes to check if the sensor developed heat which could then maybe result in a drift of the reading value. This didn't seem to be the case - in the end, the sensor readings were still shifting between 597 and 598.
Afterwards, we modified the Gyrotest to let both motors run while the program was running. We also added a data logger to the program to gather information for later observations. We used this to calculate the average reading and the average drift, presented in the table below. Afterwards, we modified ***GyroTest*** to let both motors run while the program was running. We also added a data logger to the program to gather information for later observations. We used this to calculate the average reading and the average drift, presented in the table below.
| | Average reading | Average drift | Maximal drift | | | Average reading | Average drift | Maximal drift |
| ----------- | --------------- | ------------- | ------------- | | ----------- | --------------- | ------------- | ------------- |
| Wheels on | 596.698744 | ***???*** | ***???*** | | Wheels on | 596.698744 | ***3.3 ???*** | ***???*** |
| No wheels | 596.5979995 | ***???*** | ***???*** | | No wheels | 596.5979995 | ***3.4 ???*** | ***???*** |
*Table 2: Data on readings from the gyro sensor* *Table 2: Data on readings from the gyro sensor*
... ...
......