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


#ifndef UAVPOS_ROS_MESSAGE_OR_WRENCH_ESTIMATOR_STATE_H
#define UAVPOS_ROS_MESSAGE_OR_WRENCH_ESTIMATOR_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_rb3d_force.h>
#include <uavpos_ros/or_rb3d_force_cov.h>
#include <uavpos_ros/or_rb3d_torque.h>
#include <uavpos_ros/or_rb3d_torque_cov.h>

namespace uavpos_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  ::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 >  _force_type;
  _force_type force;

   typedef std::vector< ::uavpos_ros::or_rb3d_force_cov_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::uavpos_ros::or_rb3d_force_cov_<ContainerAllocator> >::other >  _force_cov_type;
  _force_cov_type force_cov;

   typedef std::vector< ::uavpos_ros::or_rb3d_torque_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::uavpos_ros::or_rb3d_torque_<ContainerAllocator> >::other >  _torque_type;
  _torque_type torque;

   typedef std::vector< ::uavpos_ros::or_rb3d_torque_cov_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::uavpos_ros::or_rb3d_torque_cov_<ContainerAllocator> >::other >  _torque_cov_type;
  _torque_cov_type torque_cov;





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

}; // struct or_wrench_estimator_state_

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

typedef boost::shared_ptr< ::uavpos_ros::or_wrench_estimator_state > or_wrench_estimator_statePtr;
typedef boost::shared_ptr< ::uavpos_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 ::uavpos_ros::or_wrench_estimator_state_<ContainerAllocator> & v)
{
ros::message_operations::Printer< ::uavpos_ros::or_wrench_estimator_state_<ContainerAllocator> >::stream(s, "", v);
return s;
}


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


} // namespace uavpos_ros

namespace ros
{
namespace message_traits
{





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

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

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

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

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

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


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

  static const char* value(const ::uavpos_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< ::uavpos_ros::or_wrench_estimator_state_<ContainerAllocator> >
{
  static const char* value()
  {
    return "uavpos_ros/or_wrench_estimator_state";
  }

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

template<class ContainerAllocator>
struct Definition< ::uavpos_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: 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_rb3d_force_cov\n"
"# IDL struct ::or::rb3d::force_cov\n"
"float64[6] cov\n"
"\n"
"================================================================================\n"
"MSG: uavpos_ros/or_rb3d_torque\n"
"# IDL struct ::or::rb3d::torque\n"
"float64 x\n"
"float64 y\n"
"float64 z\n"
"\n"
"================================================================================\n"
"MSG: uavpos_ros/or_rb3d_torque_cov\n"
"# IDL struct ::or::rb3d::torque_cov\n"
"float64[6] cov\n"
;
  }

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

} // namespace message_traits
} // namespace ros

namespace ros
{
namespace serialization
{

  template<class ContainerAllocator> struct Serializer< ::uavpos_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< ::uavpos_ros::or_wrench_estimator_state_<ContainerAllocator> >
{
  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::uavpos_ros::or_wrench_estimator_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 << "force[]" << std::endl;
    for (size_t i = 0; i < v.force.size(); ++i)
    {
      s << indent << "  force[" << i << "]: ";
      s << std::endl;
      s << indent;
      Printer< ::uavpos_ros::or_rb3d_force_<ContainerAllocator> >::stream(s, indent + "    ", v.force[i]);
    }
    s << indent << "force_cov[]" << std::endl;
    for (size_t i = 0; i < v.force_cov.size(); ++i)
    {
      s << indent << "  force_cov[" << i << "]: ";
      s << std::endl;
      s << indent;
      Printer< ::uavpos_ros::or_rb3d_force_cov_<ContainerAllocator> >::stream(s, indent + "    ", v.force_cov[i]);
    }
    s << indent << "torque[]" << std::endl;
    for (size_t i = 0; i < v.torque.size(); ++i)
    {
      s << indent << "  torque[" << i << "]: ";
      s << std::endl;
      s << indent;
      Printer< ::uavpos_ros::or_rb3d_torque_<ContainerAllocator> >::stream(s, indent + "    ", v.torque[i]);
    }
    s << indent << "torque_cov[]" << std::endl;
    for (size_t i = 0; i < v.torque_cov.size(); ++i)
    {
      s << indent << "  torque_cov[" << i << "]: ";
      s << std::endl;
      s << indent;
      Printer< ::uavpos_ros::or_rb3d_torque_cov_<ContainerAllocator> >::stream(s, indent + "    ", v.torque_cov[i]);
    }
  }
};

} // namespace message_operations
} // namespace ros

#endif // UAVPOS_ROS_MESSAGE_OR_WRENCH_ESTIMATOR_STATE_H
