// Generated by gencpp from file detect_targets/control.msg
// DO NOT EDIT!


#ifndef DETECT_TARGETS_MESSAGE_CONTROL_H
#define DETECT_TARGETS_MESSAGE_CONTROL_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>


namespace detect_targets
{
template <class ContainerAllocator>
struct control_
{
  typedef control_<ContainerAllocator> Type;

  control_()
    : target(0.0)
    , error(0.0)
    , derror(0.0)
    , cmd_vel(0.0)  {
    }
  control_(const ContainerAllocator& _alloc)
    : target(0.0)
    , error(0.0)
    , derror(0.0)
    , cmd_vel(0.0)  {
  (void)_alloc;
    }



   typedef double _target_type;
  _target_type target;

   typedef double _error_type;
  _error_type error;

   typedef double _derror_type;
  _derror_type derror;

   typedef double _cmd_vel_type;
  _cmd_vel_type cmd_vel;





  typedef boost::shared_ptr< ::detect_targets::control_<ContainerAllocator> > Ptr;
  typedef boost::shared_ptr< ::detect_targets::control_<ContainerAllocator> const> ConstPtr;

}; // struct control_

typedef ::detect_targets::control_<std::allocator<void> > control;

typedef boost::shared_ptr< ::detect_targets::control > controlPtr;
typedef boost::shared_ptr< ::detect_targets::control const> controlConstPtr;

// constants requiring out of line definition



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

} // namespace detect_targets

namespace ros
{
namespace message_traits
{



// BOOLTRAITS {'IsFixedSize': True, 'IsMessage': True, 'HasHeader': False}
// {'std_msgs': ['/opt/ros/melodic/share/std_msgs/cmake/../msg'], 'detect_targets': ['/home/klafyvel/Documents/supelec/2A/projet/workspace/src/detect_targets/msg']}

// !!!!!!!!!!! ['__class__', '__delattr__', '__dict__', '__doc__', '__eq__', '__format__', '__getattribute__', '__hash__', '__init__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_parsed_fields', 'constants', 'fields', 'full_name', 'has_header', 'header_present', 'names', 'package', 'parsed_fields', 'short_name', 'text', 'types']




template <class ContainerAllocator>
struct IsFixedSize< ::detect_targets::control_<ContainerAllocator> >
  : TrueType
  { };

template <class ContainerAllocator>
struct IsFixedSize< ::detect_targets::control_<ContainerAllocator> const>
  : TrueType
  { };

template <class ContainerAllocator>
struct IsMessage< ::detect_targets::control_<ContainerAllocator> >
  : TrueType
  { };

template <class ContainerAllocator>
struct IsMessage< ::detect_targets::control_<ContainerAllocator> const>
  : TrueType
  { };

template <class ContainerAllocator>
struct HasHeader< ::detect_targets::control_<ContainerAllocator> >
  : FalseType
  { };

template <class ContainerAllocator>
struct HasHeader< ::detect_targets::control_<ContainerAllocator> const>
  : FalseType
  { };


template<class ContainerAllocator>
struct MD5Sum< ::detect_targets::control_<ContainerAllocator> >
{
  static const char* value()
  {
    return "6f80b008c55c6a68dec8d378f0b74e50";
  }

  static const char* value(const ::detect_targets::control_<ContainerAllocator>&) { return value(); }
  static const uint64_t static_value1 = 0x6f80b008c55c6a68ULL;
  static const uint64_t static_value2 = 0xdec8d378f0b74e50ULL;
};

template<class ContainerAllocator>
struct DataType< ::detect_targets::control_<ContainerAllocator> >
{
  static const char* value()
  {
    return "detect_targets/control";
  }

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

template<class ContainerAllocator>
struct Definition< ::detect_targets::control_<ContainerAllocator> >
{
  static const char* value()
  {
    return "float64 target\n\
float64 error\n\
float64 derror\n\
float64 cmd_vel\n\
";
  }

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

} // namespace message_traits
} // namespace ros

namespace ros
{
namespace serialization
{

  template<class ContainerAllocator> struct Serializer< ::detect_targets::control_<ContainerAllocator> >
  {
    template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
    {
      stream.next(m.target);
      stream.next(m.error);
      stream.next(m.derror);
      stream.next(m.cmd_vel);
    }

    ROS_DECLARE_ALLINONE_SERIALIZER
  }; // struct control_

} // namespace serialization
} // namespace ros

namespace ros
{
namespace message_operations
{

template<class ContainerAllocator>
struct Printer< ::detect_targets::control_<ContainerAllocator> >
{
  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::detect_targets::control_<ContainerAllocator>& v)
  {
    s << indent << "target: ";
    Printer<double>::stream(s, indent + "  ", v.target);
    s << indent << "error: ";
    Printer<double>::stream(s, indent + "  ", v.error);
    s << indent << "derror: ";
    Printer<double>::stream(s, indent + "  ", v.derror);
    s << indent << "cmd_vel: ";
    Printer<double>::stream(s, indent + "  ", v.cmd_vel);
  }
};

} // namespace message_operations
} // namespace ros

#endif // DETECT_TARGETS_MESSAGE_CONTROL_H
