// Generated by gencpp from file moveit_msgs/GripperTranslation.msg
// DO NOT EDIT!


#ifndef MOVEIT_MSGS_MESSAGE_GRIPPERTRANSLATION_H
#define MOVEIT_MSGS_MESSAGE_GRIPPERTRANSLATION_H


#include <string>
#include <vector>
#include <map>

#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_message_traits.h>
#include <ros/message_operations.h>

#include <geometry_msgs/Vector3Stamped.h>

namespace moveit_msgs
{
template <class ContainerAllocator>
struct GripperTranslation_
{
  typedef GripperTranslation_<ContainerAllocator> Type;

  GripperTranslation_()
    : direction()
    , desired_distance(0.0)
    , min_distance(0.0)  {
    }
  GripperTranslation_(const ContainerAllocator& _alloc)
    : direction(_alloc)
    , desired_distance(0.0)
    , min_distance(0.0)  {
  (void)_alloc;
    }



   typedef  ::geometry_msgs::Vector3Stamped_<ContainerAllocator>  _direction_type;
  _direction_type direction;

   typedef float _desired_distance_type;
  _desired_distance_type desired_distance;

   typedef float _min_distance_type;
  _min_distance_type min_distance;





  typedef boost::shared_ptr< ::moveit_msgs::GripperTranslation_<ContainerAllocator> > Ptr;
  typedef boost::shared_ptr< ::moveit_msgs::GripperTranslation_<ContainerAllocator> const> ConstPtr;

}; // struct GripperTranslation_

typedef ::moveit_msgs::GripperTranslation_<std::allocator<void> > GripperTranslation;

typedef boost::shared_ptr< ::moveit_msgs::GripperTranslation > GripperTranslationPtr;
typedef boost::shared_ptr< ::moveit_msgs::GripperTranslation const> GripperTranslationConstPtr;

// constants requiring out of line definition



template<typename ContainerAllocator>
std::ostream& operator<<(std::ostream& s, const ::moveit_msgs::GripperTranslation_<ContainerAllocator> & v)
{
ros::message_operations::Printer< ::moveit_msgs::GripperTranslation_<ContainerAllocator> >::stream(s, "", v);
return s;
}


template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator==(const ::moveit_msgs::GripperTranslation_<ContainerAllocator1> & lhs, const ::moveit_msgs::GripperTranslation_<ContainerAllocator2> & rhs)
{
  return lhs.direction == rhs.direction &&
    lhs.desired_distance == rhs.desired_distance &&
    lhs.min_distance == rhs.min_distance;
}

template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator!=(const ::moveit_msgs::GripperTranslation_<ContainerAllocator1> & lhs, const ::moveit_msgs::GripperTranslation_<ContainerAllocator2> & rhs)
{
  return !(lhs == rhs);
}


} // namespace moveit_msgs

namespace ros
{
namespace message_traits
{





template <class ContainerAllocator>
struct IsMessage< ::moveit_msgs::GripperTranslation_<ContainerAllocator> >
  : TrueType
  { };

template <class ContainerAllocator>
struct IsMessage< ::moveit_msgs::GripperTranslation_<ContainerAllocator> const>
  : TrueType
  { };

template <class ContainerAllocator>
struct IsFixedSize< ::moveit_msgs::GripperTranslation_<ContainerAllocator> >
  : FalseType
  { };

template <class ContainerAllocator>
struct IsFixedSize< ::moveit_msgs::GripperTranslation_<ContainerAllocator> const>
  : FalseType
  { };

template <class ContainerAllocator>
struct HasHeader< ::moveit_msgs::GripperTranslation_<ContainerAllocator> >
  : FalseType
  { };

template <class ContainerAllocator>
struct HasHeader< ::moveit_msgs::GripperTranslation_<ContainerAllocator> const>
  : FalseType
  { };


template<class ContainerAllocator>
struct MD5Sum< ::moveit_msgs::GripperTranslation_<ContainerAllocator> >
{
  static const char* value()
  {
    return "b53bc0ad0f717cdec3b0e42dec300121";
  }

  static const char* value(const ::moveit_msgs::GripperTranslation_<ContainerAllocator>&) { return value(); }
  static const uint64_t static_value1 = 0xb53bc0ad0f717cdeULL;
  static const uint64_t static_value2 = 0xc3b0e42dec300121ULL;
};

template<class ContainerAllocator>
struct DataType< ::moveit_msgs::GripperTranslation_<ContainerAllocator> >
{
  static const char* value()
  {
    return "moveit_msgs/GripperTranslation";
  }

  static const char* value(const ::moveit_msgs::GripperTranslation_<ContainerAllocator>&) { return value(); }
};

template<class ContainerAllocator>
struct Definition< ::moveit_msgs::GripperTranslation_<ContainerAllocator> >
{
  static const char* value()
  {
    return "# defines a translation for the gripper, used in pickup or place tasks\n"
"# for example for lifting an object off a table or approaching the table for placing\n"
"\n"
"# the direction of the translation\n"
"geometry_msgs/Vector3Stamped direction\n"
"\n"
"# the desired translation distance\n"
"float32 desired_distance\n"
"\n"
"# the min distance that must be considered feasible before the\n"
"# grasp is even attempted\n"
"float32 min_distance\n"
"\n"
"================================================================================\n"
"MSG: geometry_msgs/Vector3Stamped\n"
"# This represents a Vector3 with reference coordinate frame and timestamp\n"
"Header header\n"
"Vector3 vector\n"
"\n"
"================================================================================\n"
"MSG: std_msgs/Header\n"
"# Standard metadata for higher-level stamped data types.\n"
"# This is generally used to communicate timestamped data \n"
"# in a particular coordinate frame.\n"
"# \n"
"# sequence ID: consecutively increasing ID \n"
"uint32 seq\n"
"#Two-integer timestamp that is expressed as:\n"
"# * stamp.sec: seconds (stamp_secs) since epoch (in Python the variable is called 'secs')\n"
"# * stamp.nsec: nanoseconds since stamp_secs (in Python the variable is called 'nsecs')\n"
"# time-handling sugar is provided by the client library\n"
"time stamp\n"
"#Frame this data is associated with\n"
"string frame_id\n"
"\n"
"================================================================================\n"
"MSG: geometry_msgs/Vector3\n"
"# This represents a vector in free space. \n"
"# It is only meant to represent a direction. Therefore, it does not\n"
"# make sense to apply a translation to it (e.g., when applying a \n"
"# generic rigid transformation to a Vector3, tf2 will only apply the\n"
"# rotation). If you want your data to be translatable too, use the\n"
"# geometry_msgs/Point message instead.\n"
"\n"
"float64 x\n"
"float64 y\n"
"float64 z\n"
;
  }

  static const char* value(const ::moveit_msgs::GripperTranslation_<ContainerAllocator>&) { return value(); }
};

} // namespace message_traits
} // namespace ros

namespace ros
{
namespace serialization
{

  template<class ContainerAllocator> struct Serializer< ::moveit_msgs::GripperTranslation_<ContainerAllocator> >
  {
    template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
    {
      stream.next(m.direction);
      stream.next(m.desired_distance);
      stream.next(m.min_distance);
    }

    ROS_DECLARE_ALLINONE_SERIALIZER
  }; // struct GripperTranslation_

} // namespace serialization
} // namespace ros

namespace ros
{
namespace message_operations
{

template<class ContainerAllocator>
struct Printer< ::moveit_msgs::GripperTranslation_<ContainerAllocator> >
{
  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::moveit_msgs::GripperTranslation_<ContainerAllocator>& v)
  {
    s << indent << "direction: ";
    s << std::endl;
    Printer< ::geometry_msgs::Vector3Stamped_<ContainerAllocator> >::stream(s, indent + "  ", v.direction);
    s << indent << "desired_distance: ";
    Printer<float>::stream(s, indent + "  ", v.desired_distance);
    s << indent << "min_distance: ";
    Printer<float>::stream(s, indent + "  ", v.min_distance);
  }
};

} // namespace message_operations
} // namespace ros

#endif // MOVEIT_MSGS_MESSAGE_GRIPPERTRANSLATION_H
