EasyManua.ls Logo

Evolution Robotics ER1 - Move Command; Move Distance

Default Icon
170 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 10 Application Programmer’s Interface
10-6 ER1 User Guide
play phrase <phrase to speak> {voice <voice name>}
stop
sense <
sensor type> {on}
sense <
sensor type> off
clear
events
set voice <
voice name>
set linear velocity <
velocity>
set angular velocity <
velocity>
set power stopped <
power>
set power moving <power>
set collision detection off
set collision detection on {sensitivity <
sensitivity percentage>}
set obstacle avoidance off
set obstacle avoidance on {method <
method>}
{tolerance <
tolerance>}
{disable distance <
distance>}{disable percentage <percent>}
set confidence threshold <percentage>
set color tolerance <
tolerance>
set color percentage <
percent>
input digital
output digital <
hex number>
input analog {<
input number> <input number> ...}
Move Command
The move command makes the robot move.
The API responds to the command after it has been verified, but before the robot has
completed the motion. If another move command is issued before the robot completes the
previous one, the prior
move command is interrupted. See the events command for how
to determine when the
move command is complete.
There are quite a few different forms of the move command:
Move Distance
Format:
move <distance> <units>
Parameters:
<distance> is a positive or negative floating point number
<units> is inches, centimeters, meters, feet, or degrees
Since the first letter of each of these is unique, anything which begins with that
first letter is assumed to be the correct word. This allows abbreviations, such as
in:
move 30.5 i
move -2 ft

Table of Contents