GripperControllerState.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-katana_driver/doc_stacks/2014-10-06_10-42-34.837372/katana_driver/katana_msgs/msg/GripperControllerState.msg */
00002 #ifndef KATANA_MSGS_MESSAGE_GRIPPERCONTROLLERSTATE_H
00003 #define KATANA_MSGS_MESSAGE_GRIPPERCONTROLLERSTATE_H
00004 #include <string>
00005 #include <vector>
00006 #include <map>
00007 #include <ostream>
00008 #include "ros/serialization.h"
00009 #include "ros/builtin_message_traits.h"
00010 #include "ros/message_operations.h"
00011 #include "ros/time.h"
00012 
00013 #include "ros/macros.h"
00014 
00015 #include "ros/assert.h"
00016 
00017 #include "std_msgs/Header.h"
00018 
00019 namespace katana_msgs
00020 {
00021 template <class ContainerAllocator>
00022 struct GripperControllerState_ {
00023   typedef GripperControllerState_<ContainerAllocator> Type;
00024 
00025   GripperControllerState_()
00026   : header()
00027   , name()
00028   , actual()
00029   , desired()
00030   , error()
00031   {
00032   }
00033 
00034   GripperControllerState_(const ContainerAllocator& _alloc)
00035   : header(_alloc)
00036   , name(_alloc)
00037   , actual(_alloc)
00038   , desired(_alloc)
00039   , error(_alloc)
00040   {
00041   }
00042 
00043   typedef  ::std_msgs::Header_<ContainerAllocator>  _header_type;
00044    ::std_msgs::Header_<ContainerAllocator>  header;
00045 
00046   typedef std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other >  _name_type;
00047   std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other >  name;
00048 
00049   typedef std::vector<double, typename ContainerAllocator::template rebind<double>::other >  _actual_type;
00050   std::vector<double, typename ContainerAllocator::template rebind<double>::other >  actual;
00051 
00052   typedef std::vector<double, typename ContainerAllocator::template rebind<double>::other >  _desired_type;
00053   std::vector<double, typename ContainerAllocator::template rebind<double>::other >  desired;
00054 
00055   typedef std::vector<double, typename ContainerAllocator::template rebind<double>::other >  _error_type;
00056   std::vector<double, typename ContainerAllocator::template rebind<double>::other >  error;
00057 
00058 
00059   typedef boost::shared_ptr< ::katana_msgs::GripperControllerState_<ContainerAllocator> > Ptr;
00060   typedef boost::shared_ptr< ::katana_msgs::GripperControllerState_<ContainerAllocator>  const> ConstPtr;
00061   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00062 }; // struct GripperControllerState
00063 typedef  ::katana_msgs::GripperControllerState_<std::allocator<void> > GripperControllerState;
00064 
00065 typedef boost::shared_ptr< ::katana_msgs::GripperControllerState> GripperControllerStatePtr;
00066 typedef boost::shared_ptr< ::katana_msgs::GripperControllerState const> GripperControllerStateConstPtr;
00067 
00068 
00069 template<typename ContainerAllocator>
00070 std::ostream& operator<<(std::ostream& s, const  ::katana_msgs::GripperControllerState_<ContainerAllocator> & v)
00071 {
00072   ros::message_operations::Printer< ::katana_msgs::GripperControllerState_<ContainerAllocator> >::stream(s, "", v);
00073   return s;}
00074 
00075 } // namespace katana_msgs
00076 
00077 namespace ros
00078 {
00079 namespace message_traits
00080 {
00081 template<class ContainerAllocator> struct IsMessage< ::katana_msgs::GripperControllerState_<ContainerAllocator> > : public TrueType {};
00082 template<class ContainerAllocator> struct IsMessage< ::katana_msgs::GripperControllerState_<ContainerAllocator>  const> : public TrueType {};
00083 template<class ContainerAllocator>
00084 struct MD5Sum< ::katana_msgs::GripperControllerState_<ContainerAllocator> > {
00085   static const char* value() 
00086   {
00087     return "57ba9ed166f48062eddf3c6e509f2dc0";
00088   }
00089 
00090   static const char* value(const  ::katana_msgs::GripperControllerState_<ContainerAllocator> &) { return value(); } 
00091   static const uint64_t static_value1 = 0x57ba9ed166f48062ULL;
00092   static const uint64_t static_value2 = 0xeddf3c6e509f2dc0ULL;
00093 };
00094 
00095 template<class ContainerAllocator>
00096 struct DataType< ::katana_msgs::GripperControllerState_<ContainerAllocator> > {
00097   static const char* value() 
00098   {
00099     return "katana_msgs/GripperControllerState";
00100   }
00101 
00102   static const char* value(const  ::katana_msgs::GripperControllerState_<ContainerAllocator> &) { return value(); } 
00103 };
00104 
00105 template<class ContainerAllocator>
00106 struct Definition< ::katana_msgs::GripperControllerState_<ContainerAllocator> > {
00107   static const char* value() 
00108   {
00109     return "# The actual and desired angles (in radian) of the gripper joints, \n\
00110 # and the error between actual and desired.\n\
00111 #\n\
00112 # Each joint is uniquely identified by its name.\n\
00113 #\n\
00114 # The header specifies the time at which the joint states were recorded. All the joint states\n\
00115 # in one message have to be recorded at the same time.\n\
00116 #\n\
00117 # This message consists of a multiple arrays, one for each part of the joint state. \n\
00118 #\n\
00119 # All arrays in this message should have the same size.\n\
00120 # This is the only way to uniquely associate the joint name with the correct\n\
00121 # states.\n\
00122 Header header\n\
00123 \n\
00124 string[] name\n\
00125 float64[] actual\n\
00126 float64[] desired\n\
00127 float64[] error\n\
00128 \n\
00129 ================================================================================\n\
00130 MSG: std_msgs/Header\n\
00131 # Standard metadata for higher-level stamped data types.\n\
00132 # This is generally used to communicate timestamped data \n\
00133 # in a particular coordinate frame.\n\
00134 # \n\
00135 # sequence ID: consecutively increasing ID \n\
00136 uint32 seq\n\
00137 #Two-integer timestamp that is expressed as:\n\
00138 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00139 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00140 # time-handling sugar is provided by the client library\n\
00141 time stamp\n\
00142 #Frame this data is associated with\n\
00143 # 0: no frame\n\
00144 # 1: global frame\n\
00145 string frame_id\n\
00146 \n\
00147 ";
00148   }
00149 
00150   static const char* value(const  ::katana_msgs::GripperControllerState_<ContainerAllocator> &) { return value(); } 
00151 };
00152 
00153 template<class ContainerAllocator> struct HasHeader< ::katana_msgs::GripperControllerState_<ContainerAllocator> > : public TrueType {};
00154 template<class ContainerAllocator> struct HasHeader< const ::katana_msgs::GripperControllerState_<ContainerAllocator> > : public TrueType {};
00155 } // namespace message_traits
00156 } // namespace ros
00157 
00158 namespace ros
00159 {
00160 namespace serialization
00161 {
00162 
00163 template<class ContainerAllocator> struct Serializer< ::katana_msgs::GripperControllerState_<ContainerAllocator> >
00164 {
00165   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00166   {
00167     stream.next(m.header);
00168     stream.next(m.name);
00169     stream.next(m.actual);
00170     stream.next(m.desired);
00171     stream.next(m.error);
00172   }
00173 
00174   ROS_DECLARE_ALLINONE_SERIALIZER;
00175 }; // struct GripperControllerState_
00176 } // namespace serialization
00177 } // namespace ros
00178 
00179 namespace ros
00180 {
00181 namespace message_operations
00182 {
00183 
00184 template<class ContainerAllocator>
00185 struct Printer< ::katana_msgs::GripperControllerState_<ContainerAllocator> >
00186 {
00187   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::katana_msgs::GripperControllerState_<ContainerAllocator> & v) 
00188   {
00189     s << indent << "header: ";
00190 s << std::endl;
00191     Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + "  ", v.header);
00192     s << indent << "name[]" << std::endl;
00193     for (size_t i = 0; i < v.name.size(); ++i)
00194     {
00195       s << indent << "  name[" << i << "]: ";
00196       Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.name[i]);
00197     }
00198     s << indent << "actual[]" << std::endl;
00199     for (size_t i = 0; i < v.actual.size(); ++i)
00200     {
00201       s << indent << "  actual[" << i << "]: ";
00202       Printer<double>::stream(s, indent + "  ", v.actual[i]);
00203     }
00204     s << indent << "desired[]" << std::endl;
00205     for (size_t i = 0; i < v.desired.size(); ++i)
00206     {
00207       s << indent << "  desired[" << i << "]: ";
00208       Printer<double>::stream(s, indent + "  ", v.desired[i]);
00209     }
00210     s << indent << "error[]" << std::endl;
00211     for (size_t i = 0; i < v.error.size(); ++i)
00212     {
00213       s << indent << "  error[" << i << "]: ";
00214       Printer<double>::stream(s, indent + "  ", v.error[i]);
00215     }
00216   }
00217 };
00218 
00219 
00220 } // namespace message_operations
00221 } // namespace ros
00222 
00223 #endif // KATANA_MSGS_MESSAGE_GRIPPERCONTROLLERSTATE_H
00224 


katana_msgs
Author(s): Martin Günther
autogenerated on Mon Oct 6 2014 10:45:00