Class PointMessage
This contains the position of a point in free space See: http://docs.ros.org/melodic/api/geometry_msgs/html/msg/Point.html
Inheritance
System.Object
PointMessage
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 PointMessage : ZOROSMessageInterface
Constructors
| Improve this Doc View SourcePointMessage()
Declaration
public PointMessage()
PointMessage(Double, Double, Double)
Declaration
public PointMessage(double x, double y, double z)
Parameters
Type | Name | Description |
---|---|---|
System. |
x | |
System. |
y | |
System. |
z |
Fields
| Improve this Doc View SourceType
Declaration
[JsonIgnore]
public static string Type
Field Value
Type | Description |
---|---|
System. |
Properties
| Improve this Doc View SourceMessageType
Declaration
[JsonIgnore]
public string MessageType { get; }
Property Value
Type | Description |
---|---|
System. |
UnityVector3
Declaration
[JsonIgnore]
public Vector3 UnityVector3 { get; set; }
Property Value
Type | Description |
---|---|
Unity |
x
Declaration
public double x { get; set; }
Property Value
Type | Description |
---|---|
System. |
y
Declaration
public double y { get; set; }
Property Value
Type | Description |
---|---|
System. |
z
Declaration
public double z { get; set; }
Property Value
Type | Description |
---|---|
System. |
Methods
| Improve this Doc View SourceFromUnityVector3(Vector3)
Convert from Unity Vector3 to ROS Vector3 and convert coordinate system:
ROS Coordinate System (See: https://www.ros.org/reps/rep-0103.html) x forward y left z up
Unity Coordinate System: x right y up z forward
Declaration
public void FromUnityVector3(Vector3 v)
Parameters
Type | Name | Description |
---|---|---|
Unity |
v | Unity Vector3 |
ToUnityVector3()
Convert from ROS Vector3 to Unity Vector3 and convert coordinate system:
ROS Coordinate System (See: https://www.ros.org/reps/rep-0103.html) x forward y left z up
Unity Coordinate System: x right y up z forward
Declaration
public Vector3 ToUnityVector3()
Returns
Type | Description |
---|---|
Unity |
Unity Vector3 |