Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038 #ifndef PR2_CONTROLLERS_MSGS_MESSAGE_POINTHEADFEEDBACK_H
00039 #define PR2_CONTROLLERS_MSGS_MESSAGE_POINTHEADFEEDBACK_H
00040
00041
00042 #include <string>
00043 #include <vector>
00044 #include <map>
00045
00046 #include <ros/types.h>
00047 #include <ros/serialization.h>
00048 #include <ros/builtin_message_traits.h>
00049 #include <ros/message_operations.h>
00050
00051
00052 namespace pr2_controllers_msgs
00053 {
00054 template <class ContainerAllocator>
00055 struct PointHeadFeedback_
00056 {
00057 typedef PointHeadFeedback_<ContainerAllocator> Type;
00058
00059 PointHeadFeedback_()
00060 : pointing_angle_error(0.0) {
00061 }
00062 PointHeadFeedback_(const ContainerAllocator& _alloc)
00063 : pointing_angle_error(0.0) {
00064 }
00065
00066
00067
00068 typedef double _pointing_angle_error_type;
00069 _pointing_angle_error_type pointing_angle_error;
00070
00071
00072
00073
00074 typedef boost::shared_ptr< ::pr2_controllers_msgs::PointHeadFeedback_<ContainerAllocator> > Ptr;
00075 typedef boost::shared_ptr< ::pr2_controllers_msgs::PointHeadFeedback_<ContainerAllocator> const> ConstPtr;
00076 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00077
00078 };
00079
00080 typedef ::pr2_controllers_msgs::PointHeadFeedback_<std::allocator<void> > PointHeadFeedback;
00081
00082 typedef boost::shared_ptr< ::pr2_controllers_msgs::PointHeadFeedback > PointHeadFeedbackPtr;
00083 typedef boost::shared_ptr< ::pr2_controllers_msgs::PointHeadFeedback const> PointHeadFeedbackConstPtr;
00084
00085
00086
00087
00088
00089 template<typename ContainerAllocator>
00090 std::ostream& operator<<(std::ostream& s, const ::pr2_controllers_msgs::PointHeadFeedback_<ContainerAllocator> & v)
00091 {
00092 ros::message_operations::Printer< ::pr2_controllers_msgs::PointHeadFeedback_<ContainerAllocator> >::stream(s, "", v);
00093 return s;
00094 }
00095
00096 }
00097
00098 namespace ros
00099 {
00100 namespace message_traits
00101 {
00102
00103
00104
00105
00106
00107
00108
00109
00110
00111
00112
00113 template <class ContainerAllocator>
00114 struct IsFixedSize< ::pr2_controllers_msgs::PointHeadFeedback_<ContainerAllocator> >
00115 : TrueType
00116 { };
00117
00118 template <class ContainerAllocator>
00119 struct IsFixedSize< ::pr2_controllers_msgs::PointHeadFeedback_<ContainerAllocator> const>
00120 : TrueType
00121 { };
00122
00123 template <class ContainerAllocator>
00124 struct IsMessage< ::pr2_controllers_msgs::PointHeadFeedback_<ContainerAllocator> >
00125 : TrueType
00126 { };
00127
00128 template <class ContainerAllocator>
00129 struct IsMessage< ::pr2_controllers_msgs::PointHeadFeedback_<ContainerAllocator> const>
00130 : TrueType
00131 { };
00132
00133 template <class ContainerAllocator>
00134 struct HasHeader< ::pr2_controllers_msgs::PointHeadFeedback_<ContainerAllocator> >
00135 : FalseType
00136 { };
00137
00138 template <class ContainerAllocator>
00139 struct HasHeader< ::pr2_controllers_msgs::PointHeadFeedback_<ContainerAllocator> const>
00140 : FalseType
00141 { };
00142
00143
00144 template<class ContainerAllocator>
00145 struct MD5Sum< ::pr2_controllers_msgs::PointHeadFeedback_<ContainerAllocator> >
00146 {
00147 static const char* value()
00148 {
00149 return "cce80d27fd763682da8805a73316cab4";
00150 }
00151
00152 static const char* value(const ::pr2_controllers_msgs::PointHeadFeedback_<ContainerAllocator>&) { return value(); }
00153 static const uint64_t static_value1 = 0xcce80d27fd763682ULL;
00154 static const uint64_t static_value2 = 0xda8805a73316cab4ULL;
00155 };
00156
00157 template<class ContainerAllocator>
00158 struct DataType< ::pr2_controllers_msgs::PointHeadFeedback_<ContainerAllocator> >
00159 {
00160 static const char* value()
00161 {
00162 return "pr2_controllers_msgs/PointHeadFeedback";
00163 }
00164
00165 static const char* value(const ::pr2_controllers_msgs::PointHeadFeedback_<ContainerAllocator>&) { return value(); }
00166 };
00167
00168 template<class ContainerAllocator>
00169 struct Definition< ::pr2_controllers_msgs::PointHeadFeedback_<ContainerAllocator> >
00170 {
00171 static const char* value()
00172 {
00173 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00174 float64 pointing_angle_error\n\
00175 \n\
00176 ";
00177 }
00178
00179 static const char* value(const ::pr2_controllers_msgs::PointHeadFeedback_<ContainerAllocator>&) { return value(); }
00180 };
00181
00182 }
00183 }
00184
00185 namespace ros
00186 {
00187 namespace serialization
00188 {
00189
00190 template<class ContainerAllocator> struct Serializer< ::pr2_controllers_msgs::PointHeadFeedback_<ContainerAllocator> >
00191 {
00192 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00193 {
00194 stream.next(m.pointing_angle_error);
00195 }
00196
00197 ROS_DECLARE_ALLINONE_SERIALIZER;
00198 };
00199
00200 }
00201 }
00202
00203 namespace ros
00204 {
00205 namespace message_operations
00206 {
00207
00208 template<class ContainerAllocator>
00209 struct Printer< ::pr2_controllers_msgs::PointHeadFeedback_<ContainerAllocator> >
00210 {
00211 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::pr2_controllers_msgs::PointHeadFeedback_<ContainerAllocator>& v)
00212 {
00213 s << indent << "pointing_angle_error: ";
00214 Printer<double>::stream(s, indent + " ", v.pointing_angle_error);
00215 }
00216 };
00217
00218 }
00219 }
00220
00221 #endif // PR2_CONTROLLERS_MSGS_MESSAGE_POINTHEADFEEDBACK_H