Hi,
Currently I’m working on a C# API (and Windows 10 Demo App) for controlling the Parrot Mini Drones. Basic flight commands are under control but now I want to have the drone take a picture.
Question 1
The MediaRecord class has two AR Commands. One named Picture and one named PictureV2. What is the difference between the two?
Question 2
How should both AR Commands be used? Are there any command arguments required?
Currently I use the following AR Command for taking a picture. But that does not seem to do the trick.
/// <summary>
/// Picture command.
/// </summary>
/// <returns>Returns the <see cref="ARCommand"/> for Picture.</returns>
internal static ARCommand Picture()
{
// Declare return variable
ARCommand result = new ARCommand();
result.ProjectIdentifier = 0x02;
result.CommandClass = 0x06;
result.Command = new byte[2] { 0x00, 0x00 };
// Return result
return result;
}
P.S. For those interested in the full code. Send me a message and I’ll add you to the Visual Studio Online repository.