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


#ifndef NHFC_ROS_MESSAGE_OR_RIGID_BODY_STATE_H
#define NHFC_ROS_MESSAGE_OR_RIGID_BODY_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 <nhfc_ros/or_time_ts.h>
#include <nhfc_ros/or_t3d_pos.h>
#include <nhfc_ros/or_t3d_att.h>
#include <nhfc_ros/or_t3d_vel.h>
#include <nhfc_ros/or_t3d_avel.h>
#include <nhfc_ros/or_t3d_acc.h>
#include <nhfc_ros/or_t3d_aacc.h>
#include <nhfc_ros/or_t3d_jerk.h>
#include <nhfc_ros/or_t3d_snap.h>

namespace nhfc_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  ::nhfc_ros::or_time_ts_<ContainerAllocator>  _ts_type;
  _ts_type ts;

   typedef uint8_t _intrinsic_type;
  _intrinsic_type intrinsic;

   typedef std::vector< ::nhfc_ros::or_t3d_pos_<ContainerAllocator> , typename std::allocator_traits<ContainerAllocator>::template rebind_alloc< ::nhfc_ros::or_t3d_pos_<ContainerAllocator> >> _pos_type;
  _pos_type pos;

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

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

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

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

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

   typedef std::vector< ::nhfc_ros::or_t3d_jerk_<ContainerAllocator> , typename std::allocator_traits<ContainerAllocator>::template rebind_alloc< ::nhfc_ros::or_t3d_jerk_<ContainerAllocator> >> _jerk_type;
  _jerk_type jerk;

   typedef std::vector< ::nhfc_ros::or_t3d_snap_<ContainerAllocator> , typename std::allocator_traits<ContainerAllocator>::template rebind_alloc< ::nhfc_ros::or_t3d_snap_<ContainerAllocator> >> _snap_type;
  _snap_type snap;





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

}; // struct or_rigid_body_state_

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

typedef boost::shared_ptr< ::nhfc_ros::or_rigid_body_state > or_rigid_body_statePtr;
typedef boost::shared_ptr< ::nhfc_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 ::nhfc_ros::or_rigid_body_state_<ContainerAllocator> & v)
{
ros::message_operations::Printer< ::nhfc_ros::or_rigid_body_state_<ContainerAllocator> >::stream(s, "", v);
return s;
}


template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator==(const ::nhfc_ros::or_rigid_body_state_<ContainerAllocator1> & lhs, const ::nhfc_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 ::nhfc_ros::or_rigid_body_state_<ContainerAllocator1> & lhs, const ::nhfc_ros::or_rigid_body_state_<ContainerAllocator2> & rhs)
{
  return !(lhs == rhs);
}


} // namespace nhfc_ros

namespace ros
{
namespace message_traits
{





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

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

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

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

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

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


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

  static const char* value(const ::nhfc_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< ::nhfc_ros::or_rigid_body_state_<ContainerAllocator> >
{
  static const char* value()
  {
    return "nhfc_ros/or_rigid_body_state";
  }

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

template<class ContainerAllocator>
struct Definition< ::nhfc_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: nhfc_ros/or_time_ts\n"
"# IDL struct ::or::time::ts\n"
"int32 sec\n"
"int32 nsec\n"
"\n"
"================================================================================\n"
"MSG: nhfc_ros/or_t3d_pos\n"
"# IDL struct ::or::t3d::pos\n"
"float64 x\n"
"float64 y\n"
"float64 z\n"
"\n"
"================================================================================\n"
"MSG: nhfc_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: nhfc_ros/or_t3d_vel\n"
"# IDL struct ::or::t3d::vel\n"
"float64 vx\n"
"float64 vy\n"
"float64 vz\n"
"\n"
"================================================================================\n"
"MSG: nhfc_ros/or_t3d_avel\n"
"# IDL struct ::or::t3d::avel\n"
"float64 wx\n"
"float64 wy\n"
"float64 wz\n"
"\n"
"================================================================================\n"
"MSG: nhfc_ros/or_t3d_acc\n"
"# IDL struct ::or::t3d::acc\n"
"float64 ax\n"
"float64 ay\n"
"float64 az\n"
"\n"
"================================================================================\n"
"MSG: nhfc_ros/or_t3d_aacc\n"
"# IDL struct ::or::t3d::aacc\n"
"float64 awx\n"
"float64 awy\n"
"float64 awz\n"
"\n"
"================================================================================\n"
"MSG: nhfc_ros/or_t3d_jerk\n"
"# IDL struct ::or::t3d::jerk\n"
"float64 jx\n"
"float64 jy\n"
"float64 jz\n"
"\n"
"================================================================================\n"
"MSG: nhfc_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 ::nhfc_ros::or_rigid_body_state_<ContainerAllocator>&) { return value(); }
};

} // namespace message_traits
} // namespace ros

namespace ros
{
namespace serialization
{

  template<class ContainerAllocator> struct Serializer< ::nhfc_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< ::nhfc_ros::or_rigid_body_state_<ContainerAllocator> >
{
  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::nhfc_ros::or_rigid_body_state_<ContainerAllocator>& v)
  {
    if (false || !indent.empty())
      s << std::endl;
    s << indent << "ts: ";
    Printer< ::nhfc_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< ::nhfc_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< ::nhfc_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< ::nhfc_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< ::nhfc_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< ::nhfc_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< ::nhfc_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 << "jerk: ";
    if (v.jerk.empty() || false)
      s << "[";
    for (size_t i = 0; i < v.jerk.size(); ++i)
    {
      if (false && i > 0)
        s << ", ";
      else if (!false)
        s << std::endl << indent << "  -";
      Printer< ::nhfc_ros::or_t3d_jerk_<ContainerAllocator> >::stream(s, false ? std::string() : indent + "    ", v.jerk[i]);
    }
    if (v.jerk.empty() || false)
      s << "]";
    if (true || !indent.empty())
      s << std::endl;
    s << indent << "snap: ";
    if (v.snap.empty() || false)
      s << "[";
    for (size_t i = 0; i < v.snap.size(); ++i)
    {
      if (false && i > 0)
        s << ", ";
      else if (!false)
        s << std::endl << indent << "  -";
      Printer< ::nhfc_ros::or_t3d_snap_<ContainerAllocator> >::stream(s, false ? std::string() : indent + "    ", v.snap[i]);
    }
    if (v.snap.empty() || false)
      s << "]";
  }
};

} // namespace message_operations
} // namespace ros

#endif // NHFC_ROS_MESSAGE_OR_RIGID_BODY_STATE_H
