MECHANICAL FORCES

 

It is important to understand that a Proteus simulation of the Virtual Turtle, while electrically accurate, is not a physics aware simulation. The motor control of the turtle is open loop and therefore the amount of distance travelled in a period of time is not deterministic.  All sorts of physical effects such as inertia, momentum, friction, load/slope and battery power can have significant impact on distance travelled in the real device. In no way therefore should you rely on a timed value in the programming of the device unless you are confident that the real world conditions are not going to change.

In the Zumo turtle you can query the distance travelled via the gyro which helps enormously with writing the firmware but you still cannot determine the distance travelled over a period of time in advance.

For example, the turtle may travel 20 cm on the table but 10cm on carpet, it may lose 20% power as the batteries run down and may not start moving at all if the duty cycle of the PWM doesn't provide enough power to overcome inertia.

Similarly, there may be significant differences in behaviour with line sensing depending on the lighting conditions and the contrast of the line against the background.