0002-rename-type.patch
proto/sandbox/rst/hri/HighlightTarget.proto | ||
---|---|---|
1 |
package rst.hri; |
|
2 | ||
3 |
import "rst/timing/Duration.proto"; |
|
4 | ||
5 |
option java_outer_classname = "HighlightTargetType"; |
|
6 | ||
7 |
/** |
|
8 |
* Specifies a target that should be higlighted by an intelligent system, e.g. |
|
9 |
* to elicit attention of a human interaction partner. |
|
10 |
*/ |
|
11 |
message HighlightTarget { |
|
12 | ||
13 |
/** |
|
14 |
* The modality to use. |
|
15 |
*/ |
|
16 |
enum Modality { |
|
17 | ||
18 |
/** |
|
19 |
* Look at the target using eyes and head movements. |
|
20 |
*/ |
|
21 |
GAZE = 1; |
|
22 | ||
23 |
/** |
|
24 |
* Use gestures to refer to the target, e.g. pointing. |
|
25 |
*/ |
|
26 |
GESTURE = 2; |
|
27 | ||
28 |
/** |
|
29 |
* Use (ambient) light at the target, e.g. leds or surrounding lights. |
|
30 |
*/ |
|
31 |
LIGHT = 3; |
|
32 | ||
33 |
/** |
|
34 |
* Use (ambient) sound at the target, e.g. beeps. |
|
35 |
*/ |
|
36 |
SOUND = 4; |
|
37 | ||
38 |
/** |
|
39 |
* Use a spot(-light) that points to the target. |
|
40 |
*/ |
|
41 |
SPOT = 5; |
|
42 |
} |
|
43 | ||
44 |
/** |
|
45 |
* The target that should be highlighted. |
|
46 |
*/ |
|
47 |
required string target_id = 1; |
|
48 | ||
49 |
/** |
|
50 |
* How long to highlight the target. |
|
51 |
*/ |
|
52 |
required Duration duration = 2; |
|
53 | ||
54 |
/** |
|
55 |
* A list of modalities to use for highlighting. |
|
56 |
*/ |
|
57 |
repeated Modality modality = 3; |
|
58 | ||
59 |
} |
proto/sandbox/rst/hri/HighlightTarget.rst | ||
---|---|---|
1 |
package rst.hri; |
|
2 | ||
3 |
import "rst/timing/Duration.proto"; |
|
4 | ||
5 |
option java_outer_classname = "HighlightTargetType"; |
|
6 | ||
7 |
/** |
|
8 |
* Specifies a target that should be higlighted by an intelligent system, e.g. |
|
9 |
* to elicit attention of a human interaction partner. |
|
10 |
*/ |
|
11 |
message HighlightTarget { |
|
12 | ||
13 |
/** |
|
14 |
* The modality to use. |
|
15 |
*/ |
|
16 |
enum Modality { |
|
17 | ||
18 |
/** |
|
19 |
* Look at the target using eyes and head movements. |
|
20 |
*/ |
|
21 |
GAZE = 1; |
|
22 | ||
23 |
/** |
|
24 |
* Use gestures to refer to the target, e.g. pointing. |
|
25 |
*/ |
|
26 |
GESTURE = 2; |
|
27 | ||
28 |
/** |
|
29 |
* Use (ambient) light at the target, e.g. leds or surrounding lights. |
|
30 |
*/ |
|
31 |
LIGHT = 3; |
|
32 | ||
33 |
/** |
|
34 |
* Use (ambient) sound at the target, e.g. beeps. |
|
35 |
*/ |
|
36 |
SOUND = 4; |
|
37 | ||
38 |
/** |
|
39 |
* Use a spot(-light) that points to the target. |
|
40 |
*/ |
|
41 |
SPOT = 5; |
|
42 |
} |
|
43 | ||
44 |
/** |
|
45 |
* The target that should be highlighted. |
|
46 |
*/ |
|
47 |
required string target_id = 1; |
|
48 | ||
49 |
/** |
|
50 |
* How long to highlight the target. |
|
51 |
*/ |
|
52 |
required Duration duration = 2; |
|
53 | ||
54 |
/** |
|
55 |
* A list of modalities to use for highlighting. |
|
56 |
*/ |
|
57 |
repeated Modality modality = 3; |
|
58 | ||
59 |
} |
|
60 |
- |