shape_msgs_msg

package
v0.0.0-...-f3704aa Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 8, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SolidPrimitive_BOX             uint8 = 1
	SolidPrimitive_SPHERE          uint8 = 2
	SolidPrimitive_CYLINDER        uint8 = 3
	SolidPrimitive_CONE            uint8 = 4
	SolidPrimitive_BOX_X           uint8 = 0 // For type BOX, the X, Y, and Z dimensions are the length of the corresponding sides of the box.
	SolidPrimitive_BOX_Y           uint8 = 1 // For type BOX, the X, Y, and Z dimensions are the length of the corresponding sides of the box.
	SolidPrimitive_BOX_Z           uint8 = 2 // For type BOX, the X, Y, and Z dimensions are the length of the corresponding sides of the box.
	SolidPrimitive_SPHERE_RADIUS   uint8 = 0 // For the SPHERE type, only one component is used, and it gives the radius of the sphere.
	SolidPrimitive_CYLINDER_HEIGHT uint8 = 0
	SolidPrimitive_CYLINDER_RADIUS uint8 = 1
	SolidPrimitive_CONE_HEIGHT     uint8 = 0
	SolidPrimitive_CONE_RADIUS     uint8 = 1
)

Variables

View Source
var MeshTriangleTypeSupport types.MessageTypeSupport = _MeshTriangleTypeSupport{}

Modifying this variable is undefined behavior.

View Source
var MeshTypeSupport types.MessageTypeSupport = _MeshTypeSupport{}

Modifying this variable is undefined behavior.

View Source
var PlaneTypeSupport types.MessageTypeSupport = _PlaneTypeSupport{}

Modifying this variable is undefined behavior.

View Source
var SolidPrimitiveTypeSupport types.MessageTypeSupport = _SolidPrimitiveTypeSupport{}

Modifying this variable is undefined behavior.

Functions

func CloneMeshSlice

func CloneMeshSlice(dst, src []Mesh)

CloneMeshSlice clones src to dst by calling Clone for each element in src. Panics if len(dst) < len(src).

func CloneMeshTriangleSlice

func CloneMeshTriangleSlice(dst, src []MeshTriangle)

CloneMeshTriangleSlice clones src to dst by calling Clone for each element in src. Panics if len(dst) < len(src).

func ClonePlaneSlice

func ClonePlaneSlice(dst, src []Plane)

ClonePlaneSlice clones src to dst by calling Clone for each element in src. Panics if len(dst) < len(src).

func CloneSolidPrimitiveSlice

func CloneSolidPrimitiveSlice(dst, src []SolidPrimitive)

CloneSolidPrimitiveSlice clones src to dst by calling Clone for each element in src. Panics if len(dst) < len(src).

func MeshTriangle__Array_to_C

func MeshTriangle__Array_to_C(cSlice []CMeshTriangle, goSlice []MeshTriangle)

func MeshTriangle__Array_to_Go

func MeshTriangle__Array_to_Go(goSlice []MeshTriangle, cSlice []CMeshTriangle)

func MeshTriangle__Sequence_to_C

func MeshTriangle__Sequence_to_C(cSlice *CMeshTriangle__Sequence, goSlice []MeshTriangle)

func MeshTriangle__Sequence_to_Go

func MeshTriangle__Sequence_to_Go(goSlice *[]MeshTriangle, cSlice CMeshTriangle__Sequence)

func Mesh__Array_to_C

func Mesh__Array_to_C(cSlice []CMesh, goSlice []Mesh)

func Mesh__Array_to_Go

func Mesh__Array_to_Go(goSlice []Mesh, cSlice []CMesh)

func Mesh__Sequence_to_C

func Mesh__Sequence_to_C(cSlice *CMesh__Sequence, goSlice []Mesh)

func Mesh__Sequence_to_Go

func Mesh__Sequence_to_Go(goSlice *[]Mesh, cSlice CMesh__Sequence)

func Plane__Array_to_C

func Plane__Array_to_C(cSlice []CPlane, goSlice []Plane)

func Plane__Array_to_Go

func Plane__Array_to_Go(goSlice []Plane, cSlice []CPlane)

func Plane__Sequence_to_C

func Plane__Sequence_to_C(cSlice *CPlane__Sequence, goSlice []Plane)

func Plane__Sequence_to_Go

func Plane__Sequence_to_Go(goSlice *[]Plane, cSlice CPlane__Sequence)

func SolidPrimitive__Array_to_C

func SolidPrimitive__Array_to_C(cSlice []CSolidPrimitive, goSlice []SolidPrimitive)

func SolidPrimitive__Array_to_Go

func SolidPrimitive__Array_to_Go(goSlice []SolidPrimitive, cSlice []CSolidPrimitive)

func SolidPrimitive__Sequence_to_C

func SolidPrimitive__Sequence_to_C(cSlice *CSolidPrimitive__Sequence, goSlice []SolidPrimitive)

func SolidPrimitive__Sequence_to_Go

func SolidPrimitive__Sequence_to_Go(goSlice *[]SolidPrimitive, cSlice CSolidPrimitive__Sequence)

Types

type CMesh

type CMesh = C.shape_msgs__msg__Mesh

type CMeshTriangle

type CMeshTriangle = C.shape_msgs__msg__MeshTriangle

type CMesh__Sequence

type CMesh__Sequence = C.shape_msgs__msg__Mesh__Sequence

type CPlane

type CPlane = C.shape_msgs__msg__Plane

type CPlane__Sequence

type CPlane__Sequence = C.shape_msgs__msg__Plane__Sequence

type CSolidPrimitive

type CSolidPrimitive = C.shape_msgs__msg__SolidPrimitive

type Mesh

type Mesh struct {
	Triangles []MeshTriangle            `yaml:"triangles"` // List of triangles; the index values refer to positions in vertices[].
	Vertices  []geometry_msgs_msg.Point `yaml:"vertices"`  // The actual vertices that make up the mesh.
}

Do not create instances of this type directly. Always use NewMesh function instead.

func NewMesh

func NewMesh() *Mesh

NewMesh creates a new Mesh with default values.

func (*Mesh) Clone

func (t *Mesh) Clone() *Mesh

func (*Mesh) CloneMsg

func (t *Mesh) CloneMsg() types.Message

func (*Mesh) SetDefaults

func (t *Mesh) SetDefaults()

type MeshTriangle

type MeshTriangle struct {
	VertexIndices [3]uint32 `yaml:"vertex_indices"`
}

Do not create instances of this type directly. Always use NewMeshTriangle function instead.

func NewMeshTriangle

func NewMeshTriangle() *MeshTriangle

NewMeshTriangle creates a new MeshTriangle with default values.

func (*MeshTriangle) Clone

func (t *MeshTriangle) Clone() *MeshTriangle

func (*MeshTriangle) CloneMsg

func (t *MeshTriangle) CloneMsg() types.Message

func (*MeshTriangle) SetDefaults

func (t *MeshTriangle) SetDefaults()

type Plane

type Plane struct {
	Coef [4]float64 `yaml:"coef"` // 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]
}

Do not create instances of this type directly. Always use NewPlane function instead.

func NewPlane

func NewPlane() *Plane

NewPlane creates a new Plane with default values.

func (*Plane) Clone

func (t *Plane) Clone() *Plane

func (*Plane) CloneMsg

func (t *Plane) CloneMsg() types.Message

func (*Plane) SetDefaults

func (t *Plane) SetDefaults()

type SolidPrimitive

type SolidPrimitive struct {
	Type       uint8     `yaml:"type"`       // The type of the shape
	Dimensions []float64 `yaml:"dimensions"` // At no point will dimensions have a length > 3.. The dimensions of the shape
}

Do not create instances of this type directly. Always use NewSolidPrimitive function instead.

func NewSolidPrimitive

func NewSolidPrimitive() *SolidPrimitive

NewSolidPrimitive creates a new SolidPrimitive with default values.

func (*SolidPrimitive) Clone

func (t *SolidPrimitive) Clone() *SolidPrimitive

func (*SolidPrimitive) CloneMsg

func (t *SolidPrimitive) CloneMsg() types.Message

func (*SolidPrimitive) SetDefaults

func (t *SolidPrimitive) SetDefaults()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL