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


#ifndef UAVPOS_ROS_MESSAGE_OR_UAV_INPUT_H
#define UAVPOS_ROS_MESSAGE_OR_UAV_INPUT_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 <uavpos_ros/or_time_ts.h>
#include <uavpos_ros/or_rb3d_force.h>
#include <uavpos_ros/or_t3d_att.h>
#include <uavpos_ros/or_t3d_avel.h>
#include <uavpos_ros/or_t3d_aacc.h>

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

  or_uav_input_()
    : ts()
    , intrinsic(false)
    , thrust()
    , att()
    , avel()
    , aacc()  {
    }
  or_uav_input_(const ContainerAllocator& _alloc)
    : ts(_alloc)
    , intrinsic(false)
    , thrust(_alloc)
    , att(_alloc)
    , avel(_alloc)
    , aacc(_alloc)  {
  (void)_alloc;
    }



   typedef  ::uavpos_ros::or_time_ts_<ContainerAllocator>  _ts_type;
  _ts_type ts;

   typedef uint8_t _intrinsic_type;
  _intrinsic_type intrinsic;

   typedef std::vector< ::uavpos_ros::or_rb3d_force_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::uavpos_ros::or_rb3d_force_<ContainerAllocator> >::other >  _thrust_type;
  _thrust_type thrust;

   typedef std::vector< ::uavpos_ros::or_t3d_att_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::uavpos_ros::or_t3d_att_<ContainerAllocator> >::other >  _att_type;
  _att_type att;

   typedef std::vector< ::uavpos_ros::or_t3d_avel_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::uavpos_ros::or_t3d_avel_<ContainerAllocator> >::other >  _avel_type;
  _avel_type avel;

   typedef std::vector< ::uavpos_ros::or_t3d_aacc_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::uavpos_ros::or_t3d_aacc_<ContainerAllocator> >::other >  _aacc_type;
  _aacc_type aacc;





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

}; // struct or_uav_input_

typedef ::uavpos_ros::or_uav_input_<std::allocator<void> > or_uav_input;

typedef boost::shared_ptr< ::uavpos_ros::or_uav_input > or_uav_inputPtr;
typedef boost::shared_ptr< ::uavpos_ros::or_uav_input const> or_uav_inputConstPtr;

// constants requiring out of line definition



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


template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator==(const ::uavpos_ros::or_uav_input_<ContainerAllocator1> & lhs, const ::uavpos_ros::or_uav_input_<ContainerAllocator2> & rhs)
{
  return lhs.ts == rhs.ts &&
    lhs.intrinsic == rhs.intrinsic &&
    lhs.thrust == rhs.thrust &&
    lhs.att == rhs.att &&
    lhs.avel == rhs.avel &&
    lhs.aacc == rhs.aacc;
}

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


} // namespace uavpos_ros

namespace ros
{
namespace message_traits
{





template <class ContainerAllocator>
struct IsFixedSize< ::uavpos_ros::or_uav_input_<ContainerAllocator> >
  : FalseType
  { };

template <class ContainerAllocator>
struct IsFixedSize< ::uavpos_ros::or_uav_input_<ContainerAllocator> const>
  : FalseType
  { };

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

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

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

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


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

  static const char* value(const ::uavpos_ros::or_uav_input_<ContainerAllocator>&) { return value(); }
  static const uint64_t static_value1 = 0xb5b1a4508a3f01c7ULL;
  static const uint64_t static_value2 = 0x750e9e03fbe49436ULL;
};

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

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

template<class ContainerAllocator>
struct Definition< ::uavpos_ros::or_uav_input_<ContainerAllocator> >
{
  static const char* value()
  {
    return "# IDL struct ::or_uav::input\n"
"or_time_ts ts\n"
"bool intrinsic\n"
"or_rb3d_force[] thrust\n"
"or_t3d_att[] att\n"
"or_t3d_avel[] avel\n"
"or_t3d_aacc[] aacc\n"
"\n"
"================================================================================\n"
"MSG: uavpos_ros/or_time_ts\n"
"# IDL struct ::or::time::ts\n"
"int32 sec\n"
"int32 nsec\n"
"\n"
"================================================================================\n"
"MSG: uavpos_ros/or_rb3d_force\n"
"# IDL struct ::or::rb3d::force\n"
"float64 x\n"
"float64 y\n"
"float64 z\n"
"\n"
"================================================================================\n"
"MSG: uavpos_ros/or_t3d_att\n"
"# IDL struct ::or::t3d::att\n"
"float64 qw\n"
"float64 qx\n"
"float64 qy\n"
"float64 qz\n"
"\n"
"================================================================================\n"
"MSG: uavpos_ros/or_t3d_avel\n"
"# IDL struct ::or::t3d::avel\n"
"float64 wx\n"
"float64 wy\n"
"float64 wz\n"
"\n"
"================================================================================\n"
"MSG: uavpos_ros/or_t3d_aacc\n"
"# IDL struct ::or::t3d::aacc\n"
"float64 awx\n"
"float64 awy\n"
"float64 awz\n"
;
  }

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

} // namespace message_traits
} // namespace ros

namespace ros
{
namespace serialization
{

  template<class ContainerAllocator> struct Serializer< ::uavpos_ros::or_uav_input_<ContainerAllocator> >
  {
    template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
    {
      stream.next(m.ts);
      stream.next(m.intrinsic);
      stream.next(m.thrust);
      stream.next(m.att);
      stream.next(m.avel);
      stream.next(m.aacc);
    }

    ROS_DECLARE_ALLINONE_SERIALIZER
  }; // struct or_uav_input_

} // namespace serialization
} // namespace ros

namespace ros
{
namespace message_operations
{

template<class ContainerAllocator>
struct Printer< ::uavpos_ros::or_uav_input_<ContainerAllocator> >
{
  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::uavpos_ros::or_uav_input_<ContainerAllocator>& v)
  {
    s << indent << "ts: ";
    s << std::endl;
    Printer< ::uavpos_ros::or_time_ts_<ContainerAllocator> >::stream(s, indent + "  ", v.ts);
    s << indent << "intrinsic: ";
    Printer<uint8_t>::stream(s, indent + "  ", v.intrinsic);
    s << indent << "thrust[]" << std::endl;
    for (size_t i = 0; i < v.thrust.size(); ++i)
    {
      s << indent << "  thrust[" << i << "]: ";
      s << std::endl;
      s << indent;
      Printer< ::uavpos_ros::or_rb3d_force_<ContainerAllocator> >::stream(s, indent + "    ", v.thrust[i]);
    }
    s << indent << "att[]" << std::endl;
    for (size_t i = 0; i < v.att.size(); ++i)
    {
      s << indent << "  att[" << i << "]: ";
      s << std::endl;
      s << indent;
      Printer< ::uavpos_ros::or_t3d_att_<ContainerAllocator> >::stream(s, indent + "    ", v.att[i]);
    }
    s << indent << "avel[]" << std::endl;
    for (size_t i = 0; i < v.avel.size(); ++i)
    {
      s << indent << "  avel[" << i << "]: ";
      s << std::endl;
      s << indent;
      Printer< ::uavpos_ros::or_t3d_avel_<ContainerAllocator> >::stream(s, indent + "    ", v.avel[i]);
    }
    s << indent << "aacc[]" << std::endl;
    for (size_t i = 0; i < v.aacc.size(); ++i)
    {
      s << indent << "  aacc[" << i << "]: ";
      s << std::endl;
      s << indent;
      Printer< ::uavpos_ros::or_t3d_aacc_<ContainerAllocator> >::stream(s, indent + "    ", v.aacc[i]);
    }
  }
};

} // namespace message_operations
} // namespace ros

#endif // UAVPOS_ROS_MESSAGE_OR_UAV_INPUT_H
