HF-TMC51x0 Driver (TMC5130 & TMC5160) 0.1.0-dev
Hardware Agnostic C++ Driver for the TMC51x0 (TMC5130 & TMC5160)
Loading...
Searching...
No Matches
tmc51x0_test_config::TestConfigAccessor< motor_type >::Motion Struct Reference

#include <esp32_tmc51x0_test_config.hpp>

Static Public Attributes

static constexpr float BOUNDS_SEARCH_SPEED_RPM
 
static constexpr float BOUNDS_SEARCH_ACCEL_REV_S2
 
static constexpr uint32_t HOMING_TIMEOUT_MS
 

Member Data Documentation

◆ BOUNDS_SEARCH_ACCEL_REV_S2

template<MotorType motor_type>
constexpr float tmc51x0_test_config::TestConfigAccessor< motor_type >::Motion::BOUNDS_SEARCH_ACCEL_REV_S2
staticconstexpr
Initial value:
= []() {
if constexpr (motor_type == MotorType::MOTOR_17HS4401S_GEARBOX ||
}
else if constexpr (motor_type == MotorType::MOTOR_APPLIED_MOTION_5034) {
}
return 5;
}()
@ MOTOR_17HS4401S_DIRECT
17HS4401S direct drive (no gearbox)
@ MOTOR_17HS4401S_GEARBOX
17HS4401S with 5.18:1 planetary gearbox
@ MOTOR_APPLIED_MOTION_5034
Applied Motion 5034-369 NEMA 34 (high torque)
static constexpr float BOUNDS_SEARCH_ACCEL_REV_S2
Definition esp32_tmc51x0_test_config.hpp:674
static constexpr float BOUNDS_SEARCH_ACCEL_REV_S2
Definition esp32_tmc51x0_test_config.hpp:730

◆ BOUNDS_SEARCH_SPEED_RPM

template<MotorType motor_type>
constexpr float tmc51x0_test_config::TestConfigAccessor< motor_type >::Motion::BOUNDS_SEARCH_SPEED_RPM
staticconstexpr
Initial value:
= []() {
if constexpr (motor_type == MotorType::MOTOR_17HS4401S_GEARBOX ||
}
else if constexpr (motor_type == MotorType::MOTOR_APPLIED_MOTION_5034) {
}
return 30.0f;
}()
static constexpr float BOUNDS_SEARCH_SPEED_RPM
Definition esp32_tmc51x0_test_config.hpp:670
static constexpr float BOUNDS_SEARCH_SPEED_RPM
Definition esp32_tmc51x0_test_config.hpp:727

◆ HOMING_TIMEOUT_MS

template<MotorType motor_type>
constexpr uint32_t tmc51x0_test_config::TestConfigAccessor< motor_type >::Motion::HOMING_TIMEOUT_MS
staticconstexpr
Initial value:
= []() {
if constexpr (motor_type == MotorType::MOTOR_17HS4401S_GEARBOX ||
}
else if constexpr (motor_type == MotorType::MOTOR_APPLIED_MOTION_5034) {
}
return uint32_t(30000);
}()
static constexpr uint32_t HOMING_TIMEOUT_MS
Definition esp32_tmc51x0_test_config.hpp:677
static constexpr uint32_t HOMING_TIMEOUT_MS
Definition esp32_tmc51x0_test_config.hpp:733

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