Program Listing for File gripper_state.h

Return to documentation for file (include/franka/gripper_state.h)

// Copyright (c) 2023 Franka Robotics GmbH
// Use of this source code is governed by the Apache-2.0 license, see LICENSE
#pragma once

#include <cstdint>
#include <ostream>

#include <franka/duration.h>

namespace franka {

struct GripperState {
  double width{};

  double max_width{};

  bool is_grasped{};

  uint16_t temperature{};

  Duration time{};
};

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

}  // namespace franka