Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Chassis ¶
type Chassis struct {
*internal.BaseModule
}
Chassis allows controlling the robot chassis. It also works as the robot main controller interface.
func New ¶
func New(ub unitybridge.UnityBridge, l *logger.Logger, cm *connection.Connection, rm *robot.Robot) (*Chassis, error)
New creates a new Chassis instance.
func (*Chassis) SetPosition ¶
SetPosition sets the chassis position.
func (*Chassis) SetSpeed ¶
SetSpeed sets the chassis speed. Limits are [-3.5, 3.5] (m/s) for x and y and [-360, 360] (degrees/s) for z.
func (*Chassis) StopMovement ¶
StopMovement stops the chassis movement.
Click to show internal directories.
Click to hide internal directories.