libfranka 0.15.0
FCI C++ API
Loading...
Searching...
No Matches
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, ...}.
 

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