gobot.io/x/gobot@v1.16.0/platforms/parrot/bebop/test_helper.go (about) 1 package bebop 2 3 type testDrone struct{} 4 5 func (t testDrone) TakeOff() error { return nil } 6 func (t testDrone) Land() error { return nil } 7 func (t testDrone) Up(n int) error { return nil } 8 func (t testDrone) Down(n int) error { return nil } 9 func (t testDrone) Left(n int) error { return nil } 10 func (t testDrone) Right(n int) error { return nil } 11 func (t testDrone) Forward(n int) error { return nil } 12 func (t testDrone) Backward(n int) error { return nil } 13 func (t testDrone) Clockwise(n int) error { return nil } 14 func (t testDrone) CounterClockwise(n int) error { return nil } 15 func (t testDrone) Stop() error { return nil } 16 func (t testDrone) Connect() error { return nil } 17 func (t testDrone) Video() chan []byte { return nil } 18 func (t testDrone) StartRecording() error { return nil } 19 func (t testDrone) StopRecording() error { return nil } 20 func (t testDrone) HullProtection(protect bool) error { return nil } 21 func (t testDrone) Outdoor(outdoor bool) error { return nil } 22 func (t testDrone) VideoEnable(enable bool) error { return nil } 23 func (t testDrone) VideoStreamMode(mode int8) error { return nil }