2014-04-29 02:23:12 +08:00
|
|
|
package ardrone
|
2014-04-26 18:11:51 +08:00
|
|
|
|
|
|
|
type testDrone struct{}
|
|
|
|
|
2014-06-11 06:16:11 +08:00
|
|
|
func (t testDrone) Takeoff() bool { return true }
|
|
|
|
func (t testDrone) Land() {}
|
|
|
|
func (t testDrone) Up(a float64) {}
|
|
|
|
func (t testDrone) Down(a float64) {}
|
|
|
|
func (t testDrone) Left(a float64) {}
|
|
|
|
func (t testDrone) Right(a float64) {}
|
|
|
|
func (t testDrone) Forward(a float64) {}
|
|
|
|
func (t testDrone) Backward(a float64) {}
|
|
|
|
func (t testDrone) Clockwise(a float64) {}
|
|
|
|
func (t testDrone) Counterclockwise(a float64) {}
|
|
|
|
func (t testDrone) Hover() {}
|