Documentation
¶
Overview ¶
This package is used to define a form of enum with the internal type JointType.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JointType ¶
type JointType string
A form of an "enum" that defines the many types of joints that are possible aaccording to the URDF specification.
func (*JointType) UnmarshalXMLAttr ¶
UnmarshalXMLAttr allows for JointType objects to be decoded from the "attributes" of a tag.
For example, consider the following tag from a gripper URDF:
<joint name="finger_joint" type="revolute">
It assigns the "revolute" joint type using the attribute `type`.
This should not normally be called by the user. It is used to implement an interface from the xml package and do efficient decoding when we use `xml.Unmarshal`.
Click to show internal directories.
Click to hide internal directories.