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


#ifndef UAVPOS_ROS_MESSAGE_OR_POSE_ESTIMATOR_STATE_H
#define UAVPOS_ROS_MESSAGE_OR_POSE_ESTIMATOR_STATE_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/or_time_ts.h>
#include <uavpos_ros/or_t3d_pos.h>
#include <uavpos_ros/or_t3d_att.h>
#include <uavpos_ros/or_t3d_vel.h>
#include <uavpos_ros/or_t3d_avel.h>
#include <uavpos_ros/or_t3d_acc.h>
#include <uavpos_ros/or_t3d_aacc.h>
#include <uavpos_ros/or_t3d_pos_cov.h>
#include <uavpos_ros/or_t3d_att_cov.h>
#include <uavpos_ros/or_t3d_att_pos_cov.h>
#include <uavpos_ros/or_t3d_vel_cov.h>
#include <uavpos_ros/or_t3d_avel_cov.h>
#include <uavpos_ros/or_t3d_acc_cov.h>
#include <uavpos_ros/or_t3d_aacc_cov.h>

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

  or_pose_estimator_state_()
    : ts()
    , intrinsic(false)
    , pos()
    , att()
    , vel()
    , avel()
    , acc()
    , aacc()
    , pos_cov()
    , att_cov()
    , att_pos_cov()
    , vel_cov()
    , avel_cov()
    , acc_cov()
    , aacc_cov()  {
    }
  or_pose_estimator_state_(const ContainerAllocator& _alloc)
    : ts(_alloc)
    , intrinsic(false)
    , pos(_alloc)
    , att(_alloc)
    , vel(_alloc)
    , avel(_alloc)
    , acc(_alloc)
    , aacc(_alloc)
    , pos_cov(_alloc)
    , att_cov(_alloc)
    , att_pos_cov(_alloc)
    , vel_cov(_alloc)
    , avel_cov(_alloc)
    , acc_cov(_alloc)
    , aacc_cov(_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_t3d_pos_<ContainerAllocator> , typename std::allocator_traits<ContainerAllocator>::template rebind_alloc< ::uavpos_ros::or_t3d_pos_<ContainerAllocator> >> _pos_type;
  _pos_type pos;

   typedef std::vector< ::uavpos_ros::or_t3d_att_<ContainerAllocator> , typename std::allocator_traits<ContainerAllocator>::template rebind_alloc< ::uavpos_ros::or_t3d_att_<ContainerAllocator> >> _att_type;
  _att_type att;

   typedef std::vector< ::uavpos_ros::or_t3d_vel_<ContainerAllocator> , typename std::allocator_traits<ContainerAllocator>::template rebind_alloc< ::uavpos_ros::or_t3d_vel_<ContainerAllocator> >> _vel_type;
  _vel_type vel;

   typedef std::vector< ::uavpos_ros::or_t3d_avel_<ContainerAllocator> , typename std::allocator_traits<ContainerAllocator>::template rebind_alloc< ::uavpos_ros::or_t3d_avel_<ContainerAllocator> >> _avel_type;
  _avel_type avel;

   typedef std::vector< ::uavpos_ros::or_t3d_acc_<ContainerAllocator> , typename std::allocator_traits<ContainerAllocator>::template rebind_alloc< ::uavpos_ros::or_t3d_acc_<ContainerAllocator> >> _acc_type;
  _acc_type acc;

   typedef std::vector< ::uavpos_ros::or_t3d_aacc_<ContainerAllocator> , typename std::allocator_traits<ContainerAllocator>::template rebind_alloc< ::uavpos_ros::or_t3d_aacc_<ContainerAllocator> >> _aacc_type;
  _aacc_type aacc;

   typedef std::vector< ::uavpos_ros::or_t3d_pos_cov_<ContainerAllocator> , typename std::allocator_traits<ContainerAllocator>::template rebind_alloc< ::uavpos_ros::or_t3d_pos_cov_<ContainerAllocator> >> _pos_cov_type;
  _pos_cov_type pos_cov;

   typedef std::vector< ::uavpos_ros::or_t3d_att_cov_<ContainerAllocator> , typename std::allocator_traits<ContainerAllocator>::template rebind_alloc< ::uavpos_ros::or_t3d_att_cov_<ContainerAllocator> >> _att_cov_type;
  _att_cov_type att_cov;

   typedef std::vector< ::uavpos_ros::or_t3d_att_pos_cov_<ContainerAllocator> , typename std::allocator_traits<ContainerAllocator>::template rebind_alloc< ::uavpos_ros::or_t3d_att_pos_cov_<ContainerAllocator> >> _att_pos_cov_type;
  _att_pos_cov_type att_pos_cov;

   typedef std::vector< ::uavpos_ros::or_t3d_vel_cov_<ContainerAllocator> , typename std::allocator_traits<ContainerAllocator>::template rebind_alloc< ::uavpos_ros::or_t3d_vel_cov_<ContainerAllocator> >> _vel_cov_type;
  _vel_cov_type vel_cov;

   typedef std::vector< ::uavpos_ros::or_t3d_avel_cov_<ContainerAllocator> , typename std::allocator_traits<ContainerAllocator>::template rebind_alloc< ::uavpos_ros::or_t3d_avel_cov_<ContainerAllocator> >> _avel_cov_type;
  _avel_cov_type avel_cov;

   typedef std::vector< ::uavpos_ros::or_t3d_acc_cov_<ContainerAllocator> , typename std::allocator_traits<ContainerAllocator>::template rebind_alloc< ::uavpos_ros::or_t3d_acc_cov_<ContainerAllocator> >> _acc_cov_type;
  _acc_cov_type acc_cov;

   typedef std::vector< ::uavpos_ros::or_t3d_aacc_cov_<ContainerAllocator> , typename std::allocator_traits<ContainerAllocator>::template rebind_alloc< ::uavpos_ros::or_t3d_aacc_cov_<ContainerAllocator> >> _aacc_cov_type;
  _aacc_cov_type aacc_cov;





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

}; // struct or_pose_estimator_state_

typedef ::uavpos_ros::or_pose_estimator_state_<std::allocator<void> > or_pose_estimator_state;

typedef boost::shared_ptr< ::uavpos_ros::or_pose_estimator_state > or_pose_estimator_statePtr;
typedef boost::shared_ptr< ::uavpos_ros::or_pose_estimator_state const> or_pose_estimator_stateConstPtr;

// constants requiring out of line definition



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


template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator==(const ::uavpos_ros::or_pose_estimator_state_<ContainerAllocator1> & lhs, const ::uavpos_ros::or_pose_estimator_state_<ContainerAllocator2> & rhs)
{
  return lhs.ts == rhs.ts &&
    lhs.intrinsic == rhs.intrinsic &&
    lhs.pos == rhs.pos &&
    lhs.att == rhs.att &&
    lhs.vel == rhs.vel &&
    lhs.avel == rhs.avel &&
    lhs.acc == rhs.acc &&
    lhs.aacc == rhs.aacc &&
    lhs.pos_cov == rhs.pos_cov &&
    lhs.att_cov == rhs.att_cov &&
    lhs.att_pos_cov == rhs.att_pos_cov &&
    lhs.vel_cov == rhs.vel_cov &&
    lhs.avel_cov == rhs.avel_cov &&
    lhs.acc_cov == rhs.acc_cov &&
    lhs.aacc_cov == rhs.aacc_cov;
}

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


} // namespace uavpos_ros

namespace ros
{
namespace message_traits
{





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

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

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

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

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

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


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

  static const char* value(const ::uavpos_ros::or_pose_estimator_state_<ContainerAllocator>&) { return value(); }
  static const uint64_t static_value1 = 0xaeb1fb61729c34c3ULL;
  static const uint64_t static_value2 = 0xf1a7169833cbcac6ULL;
};

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

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

template<class ContainerAllocator>
struct Definition< ::uavpos_ros::or_pose_estimator_state_<ContainerAllocator> >
{
  static const char* value()
  {
    return "# IDL struct ::or_pose_estimator::state\n"
"or_time_ts ts\n"
"bool intrinsic\n"
"or_t3d_pos[] pos\n"
"or_t3d_att[] att\n"
"or_t3d_vel[] vel\n"
"or_t3d_avel[] avel\n"
"or_t3d_acc[] acc\n"
"or_t3d_aacc[] aacc\n"
"or_t3d_pos_cov[] pos_cov\n"
"or_t3d_att_cov[] att_cov\n"
"or_t3d_att_pos_cov[] att_pos_cov\n"
"or_t3d_vel_cov[] vel_cov\n"
"or_t3d_avel_cov[] avel_cov\n"
"or_t3d_acc_cov[] acc_cov\n"
"or_t3d_aacc_cov[] aacc_cov\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_t3d_pos\n"
"# IDL struct ::or::t3d::pos\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_vel\n"
"# IDL struct ::or::t3d::vel\n"
"float64 vx\n"
"float64 vy\n"
"float64 vz\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_acc\n"
"# IDL struct ::or::t3d::acc\n"
"float64 ax\n"
"float64 ay\n"
"float64 az\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"
"\n"
"================================================================================\n"
"MSG: uavpos_ros/or_t3d_pos_cov\n"
"# IDL struct ::or::t3d::pos_cov\n"
"float64[6] cov\n"
"\n"
"================================================================================\n"
"MSG: uavpos_ros/or_t3d_att_cov\n"
"# IDL struct ::or::t3d::att_cov\n"
"float64[10] cov\n"
"\n"
"================================================================================\n"
"MSG: uavpos_ros/or_t3d_att_pos_cov\n"
"# IDL struct ::or::t3d::att_pos_cov\n"
"float64[12] cov\n"
"\n"
"================================================================================\n"
"MSG: uavpos_ros/or_t3d_vel_cov\n"
"# IDL struct ::or::t3d::vel_cov\n"
"float64[6] cov\n"
"\n"
"================================================================================\n"
"MSG: uavpos_ros/or_t3d_avel_cov\n"
"# IDL struct ::or::t3d::avel_cov\n"
"float64[6] cov\n"
"\n"
"================================================================================\n"
"MSG: uavpos_ros/or_t3d_acc_cov\n"
"# IDL struct ::or::t3d::acc_cov\n"
"float64[6] cov\n"
"\n"
"================================================================================\n"
"MSG: uavpos_ros/or_t3d_aacc_cov\n"
"# IDL struct ::or::t3d::aacc_cov\n"
"float64[6] cov\n"
;
  }

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

} // namespace message_traits
} // namespace ros

namespace ros
{
namespace serialization
{

  template<class ContainerAllocator> struct Serializer< ::uavpos_ros::or_pose_estimator_state_<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.pos);
      stream.next(m.att);
      stream.next(m.vel);
      stream.next(m.avel);
      stream.next(m.acc);
      stream.next(m.aacc);
      stream.next(m.pos_cov);
      stream.next(m.att_cov);
      stream.next(m.att_pos_cov);
      stream.next(m.vel_cov);
      stream.next(m.avel_cov);
      stream.next(m.acc_cov);
      stream.next(m.aacc_cov);
    }

    ROS_DECLARE_ALLINONE_SERIALIZER
  }; // struct or_pose_estimator_state_

} // namespace serialization
} // namespace ros

namespace ros
{
namespace message_operations
{

template<class ContainerAllocator>
struct Printer< ::uavpos_ros::or_pose_estimator_state_<ContainerAllocator> >
{
  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::uavpos_ros::or_pose_estimator_state_<ContainerAllocator>& v)
  {
    if (false || !indent.empty())
      s << std::endl;
    s << indent << "ts: ";
    Printer< ::uavpos_ros::or_time_ts_<ContainerAllocator> >::stream(s, indent + "  ", v.ts);
    if (true || !indent.empty())
      s << std::endl;
    s << indent << "intrinsic: ";
    Printer<uint8_t>::stream(s, indent + "  ", v.intrinsic);
    if (true || !indent.empty())
      s << std::endl;
    s << indent << "pos: ";
    if (v.pos.empty() || false)
      s << "[";
    for (size_t i = 0; i < v.pos.size(); ++i)
    {
      if (false && i > 0)
        s << ", ";
      else if (!false)
        s << std::endl << indent << "  -";
      Printer< ::uavpos_ros::or_t3d_pos_<ContainerAllocator> >::stream(s, false ? std::string() : indent + "    ", v.pos[i]);
    }
    if (v.pos.empty() || false)
      s << "]";
    if (true || !indent.empty())
      s << std::endl;
    s << indent << "att: ";
    if (v.att.empty() || false)
      s << "[";
    for (size_t i = 0; i < v.att.size(); ++i)
    {
      if (false && i > 0)
        s << ", ";
      else if (!false)
        s << std::endl << indent << "  -";
      Printer< ::uavpos_ros::or_t3d_att_<ContainerAllocator> >::stream(s, false ? std::string() : indent + "    ", v.att[i]);
    }
    if (v.att.empty() || false)
      s << "]";
    if (true || !indent.empty())
      s << std::endl;
    s << indent << "vel: ";
    if (v.vel.empty() || false)
      s << "[";
    for (size_t i = 0; i < v.vel.size(); ++i)
    {
      if (false && i > 0)
        s << ", ";
      else if (!false)
        s << std::endl << indent << "  -";
      Printer< ::uavpos_ros::or_t3d_vel_<ContainerAllocator> >::stream(s, false ? std::string() : indent + "    ", v.vel[i]);
    }
    if (v.vel.empty() || false)
      s << "]";
    if (true || !indent.empty())
      s << std::endl;
    s << indent << "avel: ";
    if (v.avel.empty() || false)
      s << "[";
    for (size_t i = 0; i < v.avel.size(); ++i)
    {
      if (false && i > 0)
        s << ", ";
      else if (!false)
        s << std::endl << indent << "  -";
      Printer< ::uavpos_ros::or_t3d_avel_<ContainerAllocator> >::stream(s, false ? std::string() : indent + "    ", v.avel[i]);
    }
    if (v.avel.empty() || false)
      s << "]";
    if (true || !indent.empty())
      s << std::endl;
    s << indent << "acc: ";
    if (v.acc.empty() || false)
      s << "[";
    for (size_t i = 0; i < v.acc.size(); ++i)
    {
      if (false && i > 0)
        s << ", ";
      else if (!false)
        s << std::endl << indent << "  -";
      Printer< ::uavpos_ros::or_t3d_acc_<ContainerAllocator> >::stream(s, false ? std::string() : indent + "    ", v.acc[i]);
    }
    if (v.acc.empty() || false)
      s << "]";
    if (true || !indent.empty())
      s << std::endl;
    s << indent << "aacc: ";
    if (v.aacc.empty() || false)
      s << "[";
    for (size_t i = 0; i < v.aacc.size(); ++i)
    {
      if (false && i > 0)
        s << ", ";
      else if (!false)
        s << std::endl << indent << "  -";
      Printer< ::uavpos_ros::or_t3d_aacc_<ContainerAllocator> >::stream(s, false ? std::string() : indent + "    ", v.aacc[i]);
    }
    if (v.aacc.empty() || false)
      s << "]";
    if (true || !indent.empty())
      s << std::endl;
    s << indent << "pos_cov: ";
    if (v.pos_cov.empty() || false)
      s << "[";
    for (size_t i = 0; i < v.pos_cov.size(); ++i)
    {
      if (false && i > 0)
        s << ", ";
      else if (!false)
        s << std::endl << indent << "  -";
      Printer< ::uavpos_ros::or_t3d_pos_cov_<ContainerAllocator> >::stream(s, false ? std::string() : indent + "    ", v.pos_cov[i]);
    }
    if (v.pos_cov.empty() || false)
      s << "]";
    if (true || !indent.empty())
      s << std::endl;
    s << indent << "att_cov: ";
    if (v.att_cov.empty() || false)
      s << "[";
    for (size_t i = 0; i < v.att_cov.size(); ++i)
    {
      if (false && i > 0)
        s << ", ";
      else if (!false)
        s << std::endl << indent << "  -";
      Printer< ::uavpos_ros::or_t3d_att_cov_<ContainerAllocator> >::stream(s, false ? std::string() : indent + "    ", v.att_cov[i]);
    }
    if (v.att_cov.empty() || false)
      s << "]";
    if (true || !indent.empty())
      s << std::endl;
    s << indent << "att_pos_cov: ";
    if (v.att_pos_cov.empty() || false)
      s << "[";
    for (size_t i = 0; i < v.att_pos_cov.size(); ++i)
    {
      if (false && i > 0)
        s << ", ";
      else if (!false)
        s << std::endl << indent << "  -";
      Printer< ::uavpos_ros::or_t3d_att_pos_cov_<ContainerAllocator> >::stream(s, false ? std::string() : indent + "    ", v.att_pos_cov[i]);
    }
    if (v.att_pos_cov.empty() || false)
      s << "]";
    if (true || !indent.empty())
      s << std::endl;
    s << indent << "vel_cov: ";
    if (v.vel_cov.empty() || false)
      s << "[";
    for (size_t i = 0; i < v.vel_cov.size(); ++i)
    {
      if (false && i > 0)
        s << ", ";
      else if (!false)
        s << std::endl << indent << "  -";
      Printer< ::uavpos_ros::or_t3d_vel_cov_<ContainerAllocator> >::stream(s, false ? std::string() : indent + "    ", v.vel_cov[i]);
    }
    if (v.vel_cov.empty() || false)
      s << "]";
    if (true || !indent.empty())
      s << std::endl;
    s << indent << "avel_cov: ";
    if (v.avel_cov.empty() || false)
      s << "[";
    for (size_t i = 0; i < v.avel_cov.size(); ++i)
    {
      if (false && i > 0)
        s << ", ";
      else if (!false)
        s << std::endl << indent << "  -";
      Printer< ::uavpos_ros::or_t3d_avel_cov_<ContainerAllocator> >::stream(s, false ? std::string() : indent + "    ", v.avel_cov[i]);
    }
    if (v.avel_cov.empty() || false)
      s << "]";
    if (true || !indent.empty())
      s << std::endl;
    s << indent << "acc_cov: ";
    if (v.acc_cov.empty() || false)
      s << "[";
    for (size_t i = 0; i < v.acc_cov.size(); ++i)
    {
      if (false && i > 0)
        s << ", ";
      else if (!false)
        s << std::endl << indent << "  -";
      Printer< ::uavpos_ros::or_t3d_acc_cov_<ContainerAllocator> >::stream(s, false ? std::string() : indent + "    ", v.acc_cov[i]);
    }
    if (v.acc_cov.empty() || false)
      s << "]";
    if (true || !indent.empty())
      s << std::endl;
    s << indent << "aacc_cov: ";
    if (v.aacc_cov.empty() || false)
      s << "[";
    for (size_t i = 0; i < v.aacc_cov.size(); ++i)
    {
      if (false && i > 0)
        s << ", ";
      else if (!false)
        s << std::endl << indent << "  -";
      Printer< ::uavpos_ros::or_t3d_aacc_cov_<ContainerAllocator> >::stream(s, false ? std::string() : indent + "    ", v.aacc_cov[i]);
    }
    if (v.aacc_cov.empty() || false)
      s << "]";
  }
};

} // namespace message_operations
} // namespace ros

#endif // UAVPOS_ROS_MESSAGE_OR_POSE_ESTIMATOR_STATE_H
