Documentation ¶
Overview ¶
Package hs200 is the Gobot driver for the Holystone HS200 drone.
Index ¶
- type Driver
- func (d *Driver) Connection() gobot.Connection
- func (d Driver) Disable()
- func (d Driver) Enable()
- func (d *Driver) Forward(speed float32)
- func (d *Driver) Halt() (err error)
- func (d Driver) Land()
- func (d *Driver) Name() string
- func (d *Driver) Right(speed float32)
- func (d *Driver) Rotate(speed float32)
- func (d *Driver) SetName(n string)
- func (d *Driver) Start() (err error)
- func (d Driver) TakeOff()
- func (d *Driver) Throttle(speed float32)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Driver ¶
type Driver struct {
// contains filtered or unexported fields
}
Driver represents the control information for the hs200 drone
func (*Driver) Connection ¶
func (d *Driver) Connection() gobot.Connection
Connection returns the Connection of the device.
func (*Driver) Forward ¶
Forward sends the drone forward (or backwards if speed is negative, pitch the drone)
Click to show internal directories.
Click to hide internal directories.