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

Contains the franka::VacuumGripperState type. More...

#include <cstdint>
#include <ostream>
#include <string>
#include <franka/duration.h>
Include dependency graph for vacuum_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::VacuumGripperState
 Describes the vacuum gripper state. More...
 

Enumerations

enum  franka::VacuumGripperDeviceStatus : uint8_t { franka::VacuumGripperDeviceStatus::kGreen, franka::VacuumGripperDeviceStatus::kYellow, franka::VacuumGripperDeviceStatus::kOrange, franka::VacuumGripperDeviceStatus::kRed }
 Vacuum gripper device status.
 

Functions

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

Detailed Description

Contains the franka::VacuumGripperState type.

Function Documentation

◆ operator<<()

std::ostream& franka::operator<< ( std::ostream &  ostream,
const franka::VacuumGripperState vacuum_gripper_state 
)

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

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