|
Explore TEAMS!
|
Student /
Lab2Questions5and65. This script should make the Create drive forward until it hits an object. Once it does, it will start spinning in place. This script uses the bump sensor. The Create did what was expected. 0x80 0x83 0x97 0x0C 0x89 0x00 0x64 0x7F 0xFF 0x9E 0x05 0x89 0x00 0x64 0x00 0x01 0x99 0x80: Start 0x83: Safe mode 0x97: Create script 0x0C: Script length of 12 0x89 0x00 0x64 0x7F 0xFF: Drive 100mm/s straight 0x9E 0x05: Wait for bump sensor 0x89 0x00 0x64 0x00 0x01: Turn counterclockwise 0x99: Play script 6. In wimp mode, the Create senses it is being pushed or kicked by using the distance sensors or the cliff sensors. Both are set off when the Create is pushed across the floor. The cliff sensors may also be set off because of inconsistencies in the floor color under the Create. |