Page 47
Here are few other ideas to consider regarding the use of scripts:
1.
A script can be run indefinitely by concluding it with byte code 153 (the run script command).
2.
A command sequence constructed as "drive, wait for event, stop" will continue immediately to
the stop sequence if the event occurrence is already present, which has the effect of preventing
the script from moving the Create.
3.
A script can control the Create whether or not the KIPR Link that provided the script remains
attached. For example, if a user script is started that immediately waits for a "trigger" event
(such as a bump), the iRobot Create will remain idle until the event occurs, during which time
the KIPR Link can be detached. In this manner, a script can be used as a means for operating an
iRobot Create as an independent, if somewhat limited, robot entity.
Содержание KIPR Link
Страница 1: ...KIPR Link Manual Version BB2014 1 1...