Go to the documentation of this file.00001
00002 #ifndef PR2_CALIBRATION_LAUNCH_SERVICE_FKTEST_H
00003 #define PR2_CALIBRATION_LAUNCH_SERVICE_FKTEST_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 "ros/service_traits.h"
00018
00019
00020
00021
00022 namespace pr2_calibration_launch
00023 {
00024 template <class ContainerAllocator>
00025 struct FkTestRequest_ {
00026 typedef FkTestRequest_<ContainerAllocator> Type;
00027
00028 FkTestRequest_()
00029 : root()
00030 , tip()
00031 , joint_positions()
00032 {
00033 }
00034
00035 FkTestRequest_(const ContainerAllocator& _alloc)
00036 : root(_alloc)
00037 , tip(_alloc)
00038 , joint_positions(_alloc)
00039 {
00040 }
00041
00042 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _root_type;
00043 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > root;
00044
00045 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _tip_type;
00046 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > tip;
00047
00048 typedef std::vector<double, typename ContainerAllocator::template rebind<double>::other > _joint_positions_type;
00049 std::vector<double, typename ContainerAllocator::template rebind<double>::other > joint_positions;
00050
00051
00052 typedef boost::shared_ptr< ::pr2_calibration_launch::FkTestRequest_<ContainerAllocator> > Ptr;
00053 typedef boost::shared_ptr< ::pr2_calibration_launch::FkTestRequest_<ContainerAllocator> const> ConstPtr;
00054 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00055 };
00056 typedef ::pr2_calibration_launch::FkTestRequest_<std::allocator<void> > FkTestRequest;
00057
00058 typedef boost::shared_ptr< ::pr2_calibration_launch::FkTestRequest> FkTestRequestPtr;
00059 typedef boost::shared_ptr< ::pr2_calibration_launch::FkTestRequest const> FkTestRequestConstPtr;
00060
00061
00062 template <class ContainerAllocator>
00063 struct FkTestResponse_ {
00064 typedef FkTestResponse_<ContainerAllocator> Type;
00065
00066 FkTestResponse_()
00067 : pos()
00068 , rot()
00069 {
00070 }
00071
00072 FkTestResponse_(const ContainerAllocator& _alloc)
00073 : pos(_alloc)
00074 , rot(_alloc)
00075 {
00076 }
00077
00078 typedef std::vector<double, typename ContainerAllocator::template rebind<double>::other > _pos_type;
00079 std::vector<double, typename ContainerAllocator::template rebind<double>::other > pos;
00080
00081 typedef std::vector<double, typename ContainerAllocator::template rebind<double>::other > _rot_type;
00082 std::vector<double, typename ContainerAllocator::template rebind<double>::other > rot;
00083
00084
00085 typedef boost::shared_ptr< ::pr2_calibration_launch::FkTestResponse_<ContainerAllocator> > Ptr;
00086 typedef boost::shared_ptr< ::pr2_calibration_launch::FkTestResponse_<ContainerAllocator> const> ConstPtr;
00087 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00088 };
00089 typedef ::pr2_calibration_launch::FkTestResponse_<std::allocator<void> > FkTestResponse;
00090
00091 typedef boost::shared_ptr< ::pr2_calibration_launch::FkTestResponse> FkTestResponsePtr;
00092 typedef boost::shared_ptr< ::pr2_calibration_launch::FkTestResponse const> FkTestResponseConstPtr;
00093
00094 struct FkTest
00095 {
00096
00097 typedef FkTestRequest Request;
00098 typedef FkTestResponse Response;
00099 Request request;
00100 Response response;
00101
00102 typedef Request RequestType;
00103 typedef Response ResponseType;
00104 };
00105 }
00106
00107 namespace ros
00108 {
00109 namespace message_traits
00110 {
00111 template<class ContainerAllocator> struct IsMessage< ::pr2_calibration_launch::FkTestRequest_<ContainerAllocator> > : public TrueType {};
00112 template<class ContainerAllocator> struct IsMessage< ::pr2_calibration_launch::FkTestRequest_<ContainerAllocator> const> : public TrueType {};
00113 template<class ContainerAllocator>
00114 struct MD5Sum< ::pr2_calibration_launch::FkTestRequest_<ContainerAllocator> > {
00115 static const char* value()
00116 {
00117 return "708e14f98ff72822d3442bcaef9c218d";
00118 }
00119
00120 static const char* value(const ::pr2_calibration_launch::FkTestRequest_<ContainerAllocator> &) { return value(); }
00121 static const uint64_t static_value1 = 0x708e14f98ff72822ULL;
00122 static const uint64_t static_value2 = 0xd3442bcaef9c218dULL;
00123 };
00124
00125 template<class ContainerAllocator>
00126 struct DataType< ::pr2_calibration_launch::FkTestRequest_<ContainerAllocator> > {
00127 static const char* value()
00128 {
00129 return "pr2_calibration_launch/FkTestRequest";
00130 }
00131
00132 static const char* value(const ::pr2_calibration_launch::FkTestRequest_<ContainerAllocator> &) { return value(); }
00133 };
00134
00135 template<class ContainerAllocator>
00136 struct Definition< ::pr2_calibration_launch::FkTestRequest_<ContainerAllocator> > {
00137 static const char* value()
00138 {
00139 return "string root\n\
00140 string tip\n\
00141 float64[] joint_positions\n\
00142 \n\
00143 ";
00144 }
00145
00146 static const char* value(const ::pr2_calibration_launch::FkTestRequest_<ContainerAllocator> &) { return value(); }
00147 };
00148
00149 }
00150 }
00151
00152
00153 namespace ros
00154 {
00155 namespace message_traits
00156 {
00157 template<class ContainerAllocator> struct IsMessage< ::pr2_calibration_launch::FkTestResponse_<ContainerAllocator> > : public TrueType {};
00158 template<class ContainerAllocator> struct IsMessage< ::pr2_calibration_launch::FkTestResponse_<ContainerAllocator> const> : public TrueType {};
00159 template<class ContainerAllocator>
00160 struct MD5Sum< ::pr2_calibration_launch::FkTestResponse_<ContainerAllocator> > {
00161 static const char* value()
00162 {
00163 return "e2248c2f30c5f3e010ed2e9434015c6e";
00164 }
00165
00166 static const char* value(const ::pr2_calibration_launch::FkTestResponse_<ContainerAllocator> &) { return value(); }
00167 static const uint64_t static_value1 = 0xe2248c2f30c5f3e0ULL;
00168 static const uint64_t static_value2 = 0x10ed2e9434015c6eULL;
00169 };
00170
00171 template<class ContainerAllocator>
00172 struct DataType< ::pr2_calibration_launch::FkTestResponse_<ContainerAllocator> > {
00173 static const char* value()
00174 {
00175 return "pr2_calibration_launch/FkTestResponse";
00176 }
00177
00178 static const char* value(const ::pr2_calibration_launch::FkTestResponse_<ContainerAllocator> &) { return value(); }
00179 };
00180
00181 template<class ContainerAllocator>
00182 struct Definition< ::pr2_calibration_launch::FkTestResponse_<ContainerAllocator> > {
00183 static const char* value()
00184 {
00185 return "float64[] pos\n\
00186 float64[] rot\n\
00187 \n\
00188 \n\
00189 ";
00190 }
00191
00192 static const char* value(const ::pr2_calibration_launch::FkTestResponse_<ContainerAllocator> &) { return value(); }
00193 };
00194
00195 }
00196 }
00197
00198 namespace ros
00199 {
00200 namespace serialization
00201 {
00202
00203 template<class ContainerAllocator> struct Serializer< ::pr2_calibration_launch::FkTestRequest_<ContainerAllocator> >
00204 {
00205 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00206 {
00207 stream.next(m.root);
00208 stream.next(m.tip);
00209 stream.next(m.joint_positions);
00210 }
00211
00212 ROS_DECLARE_ALLINONE_SERIALIZER;
00213 };
00214 }
00215 }
00216
00217
00218 namespace ros
00219 {
00220 namespace serialization
00221 {
00222
00223 template<class ContainerAllocator> struct Serializer< ::pr2_calibration_launch::FkTestResponse_<ContainerAllocator> >
00224 {
00225 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00226 {
00227 stream.next(m.pos);
00228 stream.next(m.rot);
00229 }
00230
00231 ROS_DECLARE_ALLINONE_SERIALIZER;
00232 };
00233 }
00234 }
00235
00236 namespace ros
00237 {
00238 namespace service_traits
00239 {
00240 template<>
00241 struct MD5Sum<pr2_calibration_launch::FkTest> {
00242 static const char* value()
00243 {
00244 return "d0aebb48bb1f10495921a75dfb81a75a";
00245 }
00246
00247 static const char* value(const pr2_calibration_launch::FkTest&) { return value(); }
00248 };
00249
00250 template<>
00251 struct DataType<pr2_calibration_launch::FkTest> {
00252 static const char* value()
00253 {
00254 return "pr2_calibration_launch/FkTest";
00255 }
00256
00257 static const char* value(const pr2_calibration_launch::FkTest&) { return value(); }
00258 };
00259
00260 template<class ContainerAllocator>
00261 struct MD5Sum<pr2_calibration_launch::FkTestRequest_<ContainerAllocator> > {
00262 static const char* value()
00263 {
00264 return "d0aebb48bb1f10495921a75dfb81a75a";
00265 }
00266
00267 static const char* value(const pr2_calibration_launch::FkTestRequest_<ContainerAllocator> &) { return value(); }
00268 };
00269
00270 template<class ContainerAllocator>
00271 struct DataType<pr2_calibration_launch::FkTestRequest_<ContainerAllocator> > {
00272 static const char* value()
00273 {
00274 return "pr2_calibration_launch/FkTest";
00275 }
00276
00277 static const char* value(const pr2_calibration_launch::FkTestRequest_<ContainerAllocator> &) { return value(); }
00278 };
00279
00280 template<class ContainerAllocator>
00281 struct MD5Sum<pr2_calibration_launch::FkTestResponse_<ContainerAllocator> > {
00282 static const char* value()
00283 {
00284 return "d0aebb48bb1f10495921a75dfb81a75a";
00285 }
00286
00287 static const char* value(const pr2_calibration_launch::FkTestResponse_<ContainerAllocator> &) { return value(); }
00288 };
00289
00290 template<class ContainerAllocator>
00291 struct DataType<pr2_calibration_launch::FkTestResponse_<ContainerAllocator> > {
00292 static const char* value()
00293 {
00294 return "pr2_calibration_launch/FkTest";
00295 }
00296
00297 static const char* value(const pr2_calibration_launch::FkTestResponse_<ContainerAllocator> &) { return value(); }
00298 };
00299
00300 }
00301 }
00302
00303 #endif // PR2_CALIBRATION_LAUNCH_SERVICE_FKTEST_H
00304