Class PoseWithCovarianceMessage
This represents a pose in free space with uncertainty. See: http://docs.ros.org/melodic/api/geometry_msgs/html/msg/PoseWithCovariance.html
Inheritance
System.Object
PoseWithCovarianceMessage
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 PoseWithCovarianceMessage : ZOROSMessageInterface
Constructors
| Improve this Doc View SourcePoseWithCovarianceMessage()
Declaration
public PoseWithCovarianceMessage()
PoseWithCovarianceMessage(PoseMessage, Double[])
Declaration
public PoseWithCovarianceMessage(PoseMessage pose, double[] covariance)
Parameters
Type | Name | Description |
---|---|---|
PoseMessage | pose | |
System.Double[] | covariance |
Fields
| Improve this Doc View SourceType
Declaration
[JsonIgnore]
public static string Type
Field Value
Type | Description |
---|---|
System.String |
Properties
| Improve this Doc View Sourcecovariance
Declaration
public double[] covariance { get; set; }
Property Value
Type | Description |
---|---|
System.Double[] |
GlobalUnityTransform
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 |
pose
Declaration
public PoseMessage pose { get; set; }
Property Value
Type | Description |
---|---|
PoseMessage |
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 local 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 |