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

Payload for BOUNDS_RESULT. More...

#include <espnow_protocol.hpp>

Public Attributes

uint8_t ok
 1=success (bounded or intentionally unbounded default); 0=failure
 
uint8_t bounded
 1=mechanical stops detected; 0=unbounded default window used
 
uint8_t cancelled
 1=cancelled by user/STOP/PAUSE
 
uint8_t reserved
 
float min_degrees_from_center
 
float max_degrees_from_center
 
float global_min_degrees
 
float global_max_degrees
 

Detailed Description

Payload for BOUNDS_RESULT.

Sends the bounds relative to the established center/home (degrees). min_degrees_from_center is typically negative and max_degrees_from_center is typically positive.

Member Data Documentation

◆ bounded

uint8_t BoundsResultPayload::bounded

1=mechanical stops detected; 0=unbounded default window used

◆ cancelled

uint8_t BoundsResultPayload::cancelled

1=cancelled by user/STOP/PAUSE

◆ global_max_degrees

float BoundsResultPayload::global_max_degrees

◆ global_min_degrees

float BoundsResultPayload::global_min_degrees

◆ max_degrees_from_center

float BoundsResultPayload::max_degrees_from_center

◆ min_degrees_from_center

float BoundsResultPayload::min_degrees_from_center

◆ ok

uint8_t BoundsResultPayload::ok

1=success (bounded or intentionally unbounded default); 0=failure

◆ reserved

uint8_t BoundsResultPayload::reserved

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