Documentation ¶
Index ¶
- type Serial
- func (s *Serial) Down(speed ptz.Speed) error
- func (s *Serial) Goto(pos *dsd.Position) error
- func (s *Serial) GotoPan(pos *dsd.Position) error
- func (s *Serial) GotoTilt(pos *dsd.Position) error
- func (s *Serial) GotoZoom(pos *dsd.Position) error
- func (s *Serial) Left(speed ptz.Speed) error
- func (s *Serial) LeftDown(speed ptz.Speed) error
- func (s *Serial) LeftUp(speed ptz.Speed) error
- func (s *Serial) Model() (string, error)
- func (s *Serial) Position() (*dsd.Position, error)
- func (s *Serial) Restart() error
- func (s *Serial) Right(speed ptz.Speed) error
- func (s *Serial) RightDown(speed ptz.Speed) error
- func (s *Serial) RightUp(speed ptz.Speed) error
- func (s *Serial) Send(ct protocol.CommandType, rt protocol.ReplayType, data1, data2 byte) ([]byte, error)
- func (s *Serial) Set(ptz *dsd.PTZ) error
- func (s *Serial) Stop() error
- func (s *Serial) Up(speed ptz.Speed) error
- func (s *Serial) Version() (string, error)
- func (s *Serial) ZoomAdd() error
- func (s *Serial) ZoomSub() error
- type SerialV2
- func (s *SerialV2) Down(speed ptz.Speed) error
- func (s *SerialV2) Goto(pos *dsd.Position) error
- func (s *SerialV2) GotoPan(pos *dsd.Position) error
- func (s *SerialV2) GotoTilt(pos *dsd.Position) error
- func (s *SerialV2) GotoZoom(pos *dsd.Position) error
- func (s *SerialV2) Left(speed ptz.Speed) error
- func (s *SerialV2) LeftDown(speed ptz.Speed) error
- func (s *SerialV2) LeftUp(speed ptz.Speed) error
- func (s *SerialV2) Model() (string, error)
- func (s *SerialV2) Position() (*dsd.Position, error)
- func (s *SerialV2) Restart() error
- func (s *SerialV2) Right(speed ptz.Speed) error
- func (s *SerialV2) RightDown(speed ptz.Speed) error
- func (s *SerialV2) RightUp(speed ptz.Speed) error
- func (s *SerialV2) Send(ct protocol.CommandType, rt protocol.ReplayType, data1, data2 byte) ([]byte, error)
- func (s *SerialV2) Stop() error
- func (s *SerialV2) Up(speed ptz.Speed) error
- func (s *SerialV2) Version() (string, error)
- func (s *SerialV2) ZoomAdd() error
- func (s *SerialV2) ZoomSub() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Serial ¶
type Serial struct {
// contains filtered or unexported fields
}
func (*Serial) Send ¶
func (s *Serial) Send(ct protocol.CommandType, rt protocol.ReplayType, data1, data2 byte) ([]byte, error)
Click to show internal directories.
Click to hide internal directories.