N
Read proximity sensors
Command:
N
Answer:
n,val sens back left,
val sens left 90,
val sens left 45,
val sens front left, val sens front right, val sens right 45,
val sens right 90,
val sens back right,
val sens back,
val sens ground right, val sens ground left, time stamp
Effect:
Read the 10 bit values of the 11 proximity sensors. The
last argument is the relative time stamp of the measure.
(section 3.3), from the front sensor situated at the left of
the robot, turning clockwise to the back-left sensor.
O
Read ambient light sensors
Command:
O
Answer:
n,val sens back left,
val sens left 90,
val sens left 45,
val sens front left, val sens front right, val sens right 45,
val sens right 90,
val sens back right,
val sens back,
val sens ground right, val sens ground left, time stamp
Effect:
Read the 10 bit values of the 11 light sensors (section3.1.6),
from the front left sensor turning clockwise to the back-left
sensor. The last argument is the relative time stamp of the
measure.
P
Set Target Position
Command:
P,
target position motor left
(32bits),
tar-
get position motor right (32bits)
Answer:
p
Effect:
Set a position to be reached. The move will be performed
without acceleration and decceleration.
The unit is the
pulse, each one corresponds to 0,047 mm (with encoder res-
olution x4 (default)).
Syntax:
P,l1000,l1000
Q
Unused
Khepera III manual ver 2.2
38