|
HF-TMC51x0 Driver (TMC5130 & TMC5160) 0.1.0-dev
Hardware Agnostic C++ Driver for the TMC51x0 (TMC5130 & TMC5160)
|
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) | |
Mechanical system configuration structure.
Configuration parameters for the mechanical system connected to the motor. Used for unit conversions between physical units and steps.
|
default |
Default constructor.
Initializes with direct drive configuration. All members use default member initializers, so constructor is empty.
| float tmc51x0::MechanicalSystem::belt_pitch_mm {0.0F} |
Belt pitch in mm (for BeltDrive)
| uint16_t tmc51x0::MechanicalSystem::belt_pulley_teeth {0} |
Number of teeth on motor pulley (for BeltDrive)
| float tmc51x0::MechanicalSystem::gear_ratio {1.0F} |
Gear ratio (output/input, for Gearbox)
| float tmc51x0::MechanicalSystem::lead_screw_pitch_mm {0.0F} |
Lead screw pitch in mm (for LeadScrew)
| MechanicalSystemType tmc51x0::MechanicalSystem::system_type {MechanicalSystemType::DirectDrive} |
Type of mechanical system.