0004-added-new-type-Legs.patch
proto/sandbox/rst/hri/Legs.proto | ||
---|---|---|
1 |
package rst.hri; |
|
2 | ||
3 |
option java_outer_classname = "LegsType"; |
|
4 | ||
5 |
/** |
|
6 |
* A representation of a pair of legs (or a single leg). |
|
7 |
* |
|
8 |
* The @ref .pair data field indicates whether or not this object is merged with |
|
9 |
* another object of the same field into a representation of a pair of legs. |
|
10 |
* The values stored in @ref .angle and @ref .distance are as perceived from the |
|
11 |
* robot. |
|
12 |
* |
|
13 |
* @author Phillip Luecking <plueckin@techfak.uni-bielefeld.de> |
|
14 |
*/ |
|
15 |
message Legs { |
|
16 | ||
17 |
/** |
|
18 |
* The angle of the leg(s) as perceived by the robots sensor. |
|
19 |
*/ |
|
20 |
// @unit(radian) |
|
21 |
required float angle = 1; |
|
22 | ||
23 |
/** |
|
24 |
* The variance of the @ref .angle. |
|
25 |
*/ |
|
26 |
// @unit(radian) |
|
27 |
required float angle_variance = 2; |
|
28 | ||
29 |
/** |
|
30 |
* The distance between the robot's sensor and the leg(s). |
|
31 |
*/ |
|
32 |
// @unit(meter) |
|
33 |
required float distance = 3; |
|
34 | ||
35 |
/** |
|
36 |
* The variance of the @ref .distance. |
|
37 |
*/ |
|
38 |
// @unit(meter) |
|
39 |
required float distance_variance = 4; |
|
40 | ||
41 |
/** |
|
42 |
* Indicates whether or not this object consists of two merged Legs. If true, |
|
43 |
* merging is no longer possible. |
|
44 |
*/ |
|
45 |
required bool pair = 5; |
|
46 |
} |
|
47 | ||
0 |
- |