// Generated by gencpp from file uavatt_ros/uavatt_ids_servo_s.msg
// DO NOT EDIT!


#ifndef UAVATT_ROS_MESSAGE_UAVATT_IDS_SERVO_S_H
#define UAVATT_ROS_MESSAGE_UAVATT_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 <uavatt_ros/uavatt_ids_servo_s_satweight_s.h>
#include <uavatt_ros/uavatt_ids_servo_s_gain_s.h>
#include <uavatt_ros/uavatt_attitude_control_mode.h>
#include <uavatt_ros/uavatt_ids_servo_s_emerg_s.h>

namespace uavatt_ros
{
template <class ContainerAllocator>
struct uavatt_ids_servo_s_
{
  typedef uavatt_ids_servo_s_<ContainerAllocator> Type;

  uavatt_ids_servo_s_()
    : satweight()
    , gain()
    , att_mode()
    , ramp(0.0)
    , scale(0.0)
    , emerg()  {
    }
  uavatt_ids_servo_s_(const ContainerAllocator& _alloc)
    : satweight(_alloc)
    , gain(_alloc)
    , att_mode(_alloc)
    , ramp(0.0)
    , scale(0.0)
    , emerg(_alloc)  {
  (void)_alloc;
    }



   typedef  ::uavatt_ros::uavatt_ids_servo_s_satweight_s_<ContainerAllocator>  _satweight_type;
  _satweight_type satweight;

   typedef  ::uavatt_ros::uavatt_ids_servo_s_gain_s_<ContainerAllocator>  _gain_type;
  _gain_type gain;

   typedef  ::uavatt_ros::uavatt_attitude_control_mode_<ContainerAllocator>  _att_mode_type;
  _att_mode_type att_mode;

   typedef double _ramp_type;
  _ramp_type ramp;

   typedef double _scale_type;
  _scale_type scale;

   typedef  ::uavatt_ros::uavatt_ids_servo_s_emerg_s_<ContainerAllocator>  _emerg_type;
  _emerg_type emerg;





  typedef boost::shared_ptr< ::uavatt_ros::uavatt_ids_servo_s_<ContainerAllocator> > Ptr;
  typedef boost::shared_ptr< ::uavatt_ros::uavatt_ids_servo_s_<ContainerAllocator> const> ConstPtr;

}; // struct uavatt_ids_servo_s_

typedef ::uavatt_ros::uavatt_ids_servo_s_<std::allocator<void> > uavatt_ids_servo_s;

typedef boost::shared_ptr< ::uavatt_ros::uavatt_ids_servo_s > uavatt_ids_servo_sPtr;
typedef boost::shared_ptr< ::uavatt_ros::uavatt_ids_servo_s const> uavatt_ids_servo_sConstPtr;

// constants requiring out of line definition



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


template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator==(const ::uavatt_ros::uavatt_ids_servo_s_<ContainerAllocator1> & lhs, const ::uavatt_ros::uavatt_ids_servo_s_<ContainerAllocator2> & rhs)
{
  return lhs.satweight == rhs.satweight &&
    lhs.gain == rhs.gain &&
    lhs.att_mode == rhs.att_mode &&
    lhs.ramp == rhs.ramp &&
    lhs.scale == rhs.scale &&
    lhs.emerg == rhs.emerg;
}

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


} // namespace uavatt_ros

namespace ros
{
namespace message_traits
{





template <class ContainerAllocator>
struct IsMessage< ::uavatt_ros::uavatt_ids_servo_s_<ContainerAllocator> >
  : TrueType
  { };

template <class ContainerAllocator>
struct IsMessage< ::uavatt_ros::uavatt_ids_servo_s_<ContainerAllocator> const>
  : TrueType
  { };

template <class ContainerAllocator>
struct IsFixedSize< ::uavatt_ros::uavatt_ids_servo_s_<ContainerAllocator> >
  : TrueType
  { };

template <class ContainerAllocator>
struct IsFixedSize< ::uavatt_ros::uavatt_ids_servo_s_<ContainerAllocator> const>
  : TrueType
  { };

template <class ContainerAllocator>
struct HasHeader< ::uavatt_ros::uavatt_ids_servo_s_<ContainerAllocator> >
  : FalseType
  { };

template <class ContainerAllocator>
struct HasHeader< ::uavatt_ros::uavatt_ids_servo_s_<ContainerAllocator> const>
  : FalseType
  { };


template<class ContainerAllocator>
struct MD5Sum< ::uavatt_ros::uavatt_ids_servo_s_<ContainerAllocator> >
{
  static const char* value()
  {
    return "90217e6f9ed44a725b68c3aa58929b7a";
  }

  static const char* value(const ::uavatt_ros::uavatt_ids_servo_s_<ContainerAllocator>&) { return value(); }
  static const uint64_t static_value1 = 0x90217e6f9ed44a72ULL;
  static const uint64_t static_value2 = 0x5b68c3aa58929b7aULL;
};

template<class ContainerAllocator>
struct DataType< ::uavatt_ros::uavatt_ids_servo_s_<ContainerAllocator> >
{
  static const char* value()
  {
    return "uavatt_ros/uavatt_ids_servo_s";
  }

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

template<class ContainerAllocator>
struct Definition< ::uavatt_ros::uavatt_ids_servo_s_<ContainerAllocator> >
{
  static const char* value()
  {
    return "# IDL struct ::uavatt::ids::servo_s\n"
"uavatt_ids_servo_s_satweight_s satweight\n"
"uavatt_ids_servo_s_gain_s gain\n"
"uavatt_attitude_control_mode att_mode\n"
"float64 ramp\n"
"float64 scale\n"
"uavatt_ids_servo_s_emerg_s emerg\n"
"\n"
"================================================================================\n"
"MSG: uavatt_ros/uavatt_ids_servo_s_satweight_s\n"
"# IDL struct ::uavatt::ids::servo_s::satweight_s\n"
"bool enable\n"
"float64 thrust\n"
"float64 lateral\n"
"float64 tilt\n"
"float64 head\n"
"\n"
"================================================================================\n"
"MSG: uavatt_ros/uavatt_ids_servo_s_gain_s\n"
"# IDL struct ::uavatt::ids::servo_s::gain_s\n"
"float64 Kqxy\n"
"float64 Kqz\n"
"float64 Kwxy\n"
"float64 Kwz\n"
"\n"
"================================================================================\n"
"MSG: uavatt_ros/uavatt_attitude_control_mode\n"
"# IDL enum ::uavatt::attitude_control_mode\n"
"uint32 uavatt_full_attitude = 0\n"
"uint32 uavatt_tilt_prioritized = 1\n"
"\n"
"uint32 value\n"
"\n"
"================================================================================\n"
"MSG: uavatt_ros/uavatt_ids_servo_s_emerg_s\n"
"# IDL struct ::uavatt::ids::servo_s::emerg_s\n"
"float64 dq\n"
"float64 dw\n"
;
  }

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

} // namespace message_traits
} // namespace ros

namespace ros
{
namespace serialization
{

  template<class ContainerAllocator> struct Serializer< ::uavatt_ros::uavatt_ids_servo_s_<ContainerAllocator> >
  {
    template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
    {
      stream.next(m.satweight);
      stream.next(m.gain);
      stream.next(m.att_mode);
      stream.next(m.ramp);
      stream.next(m.scale);
      stream.next(m.emerg);
    }

    ROS_DECLARE_ALLINONE_SERIALIZER
  }; // struct uavatt_ids_servo_s_

} // namespace serialization
} // namespace ros

namespace ros
{
namespace message_operations
{

template<class ContainerAllocator>
struct Printer< ::uavatt_ros::uavatt_ids_servo_s_<ContainerAllocator> >
{
  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::uavatt_ros::uavatt_ids_servo_s_<ContainerAllocator>& v)
  {
    if (false || !indent.empty())
      s << std::endl;
    s << indent << "satweight: ";
    Printer< ::uavatt_ros::uavatt_ids_servo_s_satweight_s_<ContainerAllocator> >::stream(s, indent + "  ", v.satweight);
    if (true || !indent.empty())
      s << std::endl;
    s << indent << "gain: ";
    Printer< ::uavatt_ros::uavatt_ids_servo_s_gain_s_<ContainerAllocator> >::stream(s, indent + "  ", v.gain);
    if (true || !indent.empty())
      s << std::endl;
    s << indent << "att_mode: ";
    Printer< ::uavatt_ros::uavatt_attitude_control_mode_<ContainerAllocator> >::stream(s, indent + "  ", v.att_mode);
    if (true || !indent.empty())
      s << std::endl;
    s << indent << "ramp: ";
    Printer<double>::stream(s, indent + "  ", v.ramp);
    if (true || !indent.empty())
      s << std::endl;
    s << indent << "scale: ";
    Printer<double>::stream(s, indent + "  ", v.scale);
    if (true || !indent.empty())
      s << std::endl;
    s << indent << "emerg: ";
    Printer< ::uavatt_ros::uavatt_ids_servo_s_emerg_s_<ContainerAllocator> >::stream(s, indent + "  ", v.emerg);
  }
};

} // namespace message_operations
} // namespace ros

#endif // UAVATT_ROS_MESSAGE_UAVATT_IDS_SERVO_S_H
