Protective Stop
Loading...
Searching...
No Matches
robot_state_t Struct Reference

Stop/restart state of the robot. More...

#include <machine.h>

Public Attributes

int robot_state
 ROBOT_STATE_OK or ROBOT_STATE_STOPPED.
uint32_t remote_stop_id
 The client ID that caused the robot to stop if stopped.
int restart_state
 0 = everything is OK 1 = need stop message 2 = stop received
uint64_t stop_time_ms
 Minimum time between a stop and ok message before ok transition.

Detailed Description

Stop/restart state of the robot.

Member Data Documentation

◆ remote_stop_id

uint32_t robot_state_t::remote_stop_id

The client ID that caused the robot to stop if stopped.

0 if robot is not stopped or if applicaton just started Or the client ID that has started the stop/ok cycle to get robot moving.


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