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 >::StallGuard Struct Reference

#include <esp32_tmc51x0_test_config.hpp>

Static Public Attributes

static constexpr int8_t SGT_HOMING
 
static constexpr bool FILTER_ENABLED
 
static constexpr uint8_t SEMIN
 
static constexpr uint8_t SEMAX
 
static constexpr float MIN_VELOCITY_RPM
 

Member Data Documentation

◆ FILTER_ENABLED

template<MotorType motor_type>
constexpr bool tmc51x0_test_config::TestConfigAccessor< motor_type >::StallGuard::FILTER_ENABLED
staticconstexpr
Initial value:
= []() {
if constexpr (motor_type == MotorType::MOTOR_17HS4401S_GEARBOX ||
}
else if constexpr (motor_type == MotorType::MOTOR_APPLIED_MOTION_5034) {
}
return true;
}()
@ 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 bool FILTER_ENABLED
Definition esp32_tmc51x0_test_config.hpp:696
static constexpr bool FILTER_ENABLED
Definition esp32_tmc51x0_test_config.hpp:749

◆ MIN_VELOCITY_RPM

template<MotorType motor_type>
constexpr float tmc51x0_test_config::TestConfigAccessor< motor_type >::StallGuard::MIN_VELOCITY_RPM
staticconstexpr
Initial value:
= []() {
if constexpr (motor_type == MotorType::MOTOR_17HS4401S_GEARBOX ||
}
else if constexpr (motor_type == MotorType::MOTOR_APPLIED_MOTION_5034) {
}
return 60.0f;
}()
static constexpr float MIN_VELOCITY_RPM
Definition esp32_tmc51x0_test_config.hpp:706
static constexpr float MIN_VELOCITY_RPM
Definition esp32_tmc51x0_test_config.hpp:754

◆ SEMAX

template<MotorType motor_type>
constexpr uint8_t tmc51x0_test_config::TestConfigAccessor< motor_type >::StallGuard::SEMAX
staticconstexpr
Initial value:
= []() {
if constexpr (motor_type == MotorType::MOTOR_17HS4401S_GEARBOX ||
}
else if constexpr (motor_type == MotorType::MOTOR_APPLIED_MOTION_5034) {
}
return uint8_t(5);
}()
static constexpr uint8_t SEMAX
Definition esp32_tmc51x0_test_config.hpp:702
static constexpr uint8_t SEMAX
Definition esp32_tmc51x0_test_config.hpp:751

◆ SEMIN

template<MotorType motor_type>
constexpr uint8_t tmc51x0_test_config::TestConfigAccessor< motor_type >::StallGuard::SEMIN
staticconstexpr
Initial value:
= []() {
if constexpr (motor_type == MotorType::MOTOR_17HS4401S_GEARBOX ||
}
else if constexpr (motor_type == MotorType::MOTOR_APPLIED_MOTION_5034) {
}
return uint8_t(2);
}()
static constexpr uint8_t SEMIN
Definition esp32_tmc51x0_test_config.hpp:701
static constexpr uint8_t SEMIN
Definition esp32_tmc51x0_test_config.hpp:750

◆ SGT_HOMING

template<MotorType motor_type>
constexpr int8_t tmc51x0_test_config::TestConfigAccessor< motor_type >::StallGuard::SGT_HOMING
staticconstexpr
Initial value:
= []() {
if constexpr (motor_type == MotorType::MOTOR_17HS4401S_GEARBOX ||
}
else if constexpr (motor_type == MotorType::MOTOR_APPLIED_MOTION_5034) {
}
return int8_t(10);
}()
static constexpr int8_t SGT_HOMING
Definition esp32_tmc51x0_test_config.hpp:686
static constexpr int8_t SGT_HOMING
Definition esp32_tmc51x0_test_config.hpp:740

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