hybridgroup.gobot/platforms/ardrone/test_helper.go

16 lines
605 B
Go
Raw Normal View History

2014-04-29 02:23:12 +08:00
package ardrone
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() {}