decoding

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CollisionElement

type CollisionElement struct {
	Name     string            `xml:"name,attr"`
	Origin   *pose.Pose        `xml:"origin"`
	Geometry geometry.Geometry `xml:"geometry"`
}

func (*CollisionElement) Clear

func (c *CollisionElement) Clear()

type ColorElement

type ColorElement struct {
	Color color.Color `xml:"rgba,attr"`
}

func (*ColorElement) Clear

func (c *ColorElement) Clear()

type LinkElement

type LinkElement struct {
	Name      string              `xml:"name,attr"`
	Visual    []*VisualElement    `xml:"visual"`
	Collision []*CollisionElement `xml:"collision"`
	Inertial  *inertial.Inertial  `xml:"inertial"`
}

type MaterialElement

type MaterialElement struct {
	Name            string        `xml:"name,attr"`
	TextureFilename *string       `xml:"texture"`
	Color           *ColorElement `xml:"color"`
}

func (*MaterialElement) Clear

func (m *MaterialElement) Clear()

type RobotElement

type RobotElement struct {
	Name          string                                       `xml:"name,attr"`
	Links         []*LinkElement                               `xml:"link"`
	Joints        []*joint_decoding.JointElement               `xml:"joint"`
	Transmissions []*transmission_decoding.TransmissionElement `xml:"transmission"`
}

type VisualElement

type VisualElement struct {
	Origin   *pose.Pose         `xml:"origin"`
	Geometry *geometry.Geometry `xml:"geometry"`
	Name     string             `xml:"name,attr"`
	Material *MaterialElement   `xml:"material"`
}

func (*VisualElement) Clear

func (ve *VisualElement) Clear()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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