00001
00002 #ifndef COGMAN_MSGS_MESSAGE_ARMHANDFEEDBACK_H
00003 #define COGMAN_MSGS_MESSAGE_ARMHANDFEEDBACK_H
00004 #include <string>
00005 #include <vector>
00006 #include <ostream>
00007 #include "ros/serialization.h"
00008 #include "ros/builtin_message_traits.h"
00009 #include "ros/message_operations.h"
00010 #include "ros/message.h"
00011 #include "ros/time.h"
00012
00013
00014 namespace cogman_msgs
00015 {
00016 template <class ContainerAllocator>
00017 struct ArmHandFeedback_ : public ros::Message
00018 {
00019 typedef ArmHandFeedback_<ContainerAllocator> Type;
00020
00021 ArmHandFeedback_()
00022 : distance_to_goal(0.0)
00023 {
00024 }
00025
00026 ArmHandFeedback_(const ContainerAllocator& _alloc)
00027 : distance_to_goal(0.0)
00028 {
00029 }
00030
00031 typedef float _distance_to_goal_type;
00032 float distance_to_goal;
00033
00034
00035 private:
00036 static const char* __s_getDataType_() { return "cogman_msgs/ArmHandFeedback"; }
00037 public:
00038 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }
00039
00040 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); }
00041
00042 private:
00043 static const char* __s_getMD5Sum_() { return "a919d04ed2096bb17a51fa9ae226b8a8"; }
00044 public:
00045 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }
00046
00047 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); }
00048
00049 private:
00050 static const char* __s_getMessageDefinition_() { return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00051 #feedback\n\
00052 float32 distance_to_goal\n\
00053 \n\
00054 \n\
00055 \n\
00056 "; }
00057 public:
00058 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00059
00060 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00061
00062 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00063 {
00064 ros::serialization::OStream stream(write_ptr, 1000000000);
00065 ros::serialization::serialize(stream, distance_to_goal);
00066 return stream.getData();
00067 }
00068
00069 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00070 {
00071 ros::serialization::IStream stream(read_ptr, 1000000000);
00072 ros::serialization::deserialize(stream, distance_to_goal);
00073 return stream.getData();
00074 }
00075
00076 ROS_DEPRECATED virtual uint32_t serializationLength() const
00077 {
00078 uint32_t size = 0;
00079 size += ros::serialization::serializationLength(distance_to_goal);
00080 return size;
00081 }
00082
00083 typedef boost::shared_ptr< ::cogman_msgs::ArmHandFeedback_<ContainerAllocator> > Ptr;
00084 typedef boost::shared_ptr< ::cogman_msgs::ArmHandFeedback_<ContainerAllocator> const> ConstPtr;
00085 };
00086 typedef ::cogman_msgs::ArmHandFeedback_<std::allocator<void> > ArmHandFeedback;
00087
00088 typedef boost::shared_ptr< ::cogman_msgs::ArmHandFeedback> ArmHandFeedbackPtr;
00089 typedef boost::shared_ptr< ::cogman_msgs::ArmHandFeedback const> ArmHandFeedbackConstPtr;
00090
00091
00092 template<typename ContainerAllocator>
00093 std::ostream& operator<<(std::ostream& s, const ::cogman_msgs::ArmHandFeedback_<ContainerAllocator> & v)
00094 {
00095 ros::message_operations::Printer< ::cogman_msgs::ArmHandFeedback_<ContainerAllocator> >::stream(s, "", v);
00096 return s;}
00097
00098 }
00099
00100 namespace ros
00101 {
00102 namespace message_traits
00103 {
00104 template<class ContainerAllocator>
00105 struct MD5Sum< ::cogman_msgs::ArmHandFeedback_<ContainerAllocator> > {
00106 static const char* value()
00107 {
00108 return "a919d04ed2096bb17a51fa9ae226b8a8";
00109 }
00110
00111 static const char* value(const ::cogman_msgs::ArmHandFeedback_<ContainerAllocator> &) { return value(); }
00112 static const uint64_t static_value1 = 0xa919d04ed2096bb1ULL;
00113 static const uint64_t static_value2 = 0x7a51fa9ae226b8a8ULL;
00114 };
00115
00116 template<class ContainerAllocator>
00117 struct DataType< ::cogman_msgs::ArmHandFeedback_<ContainerAllocator> > {
00118 static const char* value()
00119 {
00120 return "cogman_msgs/ArmHandFeedback";
00121 }
00122
00123 static const char* value(const ::cogman_msgs::ArmHandFeedback_<ContainerAllocator> &) { return value(); }
00124 };
00125
00126 template<class ContainerAllocator>
00127 struct Definition< ::cogman_msgs::ArmHandFeedback_<ContainerAllocator> > {
00128 static const char* value()
00129 {
00130 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00131 #feedback\n\
00132 float32 distance_to_goal\n\
00133 \n\
00134 \n\
00135 \n\
00136 ";
00137 }
00138
00139 static const char* value(const ::cogman_msgs::ArmHandFeedback_<ContainerAllocator> &) { return value(); }
00140 };
00141
00142 template<class ContainerAllocator> struct IsFixedSize< ::cogman_msgs::ArmHandFeedback_<ContainerAllocator> > : public TrueType {};
00143 }
00144 }
00145
00146 namespace ros
00147 {
00148 namespace serialization
00149 {
00150
00151 template<class ContainerAllocator> struct Serializer< ::cogman_msgs::ArmHandFeedback_<ContainerAllocator> >
00152 {
00153 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00154 {
00155 stream.next(m.distance_to_goal);
00156 }
00157
00158 ROS_DECLARE_ALLINONE_SERIALIZER;
00159 };
00160 }
00161 }
00162
00163 namespace ros
00164 {
00165 namespace message_operations
00166 {
00167
00168 template<class ContainerAllocator>
00169 struct Printer< ::cogman_msgs::ArmHandFeedback_<ContainerAllocator> >
00170 {
00171 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::cogman_msgs::ArmHandFeedback_<ContainerAllocator> & v)
00172 {
00173 s << indent << "distance_to_goal: ";
00174 Printer<float>::stream(s, indent + " ", v.distance_to_goal);
00175 }
00176 };
00177
00178
00179 }
00180 }
00181
00182 #endif // COGMAN_MSGS_MESSAGE_ARMHANDFEEDBACK_H
00183