Skip to main content

Samples and health

netft::Sample

struct Sample;

Fields

NameTypeDefaultMutability
rdt_sequencestd::uint32_tMutable
ft_sequencestd::uint32_tMutable
statusstd::uint32_tMutable
raw_wrenchstd::array<std::int32_t, 6>Mutable
forcestd::array<double, 3>Mutable
torquestd::array<double, 3>Mutable
force_unitForceUnitForceUnit::UnknownMutable
torque_unitTorqueUnitTorqueUnit::UnknownMutable
configuration_revisionstd::uint64_tMutable
received_atstd::chrono::steady_clock::time_pointRequiredMutable

received_at uses the host monotonic clock. It supports age and interval calculations but is not a sensor-side wall-clock acquisition timestamp.

netft::HealthSnapshot

struct HealthSnapshot;

Fields

NameTypeDefaultMutability
stateClientStateClientState::StoppedMutable
fault_codeFaultCodeFaultCode::NoneMutable
sensor_hoststd::stringRequiredMutable
rdt_portintMutable
sensor_configurationstd::optional<SensorConfiguration>RequiredMutable
last_rdt_sequencestd::optional<std::uint32_t>RequiredMutable
last_ft_sequencestd::optional<std::uint32_t>RequiredMutable
last_statusstd::uint32_tMutable
receive_rate_hzdoubleMutable
delivery_rate_hzdoubleMutable
received_countstd::uint64_tMutable
delivered_countstd::uint64_tMutable
rate_limited_countstd::uint64_tMutable
device_error_countstd::uint64_tMutable
warning_countstd::uint64_tMutable
lost_countstd::uint64_tMutable
duplicate_countstd::uint64_tMutable
out_of_order_countstd::uint64_tMutable
malformed_countstd::uint64_tMutable
reconnect_countstd::uint64_tMutable
timeout_countstd::uint64_tMutable
callback_error_countstd::uint64_tMutable
ft_stall_countstd::uint64_tMutable
ft_backward_countstd::uint64_tMutable
ft_restart_countstd::uint64_tMutable
calibration_change_countstd::uint64_tMutable
last_record_agestd::optional<std::chrono::duration<double>>RequiredMutable
last_errorstd::stringRequiredMutable
last_ft_progressstd::string"unknown"Mutable

Receive, delivery, rate-limit, network-loss, callback, recovery, device, and measurement-sequence counters describe different boundaries. last_error is diagnostic text; branch on state, fault code, status, and counters.