Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
private static void InitMissionSpecs()
var missionXmlDefinition = File.ReadAllText("SampleMission.xml");
_mission = new MissionSpec(missionXmlDefinition, false);
_mission.requestVideo(640, 480);
var recordedFileName = $"./mission_data{DateTime.Now:hh mm ss}.tgz";
_missionRecord = new MissionRecordSpec(recordedFileName);
_missionRecord.recordMP4(20, 400000);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment