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


#ifndef UAVATT_ROS_MESSAGE_OR_WRENCH_ESTIMATOR_STATE_H
#define UAVATT_ROS_MESSAGE_OR_WRENCH_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 <uavatt_ros/or_time_ts.h>
#include <uavatt_ros/or_rb3d_force.h>
#include <uavatt_ros/or_rb3d_force_cov.h>
#include <uavatt_ros/or_rb3d_torque.h>
#include <uavatt_ros/or_rb3d_torque_cov.h>

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

  or_wrench_estimator_state_()
    : ts()
    , intrinsic(false)
    , force()
    , force_cov()
    , torque()
    , torque_cov()  {
    }
  or_wrench_estimator_state_(const ContainerAllocator& _alloc)
    : ts(_alloc)
    , intrinsic(false)
    , force(_alloc)
    , force_cov(_alloc)
    , torque(_alloc)
    , torque_cov(_alloc)  {
  (void)_alloc;
    }



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

   typedef uint8_t _intrinsic_type;
  _intrinsic_type intrinsic;

   typedef std::vector< ::uavatt_ros::or_rb3d_force_<ContainerAllocator> , typename std::allocator_traits<ContainerAllocator>::template rebind_alloc< ::uavatt_ros::or_rb3d_force_<ContainerAllocator> >> _force_type;
  _force_type force;

   typedef std::vector< ::uavatt_ros::or_rb3d_force_cov_<ContainerAllocator> , typename std::allocator_traits<ContainerAllocator>::template rebind_alloc< ::uavatt_ros::or_rb3d_force_cov_<ContainerAllocator> >> _force_cov_type;
  _force_cov_type force_cov;

   typedef std::vector< ::uavatt_ros::or_rb3d_torque_<ContainerAllocator> , typename std::allocator_traits<ContainerAllocator>::template rebind_alloc< ::uavatt_ros::or_rb3d_torque_<ContainerAllocator> >> _torque_type;
  _torque_type torque;

   typedef std::vector< ::uavatt_ros::or_rb3d_torque_cov_<ContainerAllocator> , typename std::allocator_traits<ContainerAllocator>::template rebind_alloc< ::uavatt_ros::or_rb3d_torque_cov_<ContainerAllocator> >> _torque_cov_type;
  _torque_cov_type torque_cov;





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

}; // struct or_wrench_estimator_state_

typedef ::uavatt_ros::or_wrench_estimator_state_<std::allocator<void> > or_wrench_estimator_state;

typedef boost::shared_ptr< ::uavatt_ros::or_wrench_estimator_state > or_wrench_estimator_statePtr;
typedef boost::shared_ptr< ::uavatt_ros::or_wrench_estimator_state const> or_wrench_estimator_stateConstPtr;

// constants requiring out of line definition



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


template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator==(const ::uavatt_ros::or_wrench_estimator_state_<ContainerAllocator1> & lhs, const ::uavatt_ros::or_wrench_estimator_state_<ContainerAllocator2> & rhs)
{
  return lhs.ts == rhs.ts &&
    lhs.intrinsic == rhs.intrinsic &&
    lhs.force == rhs.force &&
    lhs.force_cov == rhs.force_cov &&
    lhs.torque == rhs.torque &&
    lhs.torque_cov == rhs.torque_cov;
}

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


} // namespace uavatt_ros

namespace ros
{
namespace message_traits
{





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

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

template <class ContainerAllocator>
struct IsFixedSize< ::uavatt_ros::or_wrench_estimator_state_<ContainerAllocator> >
  : FalseType
  { };

template <class ContainerAllocator>
struct IsFixedSize< ::uavatt_ros::or_wrench_estimator_state_<ContainerAllocator> const>
  : FalseType
  { };

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

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


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

  static const char* value(const ::uavatt_ros::or_wrench_estimator_state_<ContainerAllocator>&) { return value(); }
  static const uint64_t static_value1 = 0xb4666805b9da7df2ULL;
  static const uint64_t static_value2 = 0xc042e9581e91d187ULL;
};

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

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

template<class ContainerAllocator>
struct Definition< ::uavatt_ros::or_wrench_estimator_state_<ContainerAllocator> >
{
  static const char* value()
  {
    return "# IDL struct ::or_wrench_estimator::state\n"
"or_time_ts ts\n"
"bool intrinsic\n"
"or_rb3d_force[] force\n"
"or_rb3d_force_cov[] force_cov\n"
"or_rb3d_torque[] torque\n"
"or_rb3d_torque_cov[] torque_cov\n"
"\n"
"================================================================================\n"
"MSG: uavatt_ros/or_time_ts\n"
"# IDL struct ::or::time::ts\n"
"int32 sec\n"
"int32 nsec\n"
"\n"
"================================================================================\n"
"MSG: uavatt_ros/or_rb3d_force\n"
"# IDL struct ::or::rb3d::force\n"
"float64 x\n"
"float64 y\n"
"float64 z\n"
"\n"
"================================================================================\n"
"MSG: uavatt_ros/or_rb3d_force_cov\n"
"# IDL struct ::or::rb3d::force_cov\n"
"float64[6] cov\n"
"\n"
"================================================================================\n"
"MSG: uavatt_ros/or_rb3d_torque\n"
"# IDL struct ::or::rb3d::torque\n"
"float64 x\n"
"float64 y\n"
"float64 z\n"
"\n"
"================================================================================\n"
"MSG: uavatt_ros/or_rb3d_torque_cov\n"
"# IDL struct ::or::rb3d::torque_cov\n"
"float64[6] cov\n"
;
  }

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

} // namespace message_traits
} // namespace ros

namespace ros
{
namespace serialization
{

  template<class ContainerAllocator> struct Serializer< ::uavatt_ros::or_wrench_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.force);
      stream.next(m.force_cov);
      stream.next(m.torque);
      stream.next(m.torque_cov);
    }

    ROS_DECLARE_ALLINONE_SERIALIZER
  }; // struct or_wrench_estimator_state_

} // namespace serialization
} // namespace ros

namespace ros
{
namespace message_operations
{

template<class ContainerAllocator>
struct Printer< ::uavatt_ros::or_wrench_estimator_state_<ContainerAllocator> >
{
  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::uavatt_ros::or_wrench_estimator_state_<ContainerAllocator>& v)
  {
    if (false || !indent.empty())
      s << std::endl;
    s << indent << "ts: ";
    Printer< ::uavatt_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 << "force: ";
    if (v.force.empty() || false)
      s << "[";
    for (size_t i = 0; i < v.force.size(); ++i)
    {
      if (false && i > 0)
        s << ", ";
      else if (!false)
        s << std::endl << indent << "  -";
      Printer< ::uavatt_ros::or_rb3d_force_<ContainerAllocator> >::stream(s, false ? std::string() : indent + "    ", v.force[i]);
    }
    if (v.force.empty() || false)
      s << "]";
    if (true || !indent.empty())
      s << std::endl;
    s << indent << "force_cov: ";
    if (v.force_cov.empty() || false)
      s << "[";
    for (size_t i = 0; i < v.force_cov.size(); ++i)
    {
      if (false && i > 0)
        s << ", ";
      else if (!false)
        s << std::endl << indent << "  -";
      Printer< ::uavatt_ros::or_rb3d_force_cov_<ContainerAllocator> >::stream(s, false ? std::string() : indent + "    ", v.force_cov[i]);
    }
    if (v.force_cov.empty() || false)
      s << "]";
    if (true || !indent.empty())
      s << std::endl;
    s << indent << "torque: ";
    if (v.torque.empty() || false)
      s << "[";
    for (size_t i = 0; i < v.torque.size(); ++i)
    {
      if (false && i > 0)
        s << ", ";
      else if (!false)
        s << std::endl << indent << "  -";
      Printer< ::uavatt_ros::or_rb3d_torque_<ContainerAllocator> >::stream(s, false ? std::string() : indent + "    ", v.torque[i]);
    }
    if (v.torque.empty() || false)
      s << "]";
    if (true || !indent.empty())
      s << std::endl;
    s << indent << "torque_cov: ";
    if (v.torque_cov.empty() || false)
      s << "[";
    for (size_t i = 0; i < v.torque_cov.size(); ++i)
    {
      if (false && i > 0)
        s << ", ";
      else if (!false)
        s << std::endl << indent << "  -";
      Printer< ::uavatt_ros::or_rb3d_torque_cov_<ContainerAllocator> >::stream(s, false ? std::string() : indent + "    ", v.torque_cov[i]);
    }
    if (v.torque_cov.empty() || false)
      s << "]";
  }
};

} // namespace message_operations
} // namespace ros

#endif // UAVATT_ROS_MESSAGE_OR_WRENCH_ESTIMATOR_STATE_H
