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