Documentation
¶
Overview ¶
Code generated by ros-gen-go. source: Mesh.msg DO NOT EDIT!
Code generated by ros-gen-go. source: MeshTriangle.msg DO NOT EDIT!
Code generated by ros-gen-go. source: Plane.msg DO NOT EDIT!
Code generated by ros-gen-go. source: SolidPrimitive.msg DO NOT EDIT!
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
MsgMesh = &_MsgMesh{
`# Definition of a mesh
# list of triangles; the index values refer to positions in vertices[]
MeshTriangle[] triangles
# the actual vertices that make up the mesh
geometry_msgs/Point[] vertices
`,
"shape_msgs/Mesh",
"de320644698bf336f8f37512079d2586",
}
)
View Source
var (
MsgMeshTriangle = &_MsgMeshTriangle{
`# Definition of a triangle's vertices
uint32[3] vertex_indices
`,
"shape_msgs/MeshTriangle",
"9f61477ed8ee061cb6d71555c375ad8f",
}
)
View Source
var (
MsgPlane = &_MsgPlane{
`# Representation of a plane, using the plane equation ax + by + cz + d = 0
# a := coef[0]
# b := coef[1]
# c := coef[2]
# d := coef[3]
float64[4] coef
`,
"shape_msgs/Plane",
"fc4d6d85ce294ff40862d9c7e9556367",
}
)
View Source
var (
MsgSolidPrimitive = &_MsgSolidPrimitive{
`# Define box, sphere, cylinder, cone
# All shapes are defined to have their bounding boxes centered around 0,0,0.
uint8 BOX=1
uint8 SPHERE=2
uint8 CYLINDER=3
uint8 CONE=4
# The type of the shape
uint8 type
# The dimensions of the shape
float64[] dimensions
# The meaning of the shape dimensions: each constant defines the index in the 'dimensions' array
# For the BOX type, the X, Y, and Z dimensions are the length of the corresponding
# sides of the box.
uint8 BOX_X=0
uint8 BOX_Y=1
uint8 BOX_Z=2
# For the SPHERE type, only one component is used, and it gives the radius of
# the sphere.
uint8 SPHERE_RADIUS=0
# For the CYLINDER and CONE types, the center line is oriented along
# the Z axis. Therefore the CYLINDER_HEIGHT (CONE_HEIGHT) component
# of dimensions gives the height of the cylinder (cone). The
# CYLINDER_RADIUS (CONE_RADIUS) component of dimensions gives the
# radius of the base of the cylinder (cone). Cone and cylinder
# primitives are defined to be circular. The tip of the cone is
# pointing up, along +Z axis.
uint8 CYLINDER_HEIGHT=0
uint8 CYLINDER_RADIUS=1
uint8 CONE_HEIGHT=0
uint8 CONE_RADIUS=1
`,
"shape_msgs/SolidPrimitive",
"9121085a5b5bb159b33cd1739087e356",
}
)
Functions ¶
This section is empty.
Types ¶
type Mesh ¶
type Mesh struct { Triangles []MeshTriangle Vertices []geometry_msgs.Point }
type MeshTriangle ¶
type MeshTriangle struct {
VertexIndices [3]uint32
}
func (*MeshTriangle) Deserialize ¶
func (m *MeshTriangle) Deserialize(r io.Reader) (err error)
type SolidPrimitive ¶
func (*SolidPrimitive) Deserialize ¶
func (m *SolidPrimitive) Deserialize(r io.Reader) (err error)
Click to show internal directories.
Click to hide internal directories.