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


#ifndef UAVATT_ROS_MESSAGE_UAVATT_IDS_BODY_S_H
#define UAVATT_ROS_MESSAGE_UAVATT_IDS_BODY_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>


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

  uavatt_ids_body_s_()
    : G()
    , iG()
    , mass(0.0)
    , rotors(0)
    , wmin(0.0)
    , wmax(0.0)
    , wrench_min()
    , wrench_max()
    , init(false)  {
      G.assign(0.0);

      iG.assign(0.0);

      wrench_min.assign(0.0);

      wrench_max.assign(0.0);
  }
  uavatt_ids_body_s_(const ContainerAllocator& _alloc)
    : G()
    , iG()
    , mass(0.0)
    , rotors(0)
    , wmin(0.0)
    , wmax(0.0)
    , wrench_min()
    , wrench_max()
    , init(false)  {
  (void)_alloc;
      G.assign(0.0);

      iG.assign(0.0);

      wrench_min.assign(0.0);

      wrench_max.assign(0.0);
  }



   typedef boost::array<double, 48>  _G_type;
  _G_type G;

   typedef boost::array<double, 48>  _iG_type;
  _iG_type iG;

   typedef double _mass_type;
  _mass_type mass;

   typedef uint16_t _rotors_type;
  _rotors_type rotors;

   typedef double _wmin_type;
  _wmin_type wmin;

   typedef double _wmax_type;
  _wmax_type wmax;

   typedef boost::array<double, 6>  _wrench_min_type;
  _wrench_min_type wrench_min;

   typedef boost::array<double, 6>  _wrench_max_type;
  _wrench_max_type wrench_max;

   typedef uint8_t _init_type;
  _init_type init;





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

}; // struct uavatt_ids_body_s_

typedef ::uavatt_ros::uavatt_ids_body_s_<std::allocator<void> > uavatt_ids_body_s;

typedef boost::shared_ptr< ::uavatt_ros::uavatt_ids_body_s > uavatt_ids_body_sPtr;
typedef boost::shared_ptr< ::uavatt_ros::uavatt_ids_body_s const> uavatt_ids_body_sConstPtr;

// constants requiring out of line definition



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


template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator==(const ::uavatt_ros::uavatt_ids_body_s_<ContainerAllocator1> & lhs, const ::uavatt_ros::uavatt_ids_body_s_<ContainerAllocator2> & rhs)
{
  return lhs.G == rhs.G &&
    lhs.iG == rhs.iG &&
    lhs.mass == rhs.mass &&
    lhs.rotors == rhs.rotors &&
    lhs.wmin == rhs.wmin &&
    lhs.wmax == rhs.wmax &&
    lhs.wrench_min == rhs.wrench_min &&
    lhs.wrench_max == rhs.wrench_max &&
    lhs.init == rhs.init;
}

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


} // namespace uavatt_ros

namespace ros
{
namespace message_traits
{





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

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

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

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

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

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


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

  static const char* value(const ::uavatt_ros::uavatt_ids_body_s_<ContainerAllocator>&) { return value(); }
  static const uint64_t static_value1 = 0xe76f6b69914be5b6ULL;
  static const uint64_t static_value2 = 0x0cd355d4881b30d5ULL;
};

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

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

template<class ContainerAllocator>
struct Definition< ::uavatt_ros::uavatt_ids_body_s_<ContainerAllocator> >
{
  static const char* value()
  {
    return "# IDL struct ::uavatt::ids::body_s\n"
"float64[48] G\n"
"float64[48] iG\n"
"float64 mass\n"
"uint16 rotors\n"
"float64 wmin\n"
"float64 wmax\n"
"float64[6] wrench_min\n"
"float64[6] wrench_max\n"
"bool init\n"
;
  }

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

} // namespace message_traits
} // namespace ros

namespace ros
{
namespace serialization
{

  template<class ContainerAllocator> struct Serializer< ::uavatt_ros::uavatt_ids_body_s_<ContainerAllocator> >
  {
    template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
    {
      stream.next(m.G);
      stream.next(m.iG);
      stream.next(m.mass);
      stream.next(m.rotors);
      stream.next(m.wmin);
      stream.next(m.wmax);
      stream.next(m.wrench_min);
      stream.next(m.wrench_max);
      stream.next(m.init);
    }

    ROS_DECLARE_ALLINONE_SERIALIZER
  }; // struct uavatt_ids_body_s_

} // namespace serialization
} // namespace ros

namespace ros
{
namespace message_operations
{

template<class ContainerAllocator>
struct Printer< ::uavatt_ros::uavatt_ids_body_s_<ContainerAllocator> >
{
  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::uavatt_ros::uavatt_ids_body_s_<ContainerAllocator>& v)
  {
    if (false || !indent.empty())
      s << std::endl;
    s << indent << "G: ";
    if (v.G.empty() || true)
      s << "[";
    for (size_t i = 0; i < v.G.size(); ++i)
    {
      if (true && i > 0)
        s << ", ";
      else if (!true)
        s << std::endl << indent << "  -";
      Printer<double>::stream(s, true ? std::string() : indent + "    ", v.G[i]);
    }
    if (v.G.empty() || true)
      s << "]";
    if (true || !indent.empty())
      s << std::endl;
    s << indent << "iG: ";
    if (v.iG.empty() || true)
      s << "[";
    for (size_t i = 0; i < v.iG.size(); ++i)
    {
      if (true && i > 0)
        s << ", ";
      else if (!true)
        s << std::endl << indent << "  -";
      Printer<double>::stream(s, true ? std::string() : indent + "    ", v.iG[i]);
    }
    if (v.iG.empty() || true)
      s << "]";
    if (true || !indent.empty())
      s << std::endl;
    s << indent << "mass: ";
    Printer<double>::stream(s, indent + "  ", v.mass);
    if (true || !indent.empty())
      s << std::endl;
    s << indent << "rotors: ";
    Printer<uint16_t>::stream(s, indent + "  ", v.rotors);
    if (true || !indent.empty())
      s << std::endl;
    s << indent << "wmin: ";
    Printer<double>::stream(s, indent + "  ", v.wmin);
    if (true || !indent.empty())
      s << std::endl;
    s << indent << "wmax: ";
    Printer<double>::stream(s, indent + "  ", v.wmax);
    if (true || !indent.empty())
      s << std::endl;
    s << indent << "wrench_min: ";
    if (v.wrench_min.empty() || true)
      s << "[";
    for (size_t i = 0; i < v.wrench_min.size(); ++i)
    {
      if (true && i > 0)
        s << ", ";
      else if (!true)
        s << std::endl << indent << "  -";
      Printer<double>::stream(s, true ? std::string() : indent + "    ", v.wrench_min[i]);
    }
    if (v.wrench_min.empty() || true)
      s << "]";
    if (true || !indent.empty())
      s << std::endl;
    s << indent << "wrench_max: ";
    if (v.wrench_max.empty() || true)
      s << "[";
    for (size_t i = 0; i < v.wrench_max.size(); ++i)
    {
      if (true && i > 0)
        s << ", ";
      else if (!true)
        s << std::endl << indent << "  -";
      Printer<double>::stream(s, true ? std::string() : indent + "    ", v.wrench_max[i]);
    }
    if (v.wrench_max.empty() || true)
      s << "]";
    if (true || !indent.empty())
      s << std::endl;
    s << indent << "init: ";
    Printer<uint8_t>::stream(s, indent + "  ", v.init);
  }
};

} // namespace message_operations
} // namespace ros

#endif // UAVATT_ROS_MESSAGE_UAVATT_IDS_BODY_S_H
