Skip to main content

Robotiq::DeviceProfile Struct

Gripper model specific profile gathering specifications such as opening range and speed.

openPosition and closedPosition are measured, not taken from the manual: with nothing between the fingers, command rPR 0 and read gPO back, then command rPR 255 and read gPO back. Do this on your own gripper when filling a new profile, especially with custom fingers.

warning

Position <-> register conversion are valid only while the gripper stays in parallel-finger mode. In encompassing mode gPO can go past closedPosition; this profile has no way to represent that, so a reading taken in encompassing mode does not convert to a meaningful opening.

warning

minOpening, maxOpening, openPosition and closedPosition depend on which fingers are installed on the gripper: swapping fingers changes the physical opening range, and can shift the measured register endpoints too.

Included Headers

#include <device_profile.hpp>

Members

Public Member Functions
constexpr doubleregisterPositionRange () const

Register steps from full opening to full closure, in parallel mode. More...

constexpr doubleopeningRange () const

Metres from full closure to full opening. More...

Public Member Attributes
doubleminSpeed

m/s More...

doublemaxSpeed

m/s More...

doubleminOpening

m — opening at closedPosition More...

doublemaxOpening

m — opening at openPosition More...

uint8_topenPosition

gPO after commanding rPR 0, measured More...

uint8_tclosedPosition

gPO after commanding rPR 255, measured More...

Public Member Functions

openingRange()

constexpr double Robotiq::DeviceProfile::openingRange ()
inline constexpr

Metres from full closure to full opening.

registerPositionRange()

constexpr double Robotiq::DeviceProfile::registerPositionRange ()
inline constexpr

Register steps from full opening to full closure, in parallel mode.

Public Member Attributes

closedPosition

uint8_t Robotiq::DeviceProfile::closedPosition

gPO after commanding rPR 255, measured

maxOpening

double Robotiq::DeviceProfile::maxOpening

m — opening at openPosition

maxSpeed

double Robotiq::DeviceProfile::maxSpeed

m/s

minOpening

double Robotiq::DeviceProfile::minOpening

m — opening at closedPosition

minSpeed

double Robotiq::DeviceProfile::minSpeed

m/s

openPosition

uint8_t Robotiq::DeviceProfile::openPosition

gPO after commanding rPR 0, measured


The documentation for this struct was generated from the following file:

  • device_profile.hpp

Generated via doxygen2docusaurus 2.2.2 by Doxygen 1.9.8.