|
Explore TEAMS!
|
Student /
ChrisArndtLab1Write-upHypothesis: When dealing with consecutive commands, I believe that the Create will react almost instantaneously and execute the following command as soon as it has finished executing the previous command (again, almost instantaneously).
iRobot Create
1. I will write a script that had the Create drive at a slow speed, then drive at a faster speed. This will allow me to view how quickly it will move to the next command, by timing how long it stays at the slower speed.
Experiment 1:
The robot will execute the commands as quickly as it can. This is restricted by the processor and the speed of the serial cable transmitting information from the computer to the Create. The iRobot Open Interface Manual states that there must be at least 200 microseconds between each character (bit) at a baud rate of 115200 BPS, otherwise some characters may not be received. This is about 1,000 times faster than the blink of an eye. My hypothesis was both correct and incorrect. The robot executed the commands as quickly as it could, almost instantaneously. However, it did not execute the following command as soon as the previous command had finished. There is a 200 microsecond gap between the two commands. This is, however, immeasurable by human reflexes. A script that could demonstrate one's control over the speed at which consecutive commands are executed is: Here's a Drive to Drive Direct command converter Δ Back to my page->ChrisArndt |