Class TransformMessage
This represents the transform between two coordinate frames in free space. See: http://docs.ros.org/melodic/api/geometry_msgs/html/msg/Transform.html
Inheritance
System.Object
TransformMessage
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: ZO.ROS.MessageTypes.Geometry
Assembly: Unity.ZeroSim.dll
Syntax
public class TransformMessage : ZOROSMessageInterface
Constructors
| Improve this Doc View SourceTransformMessage()
Declaration
public TransformMessage()
Fields
| Improve this Doc View SourceType
Declaration
[JsonIgnore]
public static string Type
Field Value
Type | Description |
---|---|
System.String |
Properties
| Improve this Doc View SourceGlobalUnityTransform
Declaration
[JsonIgnore]
public Transform GlobalUnityTransform { set; }
Property Value
Type | Description |
---|---|
UnityEngine.Transform |
LocalUnityTransform
Declaration
[JsonIgnore]
public Transform LocalUnityTransform { set; }
Property Value
Type | Description |
---|---|
UnityEngine.Transform |
MessageType
Declaration
[JsonIgnore]
public string MessageType { get; }
Property Value
Type | Description |
---|---|
System.String |
rotation
Declaration
public QuaternionMessage rotation { get; set; }
Property Value
Type | Description |
---|---|
QuaternionMessage |
translation
Declaration
public Vector3Message translation { get; set; }
Property Value
Type | Description |
---|---|
Vector3Message |
Methods
| Improve this Doc View SourceFromGlobalUnityTransform(Transform)
Convert global Unity Transform to ROS Transform. Does Unity to ROS coordinate system transform.
Declaration
public void FromGlobalUnityTransform(Transform transform)
Parameters
Type | Name | Description |
---|---|---|
UnityEngine.Transform | transform |
FromLocalUnityTransform(Transform)
Convert local Unity Transform to ROS Transform. Does Unity to ROS coordinate system transform.
Declaration
public void FromLocalUnityTransform(Transform transform)
Parameters
Type | Name | Description |
---|---|---|
UnityEngine.Transform | transform |