Documentation ¶
Overview ¶
Package imuwit implements a wit IMU.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewWit ¶
func NewWit(deps registry.Dependencies, cfg config.Component, logger golog.Logger) (movementsensor.MovementSensor, error)
NewWit creates a new Wit IMU.
Types ¶
type AttrConfig ¶
type AttrConfig struct {
Port string `json:"port"`
}
AttrConfig is used for converting a witmotion IMU MovementSensor config attributes.
func (*AttrConfig) Validate ¶
func (cfg *AttrConfig) Validate(path string) error
Validate ensures all parts of the config are valid.
Click to show internal directories.
Click to hide internal directories.