Flexiv RDK APIs  1.7.0
Public Types | Public Attributes | List of all members
flexiv::rdk::RobotEvent Struct Reference

Information about a robot event. More...

#include <data.hpp>

Public Types

enum  Level {
  UNKNOWN = 0 , INFO , WARNING , ERROR ,
  CRITICAL
}
 

Public Attributes

Level level = UNKNOWN
 
int id = 0
 
std::string description = ""
 
std::string consequences = ""
 
std::string probable_causes = ""
 
std::string recommended_actions = ""
 
std::chrono::time_point< std::chrono::system_clock > timestamp
 

Detailed Description

Information about a robot event.

See also
Robot::event_log().

Definition at line 69 of file data.hpp.

Member Data Documentation

◆ consequences

std::string flexiv::rdk::RobotEvent::consequences = ""

Consequences caused by the event

Definition at line 90 of file data.hpp.

◆ description

std::string flexiv::rdk::RobotEvent::description = ""

Brief description of the event

Definition at line 87 of file data.hpp.

◆ id

int flexiv::rdk::RobotEvent::id = 0

Unique ID of the event

Definition at line 84 of file data.hpp.

◆ level

Level flexiv::rdk::RobotEvent::level = UNKNOWN

Level of the event

Definition at line 81 of file data.hpp.

◆ probable_causes

std::string flexiv::rdk::RobotEvent::probable_causes = ""

Probable causes of the event

Definition at line 93 of file data.hpp.

◆ recommended_actions

std::string flexiv::rdk::RobotEvent::recommended_actions = ""

Recommended actions after the event

Definition at line 96 of file data.hpp.

◆ timestamp

std::chrono::time_point<std::chrono::system_clock> flexiv::rdk::RobotEvent::timestamp

Timestamp (since epoch) of the event

Definition at line 99 of file data.hpp.


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