mirror of
https://github.com/hybridgroup/gobot.git
synced 2025-05-04 22:17:39 +08:00
16 lines
621 B
Go
16 lines
621 B
Go
![]() |
package gobotArdrone
|
||
|
|
||
|
type testDrone struct{}
|
||
|
|
||
|
func (me testDrone) Takeoff() bool { return true }
|
||
|
func (me testDrone) Land() {}
|
||
|
func (me testDrone) Up(a float64) {}
|
||
|
func (me testDrone) Down(a float64) {}
|
||
|
func (me testDrone) Left(a float64) {}
|
||
|
func (me testDrone) Right(a float64) {}
|
||
|
func (me testDrone) Forward(a float64) {}
|
||
|
func (me testDrone) Backward(a float64) {}
|
||
|
func (me testDrone) Clockwise(a float64) {}
|
||
|
func (me testDrone) Counterclockwise(a float64) {}
|
||
|
func (me testDrone) Hover() {}
|