libfranka 0.15.0
FCI C++ API
Loading...
Searching...
No Matches
gripper_state.h
Go to the documentation of this file.
1// Copyright (c) 2023 Franka Robotics GmbH
2// Use of this source code is governed by the Apache-2.0 license, see LICENSE
3#pragma once
4
5#include <cstdint>
6#include <ostream>
7
8#include <franka/duration.h>
9
15namespace franka {
16
24 double width{};
25
33 double max_width{};
34
38 bool is_grasped{};
39
43 uint16_t temperature{};
44
49};
50
59std::ostream& operator<<(std::ostream& ostream, const franka::GripperState& gripper_state);
60
61} // namespace franka
Represents a duration with millisecond resolution.
Definition duration.h:19
Contains the franka::Duration type.
std::ostream & operator<<(std::ostream &ostream, const Errors &errors)
Streams the errors as JSON array.
Describes the gripper state.
Definition gripper_state.h:20
Duration time
Strictly monotonically increasing timestamp since robot start.
Definition gripper_state.h:48
bool is_grasped
Indicates whether an object is currently grasped.
Definition gripper_state.h:38
uint16_t temperature
Current gripper temperature.
Definition gripper_state.h:43
double max_width
Maximum gripper opening width.
Definition gripper_state.h:33
double width
Current gripper opening width.
Definition gripper_state.h:24