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


#ifndef UAVPOS_ROS_MESSAGE_OR_RIGID_BODY_STATE_H
#define UAVPOS_ROS_MESSAGE_OR_RIGID_BODY_STATE_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_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_jerk.h>
#include <uavpos_ros/or_t3d_snap.h>

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

  or_rigid_body_state_()
    : ts()
    , intrinsic(false)
    , pos()
    , att()
    , vel()
    , avel()
    , acc()
    , aacc()
    , jerk()
    , snap()  {
    }
  or_rigid_body_state_(const ContainerAllocator& _alloc)
    : ts(_alloc)
    , intrinsic(false)
    , pos(_alloc)
    , att(_alloc)
    , vel(_alloc)
    , avel(_alloc)
    , acc(_alloc)
    , aacc(_alloc)
    , jerk(_alloc)
    , snap(_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 ContainerAllocator::template rebind< ::uavpos_ros::or_t3d_pos_<ContainerAllocator> >::other >  _pos_type;
  _pos_type pos;

   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_vel_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::uavpos_ros::or_t3d_vel_<ContainerAllocator> >::other >  _vel_type;
  _vel_type vel;

   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_acc_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::uavpos_ros::or_t3d_acc_<ContainerAllocator> >::other >  _acc_type;
  _acc_type acc;

   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 std::vector< ::uavpos_ros::or_t3d_jerk_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::uavpos_ros::or_t3d_jerk_<ContainerAllocator> >::other >  _jerk_type;
  _jerk_type jerk;

   typedef std::vector< ::uavpos_ros::or_t3d_snap_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::uavpos_ros::or_t3d_snap_<ContainerAllocator> >::other >  _snap_type;
  _snap_type snap;





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

}; // struct or_rigid_body_state_

typedef ::uavpos_ros::or_rigid_body_state_<std::allocator<void> > or_rigid_body_state;

typedef boost::shared_ptr< ::uavpos_ros::or_rigid_body_state > or_rigid_body_statePtr;
typedef boost::shared_ptr< ::uavpos_ros::or_rigid_body_state const> or_rigid_body_stateConstPtr;

// constants requiring out of line definition



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


template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator==(const ::uavpos_ros::or_rigid_body_state_<ContainerAllocator1> & lhs, const ::uavpos_ros::or_rigid_body_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.jerk == rhs.jerk &&
    lhs.snap == rhs.snap;
}

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


} // namespace uavpos_ros

namespace ros
{
namespace message_traits
{





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

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

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

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

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

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


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

  static const char* value(const ::uavpos_ros::or_rigid_body_state_<ContainerAllocator>&) { return value(); }
  static const uint64_t static_value1 = 0x3d0e8510df54ecb9ULL;
  static const uint64_t static_value2 = 0x6bf54f6a8f474e5aULL;
};

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

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

template<class ContainerAllocator>
struct Definition< ::uavpos_ros::or_rigid_body_state_<ContainerAllocator> >
{
  static const char* value()
  {
    return "# IDL struct ::or_rigid_body::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_jerk[] jerk\n"
"or_t3d_snap[] snap\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_jerk\n"
"# IDL struct ::or::t3d::jerk\n"
"float64 jx\n"
"float64 jy\n"
"float64 jz\n"
"\n"
"================================================================================\n"
"MSG: uavpos_ros/or_t3d_snap\n"
"# IDL struct ::or::t3d::snap\n"
"float64 sx\n"
"float64 sy\n"
"float64 sz\n"
;
  }

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

} // namespace message_traits
} // namespace ros

namespace ros
{
namespace serialization
{

  template<class ContainerAllocator> struct Serializer< ::uavpos_ros::or_rigid_body_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.jerk);
      stream.next(m.snap);
    }

    ROS_DECLARE_ALLINONE_SERIALIZER
  }; // struct or_rigid_body_state_

} // namespace serialization
} // namespace ros

namespace ros
{
namespace message_operations
{

template<class ContainerAllocator>
struct Printer< ::uavpos_ros::or_rigid_body_state_<ContainerAllocator> >
{
  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::uavpos_ros::or_rigid_body_state_<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 << "pos[]" << std::endl;
    for (size_t i = 0; i < v.pos.size(); ++i)
    {
      s << indent << "  pos[" << i << "]: ";
      s << std::endl;
      s << indent;
      Printer< ::uavpos_ros::or_t3d_pos_<ContainerAllocator> >::stream(s, indent + "    ", v.pos[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 << "vel[]" << std::endl;
    for (size_t i = 0; i < v.vel.size(); ++i)
    {
      s << indent << "  vel[" << i << "]: ";
      s << std::endl;
      s << indent;
      Printer< ::uavpos_ros::or_t3d_vel_<ContainerAllocator> >::stream(s, indent + "    ", v.vel[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 << "acc[]" << std::endl;
    for (size_t i = 0; i < v.acc.size(); ++i)
    {
      s << indent << "  acc[" << i << "]: ";
      s << std::endl;
      s << indent;
      Printer< ::uavpos_ros::or_t3d_acc_<ContainerAllocator> >::stream(s, indent + "    ", v.acc[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]);
    }
    s << indent << "jerk[]" << std::endl;
    for (size_t i = 0; i < v.jerk.size(); ++i)
    {
      s << indent << "  jerk[" << i << "]: ";
      s << std::endl;
      s << indent;
      Printer< ::uavpos_ros::or_t3d_jerk_<ContainerAllocator> >::stream(s, indent + "    ", v.jerk[i]);
    }
    s << indent << "snap[]" << std::endl;
    for (size_t i = 0; i < v.snap.size(); ++i)
    {
      s << indent << "  snap[" << i << "]: ";
      s << std::endl;
      s << indent;
      Printer< ::uavpos_ros::or_t3d_snap_<ContainerAllocator> >::stream(s, indent + "    ", v.snap[i]);
    }
  }
};

} // namespace message_operations
} // namespace ros

#endif // UAVPOS_ROS_MESSAGE_OR_RIGID_BODY_STATE_H
