Protective Stop
Loading...
Searching...
No Matches
protective_stop_machine::MachineSnapshot Struct Reference

One immutable read of machine state, mapped straight onto the ROS messages. More...

#include <backend.hpp>

Collaboration diagram for protective_stop_machine::MachineSnapshot:
[legend]

Public Member Functions

MachineState state () const
 State derived from reachable and running.

Public Attributes

bool reachable {false}
 Backend can reach the machine.
bool running {false}
 Machine is cleared to run.
bool need_stop {false}
 Machine awaits a STOP before it can be re-armed.
std::string status_reason
 Human-readable cause of the current state.
RelayInfo relay
 Relay state.
std::vector< RemoteInfo > remotes
 Known remotes.
uint32_t active_remotes {0}
 Number of bonded remotes.
uint32_t heartbeat_timeout_stops {0}
 Stops caused by a remote missing its heartbeats, since the backend started.
uint32_t bonds_refused {0}
 Bonds refused by the allow/denylist, since the backend started.

Detailed Description

One immutable read of machine state, mapped straight onto the ROS messages.

Member Data Documentation

◆ bonds_refused

uint32_t protective_stop_machine::MachineSnapshot::bonds_refused {0}

Bonds refused by the allow/denylist, since the backend started.

Software backend only.

◆ heartbeat_timeout_stops

uint32_t protective_stop_machine::MachineSnapshot::heartbeat_timeout_stops {0}

Stops caused by a remote missing its heartbeats, since the backend started.

Software backend only.


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