![]()  | 
  
    Flexiv RDK APIs
    1.8.0
    
   | 
 
#include <array>#include <string>

Go to the source code of this file.
Enumerations | |
| enum class | flexiv::rdk::Mode {  UNKNOWN = 0 , IDLE , RT_JOINT_TORQUE , RT_JOINT_IMPEDANCE , NRT_JOINT_IMPEDANCE , RT_JOINT_POSITION , NRT_JOINT_POSITION , NRT_PLAN_EXECUTION , NRT_PRIMITIVE_EXECUTION , RT_CARTESIAN_MOTION_FORCE , NRT_CARTESIAN_MOTION_FORCE , NRT_SUPER_PRIMITIVE , MODES_CNT }  | 
| Robot control modes. The robot needs to be switched into the correct control mode before the corresponding commands can be sent. Refer to Flexiv RDK Manual for more details.  More... | |
Definition in file mode.hpp.
      
  | 
  strong | 
Robot control modes. The robot needs to be switched into the correct control mode before the corresponding commands can be sent. Refer to Flexiv RDK Manual for more details.
| Enumerator | |
|---|---|
| UNKNOWN | Mode not set  | 
| IDLE | No operation to execute, the robot holds position and waits for new command.  | 
| RT_JOINT_TORQUE | Run real-time joint torque control to track continuous commands @1kHz. 
 
  | 
| RT_JOINT_IMPEDANCE | Run real-time joint impedance control to track continuous commands @ 1kHz. 
 
  | 
| NRT_JOINT_IMPEDANCE | Run non-real-time joint impedance control to track discrete commands (smoothened by internal motion generator). 
 
  | 
| RT_JOINT_POSITION | Run real-time joint position control to track continuous commands @ 1kHz. 
 
  | 
| NRT_JOINT_POSITION | Run non-real-time joint position control to track discrete commands (smoothened by internal motion generator). 
 
  | 
| NRT_PLAN_EXECUTION | Execute pre-configured robot task plans. 
 
  | 
| NRT_PRIMITIVE_EXECUTION | Execute robot primitives (unit skills). 
 
  | 
| RT_CARTESIAN_MOTION_FORCE | Run real-time Cartesian motion-force control to track continuous commands @ 1kHz. 
 
  | 
| NRT_CARTESIAN_MOTION_FORCE | Run non-real-time Cartesian motion-force control to track discrete commands, smoothened by internal motion generator. 
 
  | 
| NRT_SUPER_PRIMITIVE | Run non-real-time super primitives, i.e. composite tasks that consist of various components like motion, force, vision, planning, etc. 
 
  | 
| MODES_CNT | Total number of control modes  |