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


#ifndef NHFC_ROS_MESSAGE_NHFC_IDS_SERVO_S_H
#define NHFC_ROS_MESSAGE_NHFC_IDS_SERVO_S_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/nhfc_ids_servo_s_sat_s.h>
#include <nhfc_ros/nhfc_ids_servo_s_satweight_s.h>
#include <nhfc_ros/nhfc_ids_servo_s_gain_s.h>
#include <nhfc_ros/nhfc_attitude_control_mode.h>
#include <nhfc_ros/nhfc_ids_servo_s_emerg_s.h>

namespace nhfc_ros
{
template <class ContainerAllocator>
struct nhfc_ids_servo_s_
{
  typedef nhfc_ids_servo_s_<ContainerAllocator> Type;

  nhfc_ids_servo_s_()
    : sat()
    , satweight()
    , gain()
    , att_mode()
    , ramp(0.0)
    , scale(0.0)
    , emerg()  {
    }
  nhfc_ids_servo_s_(const ContainerAllocator& _alloc)
    : sat(_alloc)
    , satweight(_alloc)
    , gain(_alloc)
    , att_mode(_alloc)
    , ramp(0.0)
    , scale(0.0)
    , emerg(_alloc)  {
  (void)_alloc;
    }



   typedef  ::nhfc_ros::nhfc_ids_servo_s_sat_s_<ContainerAllocator>  _sat_type;
  _sat_type sat;

   typedef  ::nhfc_ros::nhfc_ids_servo_s_satweight_s_<ContainerAllocator>  _satweight_type;
  _satweight_type satweight;

   typedef  ::nhfc_ros::nhfc_ids_servo_s_gain_s_<ContainerAllocator>  _gain_type;
  _gain_type gain;

   typedef  ::nhfc_ros::nhfc_attitude_control_mode_<ContainerAllocator>  _att_mode_type;
  _att_mode_type att_mode;

   typedef double _ramp_type;
  _ramp_type ramp;

   typedef double _scale_type;
  _scale_type scale;

   typedef  ::nhfc_ros::nhfc_ids_servo_s_emerg_s_<ContainerAllocator>  _emerg_type;
  _emerg_type emerg;





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

}; // struct nhfc_ids_servo_s_

typedef ::nhfc_ros::nhfc_ids_servo_s_<std::allocator<void> > nhfc_ids_servo_s;

typedef boost::shared_ptr< ::nhfc_ros::nhfc_ids_servo_s > nhfc_ids_servo_sPtr;
typedef boost::shared_ptr< ::nhfc_ros::nhfc_ids_servo_s const> nhfc_ids_servo_sConstPtr;

// constants requiring out of line definition



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


template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator==(const ::nhfc_ros::nhfc_ids_servo_s_<ContainerAllocator1> & lhs, const ::nhfc_ros::nhfc_ids_servo_s_<ContainerAllocator2> & rhs)
{
  return lhs.sat == rhs.sat &&
    lhs.satweight == rhs.satweight &&
    lhs.gain == rhs.gain &&
    lhs.att_mode == rhs.att_mode &&
    lhs.ramp == rhs.ramp &&
    lhs.scale == rhs.scale &&
    lhs.emerg == rhs.emerg;
}

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


} // namespace nhfc_ros

namespace ros
{
namespace message_traits
{





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

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

template <class ContainerAllocator>
struct IsFixedSize< ::nhfc_ros::nhfc_ids_servo_s_<ContainerAllocator> >
  : TrueType
  { };

template <class ContainerAllocator>
struct IsFixedSize< ::nhfc_ros::nhfc_ids_servo_s_<ContainerAllocator> const>
  : TrueType
  { };

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

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


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

  static const char* value(const ::nhfc_ros::nhfc_ids_servo_s_<ContainerAllocator>&) { return value(); }
  static const uint64_t static_value1 = 0xcf59277b3a8d9eb1ULL;
  static const uint64_t static_value2 = 0x184e8288d8d01b56ULL;
};

template<class ContainerAllocator>
struct DataType< ::nhfc_ros::nhfc_ids_servo_s_<ContainerAllocator> >
{
  static const char* value()
  {
    return "nhfc_ros/nhfc_ids_servo_s";
  }

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

template<class ContainerAllocator>
struct Definition< ::nhfc_ros::nhfc_ids_servo_s_<ContainerAllocator> >
{
  static const char* value()
  {
    return "# IDL struct ::nhfc::ids::servo_s\n"
"nhfc_ids_servo_s_sat_s sat\n"
"nhfc_ids_servo_s_satweight_s satweight\n"
"nhfc_ids_servo_s_gain_s gain\n"
"nhfc_attitude_control_mode att_mode\n"
"float64 ramp\n"
"float64 scale\n"
"nhfc_ids_servo_s_emerg_s emerg\n"
"\n"
"================================================================================\n"
"MSG: nhfc_ros/nhfc_ids_servo_s_sat_s\n"
"# IDL struct ::nhfc::ids::servo_s::sat_s\n"
"float64 x\n"
"float64 v\n"
"float64 ix\n"
"\n"
"================================================================================\n"
"MSG: nhfc_ros/nhfc_ids_servo_s_satweight_s\n"
"# IDL struct ::nhfc::ids::servo_s::satweight_s\n"
"bool enable\n"
"float64 thrust\n"
"float64 tilt\n"
"float64 head\n"
"\n"
"================================================================================\n"
"MSG: nhfc_ros/nhfc_ids_servo_s_gain_s\n"
"# IDL struct ::nhfc::ids::servo_s::gain_s\n"
"float64 Kpxy\n"
"float64 Kpz\n"
"float64 Kqxy\n"
"float64 Kqz\n"
"float64 Kvxy\n"
"float64 Kvz\n"
"float64 Kwxy\n"
"float64 Kwz\n"
"float64 Kixy\n"
"float64 Kiz\n"
"\n"
"================================================================================\n"
"MSG: nhfc_ros/nhfc_attitude_control_mode\n"
"# IDL enum ::nhfc::attitude_control_mode\n"
"uint32 nhfc_full_attitude = 0\n"
"uint32 nhfc_tilt_prioritized = 1\n"
"\n"
"uint32 value\n"
"\n"
"================================================================================\n"
"MSG: nhfc_ros/nhfc_ids_servo_s_emerg_s\n"
"# IDL struct ::nhfc::ids::servo_s::emerg_s\n"
"float64 descent\n"
"float64 dx\n"
"float64 dq\n"
"float64 dv\n"
"float64 dw\n"
;
  }

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

} // namespace message_traits
} // namespace ros

namespace ros
{
namespace serialization
{

  template<class ContainerAllocator> struct Serializer< ::nhfc_ros::nhfc_ids_servo_s_<ContainerAllocator> >
  {
    template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
    {
      stream.next(m.sat);
      stream.next(m.satweight);
      stream.next(m.gain);
      stream.next(m.att_mode);
      stream.next(m.ramp);
      stream.next(m.scale);
      stream.next(m.emerg);
    }

    ROS_DECLARE_ALLINONE_SERIALIZER
  }; // struct nhfc_ids_servo_s_

} // namespace serialization
} // namespace ros

namespace ros
{
namespace message_operations
{

template<class ContainerAllocator>
struct Printer< ::nhfc_ros::nhfc_ids_servo_s_<ContainerAllocator> >
{
  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::nhfc_ros::nhfc_ids_servo_s_<ContainerAllocator>& v)
  {
    if (false || !indent.empty())
      s << std::endl;
    s << indent << "sat: ";
    Printer< ::nhfc_ros::nhfc_ids_servo_s_sat_s_<ContainerAllocator> >::stream(s, indent + "  ", v.sat);
    if (true || !indent.empty())
      s << std::endl;
    s << indent << "satweight: ";
    Printer< ::nhfc_ros::nhfc_ids_servo_s_satweight_s_<ContainerAllocator> >::stream(s, indent + "  ", v.satweight);
    if (true || !indent.empty())
      s << std::endl;
    s << indent << "gain: ";
    Printer< ::nhfc_ros::nhfc_ids_servo_s_gain_s_<ContainerAllocator> >::stream(s, indent + "  ", v.gain);
    if (true || !indent.empty())
      s << std::endl;
    s << indent << "att_mode: ";
    Printer< ::nhfc_ros::nhfc_attitude_control_mode_<ContainerAllocator> >::stream(s, indent + "  ", v.att_mode);
    if (true || !indent.empty())
      s << std::endl;
    s << indent << "ramp: ";
    Printer<double>::stream(s, indent + "  ", v.ramp);
    if (true || !indent.empty())
      s << std::endl;
    s << indent << "scale: ";
    Printer<double>::stream(s, indent + "  ", v.scale);
    if (true || !indent.empty())
      s << std::endl;
    s << indent << "emerg: ";
    Printer< ::nhfc_ros::nhfc_ids_servo_s_emerg_s_<ContainerAllocator> >::stream(s, indent + "  ", v.emerg);
  }
};

} // namespace message_operations
} // namespace ros

#endif // NHFC_ROS_MESSAGE_NHFC_IDS_SERVO_S_H
