Flexiv RDK APIs
1.5
include
flexiv
rdk
mode.hpp
Go to the documentation of this file.
1
6
#ifndef FLEXIV_RDK_MODE_HPP_
7
#define FLEXIV_RDK_MODE_HPP_
8
9
#include <array>
10
#include <string>
11
12
namespace
flexiv {
13
namespace
rdk {
14
21
enum class
Mode
22
{
24
UNKNOWN
= 0,
25
29
IDLE
,
30
36
RT_JOINT_TORQUE
,
37
43
RT_JOINT_IMPEDANCE
,
44
51
NRT_JOINT_IMPEDANCE
,
52
58
RT_JOINT_POSITION
,
59
66
NRT_JOINT_POSITION
,
67
73
NRT_PLAN_EXECUTION
,
74
81
NRT_PRIMITIVE_EXECUTION
,
82
88
RT_CARTESIAN_MOTION_FORCE
,
89
96
NRT_CARTESIAN_MOTION_FORCE
,
97
99
MODES_CNT
,
100
};
101
103
static
const
std::array<std::string, static_cast<size_t>(Mode::MODES_CNT)> kModeNames
104
= {
"UNKNOWN"
,
"IDLE"
,
"RT_JOINT_TORQUE"
,
"RT_JOINT_IMPEDANCE"
,
"NRT_JOINT_IMPEDANCE"
,
105
"RT_JOINT_POSITION"
,
"NRT_JOINT_POSITION"
,
"NRT_PLAN_EXECUTION"
,
"NRT_PRIMITIVE_EXECUTION"
,
106
"RT_CARTESIAN_MOTION_FORCE"
,
"NRT_CARTESIAN_MOTION_FORCE"
};
107
108
}
/* namespace rdk */
109
}
/* namespace flexiv */
110
111
#endif
/* FLEXIV_RDK_MODE_HPP_ */
flexiv::rdk::OperationalStatus::UNKNOWN
@ UNKNOWN
Unkown status.
flexiv::rdk::Mode
Mode
Robot control modes. The robot needs to be switched into the correct control mode before the correspo...
Definition:
mode.hpp:22
flexiv::rdk::Mode::NRT_CARTESIAN_MOTION_FORCE
@ NRT_CARTESIAN_MOTION_FORCE
flexiv::rdk::Mode::NRT_JOINT_IMPEDANCE
@ NRT_JOINT_IMPEDANCE
flexiv::rdk::Mode::NRT_PRIMITIVE_EXECUTION
@ NRT_PRIMITIVE_EXECUTION
flexiv::rdk::Mode::RT_JOINT_IMPEDANCE
@ RT_JOINT_IMPEDANCE
flexiv::rdk::Mode::RT_JOINT_TORQUE
@ RT_JOINT_TORQUE
flexiv::rdk::Mode::NRT_JOINT_POSITION
@ NRT_JOINT_POSITION
flexiv::rdk::Mode::RT_CARTESIAN_MOTION_FORCE
@ RT_CARTESIAN_MOTION_FORCE
flexiv::rdk::Mode::NRT_PLAN_EXECUTION
@ NRT_PLAN_EXECUTION
flexiv::rdk::Mode::IDLE
@ IDLE
flexiv::rdk::Mode::MODES_CNT
@ MODES_CNT
flexiv::rdk::Mode::RT_JOINT_POSITION
@ RT_JOINT_POSITION
Generated by
1.9.1