// Generated by gencpp from file uavpos_ros/uavpos_ids_servo_s.msg
// DO NOT EDIT!


#ifndef UAVPOS_ROS_MESSAGE_UAVPOS_IDS_SERVO_S_H
#define UAVPOS_ROS_MESSAGE_UAVPOS_IDS_SERVO_S_H


#include <string>
#include <vector>
#include <memory>

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

#include <uavpos_ros/uavpos_ids_servo_s_sat_s.h>
#include <uavpos_ros/uavpos_ids_servo_s_gain_s.h>
#include <uavpos_ros/uavpos_ids_servo_s_emerg_s.h>

namespace uavpos_ros
{
template <class ContainerAllocator>
struct uavpos_ids_servo_s_
{
  typedef uavpos_ids_servo_s_<ContainerAllocator> Type;

  uavpos_ids_servo_s_()
    : sat()
    , gain()
    , emerg()  {
    }
  uavpos_ids_servo_s_(const ContainerAllocator& _alloc)
    : sat(_alloc)
    , gain(_alloc)
    , emerg(_alloc)  {
  (void)_alloc;
    }



   typedef  ::uavpos_ros::uavpos_ids_servo_s_sat_s_<ContainerAllocator>  _sat_type;
  _sat_type sat;

   typedef  ::uavpos_ros::uavpos_ids_servo_s_gain_s_<ContainerAllocator>  _gain_type;
  _gain_type gain;

   typedef  ::uavpos_ros::uavpos_ids_servo_s_emerg_s_<ContainerAllocator>  _emerg_type;
  _emerg_type emerg;





  typedef boost::shared_ptr< ::uavpos_ros::uavpos_ids_servo_s_<ContainerAllocator> > Ptr;
  typedef boost::shared_ptr< ::uavpos_ros::uavpos_ids_servo_s_<ContainerAllocator> const> ConstPtr;

}; // struct uavpos_ids_servo_s_

typedef ::uavpos_ros::uavpos_ids_servo_s_<std::allocator<void> > uavpos_ids_servo_s;

typedef boost::shared_ptr< ::uavpos_ros::uavpos_ids_servo_s > uavpos_ids_servo_sPtr;
typedef boost::shared_ptr< ::uavpos_ros::uavpos_ids_servo_s const> uavpos_ids_servo_sConstPtr;

// constants requiring out of line definition



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


template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator==(const ::uavpos_ros::uavpos_ids_servo_s_<ContainerAllocator1> & lhs, const ::uavpos_ros::uavpos_ids_servo_s_<ContainerAllocator2> & rhs)
{
  return lhs.sat == rhs.sat &&
    lhs.gain == rhs.gain &&
    lhs.emerg == rhs.emerg;
}

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


} // namespace uavpos_ros

namespace ros
{
namespace message_traits
{





template <class ContainerAllocator>
struct IsMessage< ::uavpos_ros::uavpos_ids_servo_s_<ContainerAllocator> >
  : TrueType
  { };

template <class ContainerAllocator>
struct IsMessage< ::uavpos_ros::uavpos_ids_servo_s_<ContainerAllocator> const>
  : TrueType
  { };

template <class ContainerAllocator>
struct IsFixedSize< ::uavpos_ros::uavpos_ids_servo_s_<ContainerAllocator> >
  : TrueType
  { };

template <class ContainerAllocator>
struct IsFixedSize< ::uavpos_ros::uavpos_ids_servo_s_<ContainerAllocator> const>
  : TrueType
  { };

template <class ContainerAllocator>
struct HasHeader< ::uavpos_ros::uavpos_ids_servo_s_<ContainerAllocator> >
  : FalseType
  { };

template <class ContainerAllocator>
struct HasHeader< ::uavpos_ros::uavpos_ids_servo_s_<ContainerAllocator> const>
  : FalseType
  { };


template<class ContainerAllocator>
struct MD5Sum< ::uavpos_ros::uavpos_ids_servo_s_<ContainerAllocator> >
{
  static const char* value()
  {
    return "84bb27f9e31dc9676eedb833a12cab11";
  }

  static const char* value(const ::uavpos_ros::uavpos_ids_servo_s_<ContainerAllocator>&) { return value(); }
  static const uint64_t static_value1 = 0x84bb27f9e31dc967ULL;
  static const uint64_t static_value2 = 0x6eedb833a12cab11ULL;
};

template<class ContainerAllocator>
struct DataType< ::uavpos_ros::uavpos_ids_servo_s_<ContainerAllocator> >
{
  static const char* value()
  {
    return "uavpos_ros/uavpos_ids_servo_s";
  }

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

template<class ContainerAllocator>
struct Definition< ::uavpos_ros::uavpos_ids_servo_s_<ContainerAllocator> >
{
  static const char* value()
  {
    return "# IDL struct ::uavpos::ids::servo_s\n"
"uavpos_ids_servo_s_sat_s sat\n"
"uavpos_ids_servo_s_gain_s gain\n"
"uavpos_ids_servo_s_emerg_s emerg\n"
"\n"
"================================================================================\n"
"MSG: uavpos_ros/uavpos_ids_servo_s_sat_s\n"
"# IDL struct ::uavpos::ids::servo_s::sat_s\n"
"float64 x\n"
"float64 v\n"
"float64 ix\n"
"\n"
"================================================================================\n"
"MSG: uavpos_ros/uavpos_ids_servo_s_gain_s\n"
"# IDL struct ::uavpos::ids::servo_s::gain_s\n"
"float64 Kpxy\n"
"float64 Kpz\n"
"float64 Kvxy\n"
"float64 Kvz\n"
"float64 Kixy\n"
"float64 Kiz\n"
"\n"
"================================================================================\n"
"MSG: uavpos_ros/uavpos_ids_servo_s_emerg_s\n"
"# IDL struct ::uavpos::ids::servo_s::emerg_s\n"
"float64 descent\n"
"float64 dx\n"
"float64 dv\n"
;
  }

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

} // namespace message_traits
} // namespace ros

namespace ros
{
namespace serialization
{

  template<class ContainerAllocator> struct Serializer< ::uavpos_ros::uavpos_ids_servo_s_<ContainerAllocator> >
  {
    template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
    {
      stream.next(m.sat);
      stream.next(m.gain);
      stream.next(m.emerg);
    }

    ROS_DECLARE_ALLINONE_SERIALIZER
  }; // struct uavpos_ids_servo_s_

} // namespace serialization
} // namespace ros

namespace ros
{
namespace message_operations
{

template<class ContainerAllocator>
struct Printer< ::uavpos_ros::uavpos_ids_servo_s_<ContainerAllocator> >
{
  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::uavpos_ros::uavpos_ids_servo_s_<ContainerAllocator>& v)
  {
    if (false || !indent.empty())
      s << std::endl;
    s << indent << "sat: ";
    Printer< ::uavpos_ros::uavpos_ids_servo_s_sat_s_<ContainerAllocator> >::stream(s, indent + "  ", v.sat);
    if (true || !indent.empty())
      s << std::endl;
    s << indent << "gain: ";
    Printer< ::uavpos_ros::uavpos_ids_servo_s_gain_s_<ContainerAllocator> >::stream(s, indent + "  ", v.gain);
    if (true || !indent.empty())
      s << std::endl;
    s << indent << "emerg: ";
    Printer< ::uavpos_ros::uavpos_ids_servo_s_emerg_s_<ContainerAllocator> >::stream(s, indent + "  ", v.emerg);
  }
};

} // namespace message_operations
} // namespace ros

#endif // UAVPOS_ROS_MESSAGE_UAVPOS_IDS_SERVO_S_H
