The supported US sensors configuration are listed in the following table.
Mask
Binary
Decimal
Description:
NONE
0b00000000
0
None of the US sensor.
US1ONLY
0b00000001
1
Only the US sensor 1.
US2ONLY
0b00000010
2
Only the US sensor 2.
US3ONLY
0b00000100
4
Only the US sensor 3.
US4ONLY
0b00001000
8
Only the US sensor 4.
US5ONLY
0b00010000
16
Only the US sensor 5.
US1TO2
0b00000011
3
US sensor 1 to 2.
US2TO3
0b00000110
6
US sensor 2 to 3.
US3TO4
0b00001100
12
US sensor 3 to 4.
US4TO5
0b00011000
24
US sensor 4 to 5.
US1TO3
0b00000111
7
US sensor 1 to 3.
US2TO4
0b00001110
14
US sensor 2 to 4.
US3TO5
0b00011100
28
US sensor 3 to 5.
US1TO4
0b00001111
15
US sensor 1 to 4.
US2TO5
0b00011110
30
US sensor 2 to 5.
USALL
0b00011111
31
All US sensors.
D
Set speed
Command:
D, speed motor left (32bits), speed motor right (32bits)
Answer:
d
Effect:
Set the speed of the two motors. See in section 3.2.1 to
calculate the equivalent Speed.
Syntax:
D,l20000,l20000
E
Read speed
Command:
E
Answer:
e, speed motor left, speed motor right
Effect:
Read the instantaneous speed of the two motors. See in
section 3.2.1 to calculate the equivalent Speed.
Example:
e,20000,20000
Khepera III manual ver 2.2
35