0001-Added-new-Type-OccupancyGridInt.-Used-integer-instea.patch
proto/sandbox/rst/navigation/OccupancyGridInt.proto | ||
---|---|---|
1 |
package rst.navigation; |
|
2 | ||
3 |
import "rst/geometry/Pose.proto"; |
|
4 | ||
5 |
option java_outer_classname = "OccupancyGridIntType"; |
|
6 | ||
7 |
/** |
|
8 |
* This represents a 2-D grid map, in which each cell represents the |
|
9 |
* probability of occupancy. This kind of representation id often used |
|
10 |
* in SLAM implementations. |
|
11 |
* |
|
12 |
* @author Leon Ziegler <lziegler@techfak.uni-bielefeld.de> |
|
13 |
*/ |
|
14 |
message OccupancyGridInt { |
|
15 | ||
16 |
/** |
|
17 |
* The map resolution as edge length of a cell. |
|
18 |
*/ |
|
19 |
// @unit(meter) |
|
20 |
required float resolution = 1; |
|
21 | ||
22 |
/** |
|
23 |
* Number of cells in x direction. |
|
24 |
*/ |
|
25 |
required uint32 width = 2; |
|
26 | ||
27 |
/** |
|
28 |
* Number of cells in y direction. |
|
29 |
*/ |
|
30 |
required uint32 height = 3; |
|
31 | ||
32 |
/** |
|
33 |
* The origin of the map. This is the real-world pose of the cell |
|
34 |
* (0,0) in the map. The grid is defined in the x-y plane given by |
|
35 |
* this pose. |
|
36 |
*/ |
|
37 |
required rst.geometry.Pose origin = 4; |
|
38 | ||
39 |
/** |
|
40 |
* The map data, in row-major order, starting with (0,0). Occupancy |
|
41 |
* probabilities are signed 8-bit integer in the range [0,100]. |
|
42 |
* Unknown is -1. |
|
43 |
*/ |
|
44 |
required bytes map = 5; |
|
45 |
} |
|
0 |
- |