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

Payload for CONFIG_SET / CONFIG_RESPONSE. More...

#include <espnow_protocol.hpp>

Public Attributes

uint32_t cycle_amount
 
float oscillation_vmax_rpm
 
float oscillation_amax_rev_s2
 
uint32_t dwell_time_ms
 
uint8_t bounds_method
 
float bounds_search_velocity_rpm
 
float stallguard_min_velocity_rpm
 
float stall_detection_current_factor
 
float bounds_search_accel_rev_s2
 
int8_t stallguard_sgt
 

Detailed Description

Payload for CONFIG_SET / CONFIG_RESPONSE.

Note
Must match remote controller's FatigueTestConfigPayload structure. Extended fields are optional - older remote controllers may send only base bytes.

PROTOCOL V2 CHANGE: Replaced time_per_cycle_sec with oscillation_vmax_rpm and oscillation_amax_rev_s2 for direct TMC5160 ramp control.

Member Data Documentation

◆ bounds_method

uint8_t ConfigPayload::bounds_method

◆ bounds_search_accel_rev_s2

float ConfigPayload::bounds_search_accel_rev_s2

◆ bounds_search_velocity_rpm

float ConfigPayload::bounds_search_velocity_rpm

◆ cycle_amount

uint32_t ConfigPayload::cycle_amount

◆ dwell_time_ms

uint32_t ConfigPayload::dwell_time_ms

◆ oscillation_amax_rev_s2

float ConfigPayload::oscillation_amax_rev_s2

◆ oscillation_vmax_rpm

float ConfigPayload::oscillation_vmax_rpm

◆ stall_detection_current_factor

float ConfigPayload::stall_detection_current_factor

◆ stallguard_min_velocity_rpm

float ConfigPayload::stallguard_min_velocity_rpm

◆ stallguard_sgt

int8_t ConfigPayload::stallguard_sgt

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