Skip to content

Commit 1db0257

Browse files
Merge pull request #67 from hassanbot/master
Change is_bigendian from bool to byte for SensorImage message
2 parents 41f545f + b405174 commit 1db0257

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

RosBridgeClient/Message.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ public class SensorImage : Message
239239
public int height;
240240
public int width;
241241
public string encoding;
242-
public bool is_bigendian;
242+
public byte is_bigendian;
243243
public int step;
244244
public byte[] data;
245245
public SensorImage()
@@ -248,7 +248,7 @@ public SensorImage()
248248
height = 0;
249249
width = 0;
250250
encoding = "undefined";
251-
is_bigendian = false;
251+
is_bigendian = 0;
252252
step = 0;
253253
data = new byte[0];
254254
}

0 commit comments

Comments
 (0)