Motion Master 6.0.0-alpha.50
Next-generation motion control software
Loading...
Searching...
No Matches
mm::node::DeviceDiagnosticsInfo Struct Reference

A slave's live ESC health diagnostics plus its resolved device name. More...

#include <device_manager.h>

Collaboration diagram for mm::node::DeviceDiagnosticsInfo:
[legend]

Public Attributes

mm::comm::SlaveDiagnostics diagnostics
 Decoded ESC counters as read by the driver.
 
std::string deviceName
 Device name for this slave position, empty if unknown.
 

Detailed Description

A slave's live ESC health diagnostics plus its resolved device name.

API-facing wrapper around mm::comm::SlaveDiagnostics that adds the human-readable device name (from the device set, empty when no matching device is known), built by DeviceManager::getDeviceDiagnostics on the (non-RT) caller's thread.

Member Data Documentation

◆ deviceName

std::string mm::node::DeviceDiagnosticsInfo::deviceName

Device name for this slave position, empty if unknown.

◆ diagnostics

mm::comm::SlaveDiagnostics mm::node::DeviceDiagnosticsInfo::diagnostics

Decoded ESC counters as read by the driver.


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