Enum MotionType
Defined in File motion_primitives.h
Enum Documentation
-
enum class urcl::control::MotionType : uint8_t
Discriminator for the motion primitive type sent over the trajectory interface.
The base values (
MOVEJ,MOVEL,MOVEP,MOVEC,OPTIMOVEJ,OPTIMOVEL) use their “natural” target type for the URScript command (joint configuration formovej/optimovej, Cartesian pose formovel/movep/movec/optimovel). The additional*_POSEand*_JOINTentries indicate that the other target kind was requested, e.g.MOVEJ_POSEperforms amovejtowards a Cartesian pose, andMOVEC_POSE_JOINTperforms amovecwhose via point is a Cartesian pose and whose target is a joint configuration.These values must stay in sync with the
MOTION_TYPE_*constants inresources/external_control.urscript.Values:
-
enumerator MOVEJ
movejtowards a joint configuration.
-
enumerator MOVEL
moveltowards a Cartesian pose.
-
enumerator MOVEP
moveptowards a Cartesian pose.
-
enumerator MOVEC
movecwith via and target as Cartesian poses.
-
enumerator OPTIMOVEJ
optimovejtowards a joint configuration.
-
enumerator OPTIMOVEL
optimoveltowards a Cartesian pose.
-
enumerator MOVEJ_POSE
movejtowards a Cartesian pose.
-
enumerator MOVEL_JOINT
moveltowards a joint configuration.
-
enumerator MOVEP_JOINT
moveptowards a joint configuration.
-
enumerator MOVEC_JOINT
movecwith via and target both as joint configurations.
-
enumerator MOVEC_JOINT_POSE
movecwith a Cartesian via and a joint target.
-
enumerator MOVEC_POSE_JOINT
movecwith a joint via and a Cartesian target.
-
enumerator OPTIMOVEJ_POSE
optimovejtowards a Cartesian pose.
-
enumerator OPTIMOVEL_JOINT
optimoveltowards a joint configuration.
-
enumerator SPLINE
-
enumerator UNKNOWN
-
enumerator MOVEJ