Documentation ¶
Index ¶
- Variables
- type Config
- func (*Config) Descriptor() ([]byte, []int)
- func (m *Config) GetMotors() []*Motor
- func (m *Config) GetPWMPeriod() uint32
- func (m *Config) Marshal() (dAtA []byte, err error)
- func (m *Config) MarshalTo(dAtA []byte) (int, error)
- func (m *Config) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Config) ProtoMessage()
- func (m *Config) Reset()
- func (m *Config) Size() (n int)
- func (m *Config) String() string
- func (m *Config) Unmarshal(dAtA []byte) error
- func (m *Config) XXX_DiscardUnknown()
- func (m *Config) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Config) XXX_Merge(src proto.Message)
- func (m *Config) XXX_Size() int
- func (m *Config) XXX_Unmarshal(b []byte) error
- type Motor
- func (*Motor) Descriptor() ([]byte, []int)
- func (m *Motor) GetPinA() uint32
- func (m *Motor) GetPinB() uint32
- func (m *Motor) GetPinEnable() uint32
- func (m *Motor) GetPinEncA() uint32
- func (m *Motor) GetPinEncB() uint32
- func (m *Motor) GetPinPWM() uint32
- func (m *Motor) Marshal() (dAtA []byte, err error)
- func (m *Motor) MarshalTo(dAtA []byte) (int, error)
- func (m *Motor) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Motor) ProtoMessage()
- func (m *Motor) Reset()
- func (m *Motor) Size() (n int)
- func (m *Motor) String() string
- func (m *Motor) Unmarshal(dAtA []byte) error
- func (m *Motor) XXX_DiscardUnknown()
- func (m *Motor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Motor) XXX_Merge(src proto.Message)
- func (m *Motor) XXX_Size() int
- func (m *Motor) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Motors []*Motor `protobuf:"bytes,1,rep,name=Motors,proto3" json:"Motors,omitempty"` PWMPeriod uint32 `protobuf:"varint,2,opt,name=PWMPeriod,proto3" json:"PWMPeriod,omitempty"` }
func (*Config) Descriptor ¶
func (*Config) GetPWMPeriod ¶
func (*Config) MarshalToSizedBuffer ¶
func (*Config) ProtoMessage ¶
func (*Config) ProtoMessage()
func (*Config) XXX_DiscardUnknown ¶
func (m *Config) XXX_DiscardUnknown()
func (*Config) XXX_Marshal ¶
func (*Config) XXX_Unmarshal ¶
type Motor ¶
type Motor struct { PinA uint32 `protobuf:"varint,1,opt,name=PinA,proto3" json:"PinA,omitempty"` PinB uint32 `protobuf:"varint,2,opt,name=PinB,proto3" json:"PinB,omitempty"` PinPWM uint32 `protobuf:"varint,3,opt,name=PinPWM,proto3" json:"PinPWM,omitempty"` PinEnable uint32 `protobuf:"varint,4,opt,name=PinEnable,proto3" json:"PinEnable,omitempty"` PinEncA uint32 `protobuf:"varint,5,opt,name=PinEncA,proto3" json:"PinEncA,omitempty"` PinEncB uint32 `protobuf:"varint,6,opt,name=PinEncB,proto3" json:"PinEncB,omitempty"` }
func (*Motor) Descriptor ¶
func (*Motor) GetPinEnable ¶
func (*Motor) GetPinEncA ¶
func (*Motor) GetPinEncB ¶
func (*Motor) ProtoMessage ¶
func (*Motor) ProtoMessage()
func (*Motor) XXX_DiscardUnknown ¶
func (m *Motor) XXX_DiscardUnknown()
func (*Motor) XXX_Marshal ¶
func (*Motor) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.