createCameraEventMesg static method
Mesg
createCameraEventMesg(
)
Implementation
static Mesg createCameraEventMesg() {
int fieldIndex, subfieldIndex;
Mesg newMesg = Mesg("CameraEvent", MesgNum.cameraEvent);
fieldIndex = 0;
newMesg.setField(
Field("Timestamp", 253, 134, 1.0, 0.0, "s", false, ProfileType.dateTime),
);
fieldIndex++;
newMesg.setField(
Field("TimestampMs", 0, 132, 1.0, 0.0, "ms", false, ProfileType.uint16),
);
fieldIndex++;
newMesg.setField(
Field(
"CameraEventType",
1,
0,
1.0,
0.0,
"",
false,
ProfileType.cameraEventType,
),
);
fieldIndex++;
newMesg.setField(
Field("CameraFileUuid", 2, 7, 1.0, 0.0, "", false, ProfileType.string),
);
fieldIndex++;
newMesg.setField(
Field(
"CameraOrientation",
3,
0,
1.0,
0.0,
"",
false,
ProfileType.cameraOrientationType,
),
);
fieldIndex++;
return newMesg;
}