Flexiv RDK APIs
1.4
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
namespace
flexiv {
10
namespace
rdk {
11
18
enum
Mode
19
{
21
UNKNOWN
= 0,
22
26
IDLE
,
27
33
RT_JOINT_TORQUE
,
34
40
RT_JOINT_IMPEDANCE
,
41
48
NRT_JOINT_IMPEDANCE
,
49
55
RT_JOINT_POSITION
,
56
63
NRT_JOINT_POSITION
,
64
70
NRT_PLAN_EXECUTION
,
71
78
NRT_PRIMITIVE_EXECUTION
,
79
85
RT_CARTESIAN_MOTION_FORCE
,
86
93
NRT_CARTESIAN_MOTION_FORCE
,
94
96
MODES_CNT
,
97
};
98
100
static
const
std::array<std::string, MODES_CNT> kModeNames
101
= {
"UNKNOWN"
,
"IDLE"
,
"RT_JOINT_TORQUE"
,
"RT_JOINT_IMPEDANCE"
,
"NRT_JOINT_IMPEDANCE"
,
102
"RT_JOINT_POSITION"
,
"NRT_JOINT_POSITION"
,
"NRT_PLAN_EXECUTION"
,
"NRT_PRIMITIVE_EXECUTION"
,
103
"RT_CARTESIAN_MOTION_FORCE"
,
"NRT_CARTESIAN_MOTION_FORCE"
};
104
105
}
/* namespace rdk */
106
}
/* namespace flexiv */
107
108
#endif
/* FLEXIV_RDK_MODE_HPP_ */
flexiv::rdk::Mode
Mode
Robot control modes. The robot needs to be switched into the correct control mode before the correspo...
Definition:
mode.hpp:19
flexiv::rdk::NRT_JOINT_POSITION
@ NRT_JOINT_POSITION
Definition:
mode.hpp:63
flexiv::rdk::MODES_CNT
@ MODES_CNT
Definition:
mode.hpp:96
flexiv::rdk::NRT_CARTESIAN_MOTION_FORCE
@ NRT_CARTESIAN_MOTION_FORCE
Definition:
mode.hpp:93
flexiv::rdk::UNKNOWN
@ UNKNOWN
Definition:
mode.hpp:21
flexiv::rdk::NRT_JOINT_IMPEDANCE
@ NRT_JOINT_IMPEDANCE
Definition:
mode.hpp:48
flexiv::rdk::RT_JOINT_IMPEDANCE
@ RT_JOINT_IMPEDANCE
Definition:
mode.hpp:40
flexiv::rdk::RT_JOINT_TORQUE
@ RT_JOINT_TORQUE
Definition:
mode.hpp:33
flexiv::rdk::RT_JOINT_POSITION
@ RT_JOINT_POSITION
Definition:
mode.hpp:55
flexiv::rdk::RT_CARTESIAN_MOTION_FORCE
@ RT_CARTESIAN_MOTION_FORCE
Definition:
mode.hpp:85
flexiv::rdk::NRT_PLAN_EXECUTION
@ NRT_PLAN_EXECUTION
Definition:
mode.hpp:70
flexiv::rdk::IDLE
@ IDLE
Definition:
mode.hpp:26
flexiv::rdk::NRT_PRIMITIVE_EXECUTION
@ NRT_PRIMITIVE_EXECUTION
Definition:
mode.hpp:78
Generated by
1.9.1