File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change 1- # Defines box, sphere, cylinder, and cone .
1+ # Defines box, sphere, cylinder, cone and prism .
22# All shapes are defined to have their bounding boxes centered around 0,0,0.
33
44uint8 BOX =1
55uint8 SPHERE =2
66uint8 CYLINDER =3
77uint8 CONE =4
8+ uint8 PRISM =5
89
910# The type of the shape
1011uint8 type
@@ -35,3 +36,15 @@ uint8 CYLINDER_RADIUS=1
3536
3637uint8 CONE_HEIGHT =0
3738uint8 CONE_RADIUS =1
39+
40+ # For the type PRISM, the center line is oriented along Z axis.
41+ # The PRISM_HEIGHT component of dimensions gives the
42+ # height of the prism.
43+ # The polygon defines the Z axis centered base of the prism.
44+ # The prism is constructed by extruding the base in Z+ and Z-
45+ # directions by half of the PRISM_HEIGHT
46+ # Only x and y fields of the points are used in the polygon.
47+ # Points of the polygon are ordered counter-clockwise.
48+
49+ uint8 PRISM_HEIGHT =0
50+ geometry_msgs/Polygon [] polygon
You can’t perform that action at this time.
0 commit comments