libfranka  0.8.0
FCI C++ API
Classes | Functions
gripper_state.h File Reference

Contains the franka::GripperState type. More...

#include <cstdint>
#include <ostream>
#include <franka/duration.h>
Include dependency graph for gripper_state.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  franka::GripperState
 Describes the gripper state. More...
 

Functions

std::ostream & franka::operator<< (std::ostream &ostream, const franka::GripperState &gripper_state)
 Streams the gripper state as JSON object: {"field_name_1": value, "field_name_2": value, ...}. More...
 

Detailed Description

Contains the franka::GripperState type.

Function Documentation

◆ operator<<()

std::ostream& franka::operator<< ( std::ostream &  ostream,
const franka::GripperState gripper_state 
)

Streams the gripper state as JSON object: {"field_name_1": value, "field_name_2": value, ...}.

Parameters
[in]ostreamOstream instance
[in]gripper_stateGripperState struct instance to stream
Returns
Ostream instance