Class ImageMessage
This message contains an uncompressed image (0, 0) is at top-left corner of image
Inheritance
System.Object
ImageMessage
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.Sensor
Assembly: Unity.ZeroSim.dll
Syntax
public class ImageMessage : ZOROSMessageInterface
Constructors
| Improve this Doc View SourceImageMessage()
Declaration
public ImageMessage()
ImageMessage(HeaderMessage, UInt32, UInt32, String, Byte, UInt32, Byte[])
Declaration
public ImageMessage(HeaderMessage header, uint height, uint width, string encoding, byte is_bigendian, uint step, byte[] data)
Parameters
Type | Name | Description |
---|---|---|
HeaderMessage | header | |
System.UInt32 | height | |
System.UInt32 | width | |
System.String | encoding | |
System.Byte | is_bigendian | |
System.UInt32 | step | |
System.Byte[] | data |
Fields
| Improve this Doc View SourceType
Declaration
[JsonIgnore]
public static string Type
Field Value
Type | Description |
---|---|
System.String |
Properties
| Improve this Doc View Sourcedata
Declaration
public byte[] data { get; set; }
Property Value
Type | Description |
---|---|
System.Byte[] |
encoding
Declaration
public string encoding { get; set; }
Property Value
Type | Description |
---|---|
System.String |
header
Declaration
public HeaderMessage header { get; set; }
Property Value
Type | Description |
---|---|
HeaderMessage |
height
Declaration
public uint height { get; set; }
Property Value
Type | Description |
---|---|
System.UInt32 |
is_bigendian
Declaration
public byte is_bigendian { get; set; }
Property Value
Type | Description |
---|---|
System.Byte |
MessageType
Declaration
[JsonIgnore]
public string MessageType { get; }
Property Value
Type | Description |
---|---|
System.String |
step
Declaration
public uint step { get; set; }
Property Value
Type | Description |
---|---|
System.UInt32 |
width
Declaration
public uint width { get; set; }
Property Value
Type | Description |
---|---|
System.UInt32 |
Methods
| Improve this Doc View SourceUpdate()
Declaration
public void Update()