
com.codeminders.ardrone.commands.PlayLEDCommand Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of javadrone-api Show documentation
Show all versions of javadrone-api Show documentation
Java API (without using native code) to control AR.Drone
The newest version!
package com.codeminders.ardrone.commands;
public class PlayLEDCommand extends ATCommand
{
protected int animation_no;
protected float frequency;
protected int duration;
public PlayLEDCommand(int animation_no, float frequency, int duration)
{
this.animation_no = animation_no;
this.frequency = frequency;
this.duration = duration;
}
@Override
protected String getID()
{
return "LED";
}
@Override
protected Object[] getParameters()
{
return new Object[] { animation_no, frequency, duration };
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy