Class PoseMessage
A representation of pose in free space, composed of position and orientation. See: http://docs.ros.org/melodic/api/geometry_msgs/html/msg/Pose.html
Inheritance
System.Object
PoseMessage
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 PoseMessage : ZOROSMessageInterface
Constructors
| Improve this Doc View SourcePoseMessage()
Declaration
public PoseMessage()
PoseMessage(PointMessage, QuaternionMessage)
Declaration
public PoseMessage(PointMessage position, QuaternionMessage orientation)
Parameters
Type | Name | Description |
---|---|---|
PointMessage | position | |
QuaternionMessage | orientation |
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 |
orientation
Declaration
public QuaternionMessage orientation { get; set; }
Property Value
Type | Description |
---|---|
QuaternionMessage |
position
Declaration
public PointMessage position { get; set; }
Property Value
Type | Description |
---|---|
PointMessage |
Methods
| Improve this Doc View SourceFromGlobalUnityTransform(Transform)
Convert global Unity Transform to ROS Pose. Does Unity to ROS coordinate system transform.
Declaration
public void FromGlobalUnityTransform(Transform transform)
Parameters
Type | Name | Description |
---|---|---|
UnityEngine.Transform | transform |
FromLocalUnityTransform(Transform)
Convert Unity Transform to ROS Pose. Does Unity to ROS coordinate system transform.
Declaration
public void FromLocalUnityTransform(Transform transform)
Parameters
Type | Name | Description |
---|---|---|
UnityEngine.Transform | transform |