File: cob_3d_mapping_msgs/Shape.msg
Raw Message Definition
Header header
uint8 POLYGON=0
uint8 LINE=1
uint8 CURVED=2
uint8 MESH=3
uint8 OTHER=4
uint8 CYLINDER=5
# potential extensions: SPHERE, CYLINDER, BOX
byte type
int32 id
float32 weight
geometry_msgs/Pose pose
# define shape parameters
# for plane
# normal vector = params[0],params[1],params[2]
# d = params[3]
# for line
# direction vector = params[0],params[1],params[2]
# for curved
# 3 for plane, 6 for polynom 2nd degree, ...
#
#for cylinder
# symmetry axis = params[0],params[1],params[2]
# radius = params[3]
# min and max height (rel to origin) = params[4], params[5]
#
float64[] params
sensor_msgs/PointCloud2[] points
#### define mesh ####
# each three entries form a triangle; indices of points are stored
int32[] vertices
#geometry_msgs/Point32 centroid
std_msgs/ColorRGBA color
bool[] holes
Compact Message Definition