![]() |
Flexiv RDK APIs
2.1
|
Header file containing various constant expressions, data structures, and enums. More...
#include <array>#include <vector>#include <string>#include <ostream>#include <variant>#include <chrono>#include <map>

Go to the source code of this file.
Classes | |
| struct | flexiv::rdk::RobotEvent |
| Information about a robot event. More... | |
| struct | flexiv::rdk::RobotInfo |
| General information about the connected robot. More... | |
| struct | flexiv::rdk::RobotStates |
| Robot states data in joint and Cartesian space for a joint group. More... | |
| struct | flexiv::rdk::RobotActions |
| Robot actions data in joint and Cartesian space for a joint group. More... | |
| struct | flexiv::rdk::PlanInfo |
| Information of the on-going primitive/plan. More... | |
| struct | flexiv::rdk::JPos |
| Data structure representing the customized data type "JPOS" in Flexiv Elements. More... | |
| struct | flexiv::rdk::Coord |
| Data structure representing the customized data type "COORD" in Flexiv Elements. More... | |
| struct | flexiv::rdk::PrimitiveArgs |
| Arguments of a primitive command. More... | |
| struct | flexiv::rdk::PrimitiveStates |
| States data of a primitive. More... | |
| struct | flexiv::rdk::RtJointTorqueCmd |
| Commands data for real-time joint torque control. More... | |
| struct | flexiv::rdk::RtJointPositionCmd |
| Commands data for real-time joint position control. More... | |
| struct | flexiv::rdk::NrtJointPositionCmd |
| Commands data for non-real-time joint position control. More... | |
| struct | flexiv::rdk::RtCartesianCmd |
| Commands data for real-time Cartesian motion-force control. More... | |
| struct | flexiv::rdk::NrtCartesianCmd |
| Commands data for non-real-time Cartesian motion-force control. More... | |
| struct | flexiv::rdk::NrtCartesianMultiWaypointCmd |
| Commands data for non-real-time Cartesian multi-waypoint motion-force control. More... | |
Typedefs | |
| using | flexiv::rdk::FlexivDataTypes = std::variant< int, double, std::string, rdk::JPos, rdk::Coord, std::vector< int >, std::vector< double >, std::vector< std::string >, std::vector< rdk::JPos >, std::vector< rdk::Coord > > |
Enumerations | |
| enum class | flexiv::rdk::ProductModel { UNKNOWN = 0 , Enlight_L , Enlight_LL , MICO_Core , MICO_Plus , MICO_Ultra } |
| All supported product models of the robot. More... | |
| enum class | flexiv::rdk::JointGroup { UNKNOWN = -1 , ALL = 0 , ARMS = 2 , ARM_1 = 3 , ARM_2 = 4 , EXT_AXIS = 5 , FIRST = ALL , LAST = EXT_AXIS } |
| All possible joint groups of the robot. More... | |
| enum class | flexiv::rdk::OperationalStatus { UNKNOWN = 0 , READY , BOOTING , ESTOP_NOT_RELEASED , NOT_SERVO_ON , RELEASING_BRAKE , MINOR_FAULT , CRITICAL_FAULT , IN_REDUCED_STATE , IN_RECOVERY_STATE , IN_MANUAL_MODE , IN_AUTO_MODE } |
| All possible operational statuses of the robot. Except for the first two, the other enumerators indicate the cause of the robot being not ready to operate. More... | |
| enum class | flexiv::rdk::CoordType { WORLD , TCP } |
| Type of commonly-used reference coordinates. More... | |
| enum class | flexiv::rdk::SyncMotionMode { DISABLE = 0 , ARM1_TCP = 1 , ARM2_TCP = 2 , POSITIONER = 3 } |
| Modes for synchronous motions. More... | |
Functions | |
| std::ostream & | flexiv::rdk::operator<< (std::ostream &ostream, const RobotEvent &robot_event) |
| Operator overloading to out stream all members of RobotEvent in JSON format. More... | |
| std::ostream & | flexiv::rdk::operator<< (std::ostream &ostream, const RobotInfo &robot_info) |
| Operator overloading to out stream all members of RobotInfo in JSON format. More... | |
| std::ostream & | flexiv::rdk::operator<< (std::ostream &ostream, const RobotStates &robot_states) |
| Operator overloading to out stream all members of RobotStates in JSON format. More... | |
| std::ostream & | flexiv::rdk::operator<< (std::ostream &ostream, const RobotActions &robot_actions) |
| Operator overloading to out stream all members of RobotActions in JSON format. More... | |
| std::ostream & | flexiv::rdk::operator<< (std::ostream &ostream, const PlanInfo &plan_info) |
| Operator overloading to out stream all members of PlanInfo in JSON format. More... | |
Variables | |
| constexpr size_t | flexiv::rdk::kCartDoF = 6 |
| constexpr size_t | flexiv::rdk::kSerialJointDoF = 7 |
| constexpr size_t | flexiv::rdk::kPoseSize = 7 |
| constexpr size_t | flexiv::rdk::kIOPorts = 16 + 2 * 2 |
| constexpr size_t | flexiv::rdk::kMaxExtAxes = 6 |
| const std::map< ProductModel, std::string > | flexiv::rdk::kProductModelNames |
| const std::map< JointGroup, std::string > | flexiv::rdk::kJointGroupNames |
| const std::map< OperationalStatus, std::string > | flexiv::rdk::kOpStatusNames |
Header file containing various constant expressions, data structures, and enums.
Definition in file data.hpp.
| using flexiv::rdk::FlexivDataTypes = typedef std::variant<int, double, std::string, rdk::JPos, rdk::Coord, std::vector<int>, std::vector<double>, std::vector<std::string>, std::vector<rdk::JPos>, std::vector<rdk::Coord> > |
|
strong |
|
strong |
All possible joint groups of the robot.
|
strong |
All possible operational statuses of the robot. Except for the first two, the other enumerators indicate the cause of the robot being not ready to operate.
|
strong |
|
strong |
| std::ostream& flexiv::rdk::operator<< | ( | std::ostream & | ostream, |
| const PlanInfo & | plan_info | ||
| ) |
Operator overloading to out stream all members of PlanInfo in JSON format.
| [in] | ostream | Ostream instance. |
| [in] | plan_info | PlanInfo data structure to out stream. |
| std::ostream& flexiv::rdk::operator<< | ( | std::ostream & | ostream, |
| const RobotActions & | robot_actions | ||
| ) |
Operator overloading to out stream all members of RobotActions in JSON format.
| [in] | ostream | Ostream instance. |
| [in] | robot_actions | RobotActions data structure to out stream. |
| std::ostream& flexiv::rdk::operator<< | ( | std::ostream & | ostream, |
| const RobotEvent & | robot_event | ||
| ) |
Operator overloading to out stream all members of RobotEvent in JSON format.
| [in] | ostream | Ostream instance. |
| [in] | robot_event | RobotEvent data structure to out stream. |
| std::ostream& flexiv::rdk::operator<< | ( | std::ostream & | ostream, |
| const RobotInfo & | robot_info | ||
| ) |
Operator overloading to out stream all members of RobotInfo in JSON format.
| [in] | ostream | Ostream instance. |
| [in] | robot_info | RobotInfo data structure to out stream. |
| std::ostream& flexiv::rdk::operator<< | ( | std::ostream & | ostream, |
| const RobotStates & | robot_states | ||
| ) |
Operator overloading to out stream all members of RobotStates in JSON format.
| [in] | ostream | Ostream instance. |
| [in] | robot_states | RobotStates data structure to out stream. |
|
constexpr |
|
constexpr |
|
inline |
Map JointGroup enums to strings
|
constexpr |
|
inline |
Map OperationalStatus enums to strings
|
constexpr |
|
inline |
Map ProductModel enums to strings