libfranka 0.15.0
FCI C++ API
Loading...
Searching...
No Matches
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 class  franka::VacuumGripperDeviceStatus : uint8_t { kGreen , kYellow , kOrange , kRed }
 Vacuum gripper device status. More...
 

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, ...}.
 

Detailed Description

Contains the franka::VacuumGripperState type.

Enumeration Type Documentation

◆ VacuumGripperDeviceStatus

enum class franka::VacuumGripperDeviceStatus : uint8_t
strong

Vacuum gripper device status.

Enumerator
kGreen 

Device is working optimally.

kYellow 

Device is working but there are warnings.

kOrange 

Device is working but there are severe warnings.

kRed 

Device is not working properly.

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