HF-TMC51x0 Driver (TMC5130 & TMC5160) 0.1.0-dev
Hardware Agnostic C++ Driver for the TMC51x0 (TMC5130 & TMC5160)
Loading...
Searching...
No Matches
tmc51x0::MechanicalSystem Struct Reference

Mechanical system configuration structure. More...

#include <tmc51x0_types.hpp>

Public Member Functions

 MechanicalSystem ()=default
 Default constructor.
 

Public Attributes

MechanicalSystemType system_type {MechanicalSystemType::DirectDrive}
 Type of mechanical system.
 
float lead_screw_pitch_mm {0.0F}
 Lead screw pitch in mm (for LeadScrew)
 
uint16_t belt_pulley_teeth {0}
 Number of teeth on motor pulley (for BeltDrive)
 
float belt_pitch_mm {0.0F}
 Belt pitch in mm (for BeltDrive)
 
float gear_ratio {1.0F}
 Gear ratio (output/input, for Gearbox)
 

Detailed Description

Mechanical system configuration structure.

Configuration parameters for the mechanical system connected to the motor. Used for unit conversions between physical units and steps.

Constructor & Destructor Documentation

◆ MechanicalSystem()

tmc51x0::MechanicalSystem::MechanicalSystem ( )
default

Default constructor.

Initializes with direct drive configuration. All members use default member initializers, so constructor is empty.

Member Data Documentation

◆ belt_pitch_mm

float tmc51x0::MechanicalSystem::belt_pitch_mm {0.0F}

Belt pitch in mm (for BeltDrive)

◆ belt_pulley_teeth

uint16_t tmc51x0::MechanicalSystem::belt_pulley_teeth {0}

Number of teeth on motor pulley (for BeltDrive)

◆ gear_ratio

float tmc51x0::MechanicalSystem::gear_ratio {1.0F}

Gear ratio (output/input, for Gearbox)

◆ lead_screw_pitch_mm

float tmc51x0::MechanicalSystem::lead_screw_pitch_mm {0.0F}

Lead screw pitch in mm (for LeadScrew)

◆ system_type

MechanicalSystemType tmc51x0::MechanicalSystem::system_type {MechanicalSystemType::DirectDrive}

Type of mechanical system.


The documentation for this struct was generated from the following file: