Skip to main content

Gripper Status

The packed GRIPPER STATUS byte (byte 0 of the status block).

Members

Classes
classGripperStatusFlags

The GRIPPER STATUS byte (byte 0 of the status block). More...

Enumerations
enum classActivationState : uint8_t { ... }
enum classObjectDetection : uint8_t { ... }
Functions
constexpr std::string_viewtoString (ActivationState state)
constexpr std::string_viewtoString (ObjectDetection detection)
std::stringtoString (GripperStatusFlags flags)

Enumerations

ActivationState

enum class Robotiq::ActivationState : uint8_t
strong
Enumeration values
Resetnot activated; rACT is clear (= detail::rm::kActivationStateReset)
InProgressactivation handshake running (= detail::rm::kActivationStateInProgress)
Reservedunallocated pattern; not activated (= detail::rm::kActivationStateReserved)
Completeactivated; ready for motion commands (= detail::rm::kActivationStateComplete)

gSTA — activation sequence state.

ObjectDetection

enum class Robotiq::ObjectDetection : uint8_t
strong
Enumeration values
Movingfingers in motion, or motion not yet requested (= detail::rm::kObjectMoving)
DetectedWhileOpeningstopped early while opening (= detail::rm::kObjectDetectedOpening)
DetectedWhileClosingstopped early while closing (= detail::rm::kObjectDetectedClosing)
AtRequestedPositionreached rPR with no object stop (= detail::rm::kObjectAtRequestedPosition)

gOBJ — object detection state.

Functions

toString()

constexpr std::string_view Robotiq::toString(ActivationStatestate
)
constexpr
Parameters
state

gSTA, as decoded by GripperStatusFlags::activationState().

Returns

The manual's mnemonic name for state.

toString()

constexpr std::string_view Robotiq::toString(ObjectDetectiondetection
)
constexpr
Parameters
detection

gOBJ, as decoded by GripperStatusFlags::objectDetection().

Returns

The manual's mnemonic name for detection.

toString()

std::string Robotiq::toString(GripperStatusFlagsflags
)
Parameters
flags

The packed GRIPPER STATUS byte to render.

Returns

flags as the manual's mnemonics (gACT, gGTO, gSTA, gOBJ), with gSTA/gOBJ decoded to their named states.


Generated via doxygen2docusaurus 2.2.2 by Doxygen 1.9.8.