Documentation ¶
Overview ¶
Package roboclaw is the driver for the roboclaw motor drivers
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AttrConfig ¶
type AttrConfig struct { SerialPath string `json:"serial_path"` SerialBaud int `json:"serial_baud_rate"` Number int `json:"number_of_motors"` // this is 1 or 2 Address int `json:"address,omitempty"` TicksPerRotation int `json:"ticks_per_rotation,omitempty"` }
AttrConfig is used for converting motor config attributes.
func (*AttrConfig) Validate ¶
func (config *AttrConfig) Validate(path string) error
Validate ensures all parts of the config are valid.
Click to show internal directories.
Click to hide internal directories.