Flexiv RDK APIs  2.1
Public Attributes | List of all members
flexiv::rdk::PrimitiveStates Struct Reference

States data of a primitive. More...

#include <data.hpp>

Public Attributes

std::string pt_name = {}
 
std::map< std::string, FlexivDataTypesnames_and_values = {}
 

Detailed Description

States data of a primitive.

See also
Robot::primitive_states().

Definition at line 605 of file data.hpp.

Member Data Documentation

◆ names_and_values

std::map<std::string, FlexivDataTypes> flexiv::rdk::PrimitiveStates::names_and_values = {}

Names and corresponding values of this primitive's states. Booleans are represented by int 1 and 0. For example: {{"reachedTarget", 1}, {"timePeriod", 5.6}, {"forceOffset", {0.1, 0.2, -1.3}}}.

Definition at line 614 of file data.hpp.

◆ pt_name

std::string flexiv::rdk::PrimitiveStates::pt_name = {}

Name of the currently running primitive

Definition at line 608 of file data.hpp.


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