Flexiv RDK APIs  1.6.0
Classes | Functions
gripper.hpp File Reference
#include "robot.hpp"
#include <memory>
Include dependency graph for gripper.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  flexiv::rdk::GripperParams
 Data structure containing the gripper parameters. More...
 
struct  flexiv::rdk::GripperStates
 Data structure containing the gripper states. More...
 
class  flexiv::rdk::Gripper
 Interface with the robot gripper. Because gripper is also a type of device, this API uses the same underlying infrastructure as rdk::Device, but with functions tailored specifically for gripper controls. More...
 

Functions

std::ostream & flexiv::rdk::operator<< (std::ostream &ostream, const GripperStates &gripper_states)
 Operator overloading to out stream all gripper states in JSON format: {"state_1": [val1,val2,val3,...], "state_2": [val1,val2,val3,...], ...}. More...
 

Detailed Description

Definition in file gripper.hpp.

Function Documentation

◆ operator<<()

std::ostream& flexiv::rdk::operator<< ( std::ostream &  ostream,
const GripperStates gripper_states 
)

Operator overloading to out stream all gripper states in JSON format: {"state_1": [val1,val2,val3,...], "state_2": [val1,val2,val3,...], ...}.

Parameters
[in]ostreamOstream instance.
[in]gripper_statesGripperStates data structure to out stream.
Returns
Updated ostream instance.