Skip to content

hardware

AxisSimulation

AxisSimulation(
    *,
    max_speed: int = 80000,
    reference_speed: int = 40,
    min_position: float = -0.12,
    max_position: float = 0.12,
    axis_offset: float = 0.123,
    steps_per_m: float = 666.67 * 1000,
    reversed_direction: bool = False
)

Bases: Axis, ModuleSimulation

The z axis simulation module is a simple example for a representation of simulated robot hardware.

DoubleWheelsHardware

DoubleWheelsHardware(
    config: WheelsConfiguration,
    robot_brain: RobotBrain,
    *,
    can: CanHardware,
    m_per_tick: float = 0.01,
    width: float = 0.5
)

Bases: Wheels, ModuleHardware

This module implements wheels hardware.

Drive and stop commands are forwarded to a given Robot Brain. Velocities are read and emitted regularly.

TornadoHardware

TornadoHardware(
    config: TornadoConfiguration,
    robot_brain: RobotBrain,
    *,
    can: CanHardware,
    expander: ExpanderHardware | None
)

Bases: Tornado, ModuleHardware

The z axis module is a simple example for a representation of real or simulated robot hardware.

YAxisCanOpenHardware

YAxisCanOpenHardware(
    config: YCanOpenConfiguration,
    robot_brain: RobotBrain,
    *,
    can: CanHardware,
    expander: ExpanderHardware | None
)

Bases: Axis, ModuleHardware

The y axis hardware module is a simple example for a representation of real robot hardware.

ZAxisCanOpenHardware

ZAxisCanOpenHardware(
    config: ZCanOpenConfiguration,
    robot_brain: RobotBrain,
    *,
    can: CanHardware,
    expander: ExpanderHardware | None
)

Bases: Axis, ModuleHardware

The z axis hardware module is a simple example for a representation of real robot hardware.