$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-simulator_gazebo/doc_stacks/2013-03-02_13-33-37.038309/simulator_gazebo/gazebo/srv/SetJointProperties.srv */ 00002 #ifndef GAZEBO_SERVICE_SETJOINTPROPERTIES_H 00003 #define GAZEBO_SERVICE_SETJOINTPROPERTIES_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 #include "gazebo/ODEJointProperties.h" 00020 00021 00022 00023 namespace gazebo 00024 { 00025 template <class ContainerAllocator> 00026 struct SetJointPropertiesRequest_ { 00027 typedef SetJointPropertiesRequest_<ContainerAllocator> Type; 00028 00029 SetJointPropertiesRequest_() 00030 : joint_name() 00031 , ode_joint_config() 00032 { 00033 } 00034 00035 SetJointPropertiesRequest_(const ContainerAllocator& _alloc) 00036 : joint_name(_alloc) 00037 , ode_joint_config(_alloc) 00038 { 00039 } 00040 00041 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _joint_name_type; 00042 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > joint_name; 00043 00044 typedef ::gazebo::ODEJointProperties_<ContainerAllocator> _ode_joint_config_type; 00045 ::gazebo::ODEJointProperties_<ContainerAllocator> ode_joint_config; 00046 00047 00048 private: 00049 static const char* __s_getDataType_() { return "gazebo/SetJointPropertiesRequest"; } 00050 public: 00051 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00052 00053 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00054 00055 private: 00056 static const char* __s_getMD5Sum_() { return "331fd8f35fd27e3c1421175590258e26"; } 00057 public: 00058 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00059 00060 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00061 00062 private: 00063 static const char* __s_getServerMD5Sum_() { return "15a76e921b1410c698d82782ea5fa370"; } 00064 public: 00065 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00066 00067 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00068 00069 private: 00070 static const char* __s_getMessageDefinition_() { return "\n\ 00071 \n\ 00072 string joint_name\n\ 00073 gazebo/ODEJointProperties ode_joint_config\n\ 00074 \n\ 00075 ================================================================================\n\ 00076 MSG: gazebo/ODEJointProperties\n\ 00077 #This message is deprecated. Please use the version in gazebo_msgs instead.\n\ 00078 \n\ 00079 # access to low level joint properties, change these at your own risk\n\ 00080 float64[] damping # joint damping\n\ 00081 float64[] hiStop # joint limit\n\ 00082 float64[] loStop # joint limit\n\ 00083 float64[] erp # set joint erp\n\ 00084 float64[] cfm # set joint cfm\n\ 00085 float64[] stop_erp # set joint erp for joint limit \"contact\" joint\n\ 00086 float64[] stop_cfm # set joint cfm for joint limit \"contact\" joint\n\ 00087 float64[] fudge_factor # joint fudge_factor applied at limits, see ODE manual for info.\n\ 00088 float64[] fmax # ode joint param fmax\n\ 00089 float64[] vel # ode joint param vel\n\ 00090 \n\ 00091 "; } 00092 public: 00093 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00094 00095 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00096 00097 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00098 { 00099 ros::serialization::OStream stream(write_ptr, 1000000000); 00100 ros::serialization::serialize(stream, joint_name); 00101 ros::serialization::serialize(stream, ode_joint_config); 00102 return stream.getData(); 00103 } 00104 00105 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00106 { 00107 ros::serialization::IStream stream(read_ptr, 1000000000); 00108 ros::serialization::deserialize(stream, joint_name); 00109 ros::serialization::deserialize(stream, ode_joint_config); 00110 return stream.getData(); 00111 } 00112 00113 ROS_DEPRECATED virtual uint32_t serializationLength() const 00114 { 00115 uint32_t size = 0; 00116 size += ros::serialization::serializationLength(joint_name); 00117 size += ros::serialization::serializationLength(ode_joint_config); 00118 return size; 00119 } 00120 00121 typedef boost::shared_ptr< ::gazebo::SetJointPropertiesRequest_<ContainerAllocator> > Ptr; 00122 typedef boost::shared_ptr< ::gazebo::SetJointPropertiesRequest_<ContainerAllocator> const> ConstPtr; 00123 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00124 }; // struct SetJointPropertiesRequest 00125 typedef ::gazebo::SetJointPropertiesRequest_<std::allocator<void> > SetJointPropertiesRequest; 00126 00127 typedef boost::shared_ptr< ::gazebo::SetJointPropertiesRequest> SetJointPropertiesRequestPtr; 00128 typedef boost::shared_ptr< ::gazebo::SetJointPropertiesRequest const> SetJointPropertiesRequestConstPtr; 00129 00130 00131 template <class ContainerAllocator> 00132 struct SetJointPropertiesResponse_ { 00133 typedef SetJointPropertiesResponse_<ContainerAllocator> Type; 00134 00135 SetJointPropertiesResponse_() 00136 : success(false) 00137 , status_message() 00138 { 00139 } 00140 00141 SetJointPropertiesResponse_(const ContainerAllocator& _alloc) 00142 : success(false) 00143 , status_message(_alloc) 00144 { 00145 } 00146 00147 typedef uint8_t _success_type; 00148 uint8_t success; 00149 00150 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _status_message_type; 00151 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > status_message; 00152 00153 00154 private: 00155 static const char* __s_getDataType_() { return "gazebo/SetJointPropertiesResponse"; } 00156 public: 00157 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00158 00159 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00160 00161 private: 00162 static const char* __s_getMD5Sum_() { return "2ec6f3eff0161f4257b808b12bc830c2"; } 00163 public: 00164 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00165 00166 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00167 00168 private: 00169 static const char* __s_getServerMD5Sum_() { return "15a76e921b1410c698d82782ea5fa370"; } 00170 public: 00171 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00172 00173 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00174 00175 private: 00176 static const char* __s_getMessageDefinition_() { return "bool success\n\ 00177 string status_message\n\ 00178 \n\ 00179 \n\ 00180 "; } 00181 public: 00182 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00183 00184 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00185 00186 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00187 { 00188 ros::serialization::OStream stream(write_ptr, 1000000000); 00189 ros::serialization::serialize(stream, success); 00190 ros::serialization::serialize(stream, status_message); 00191 return stream.getData(); 00192 } 00193 00194 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00195 { 00196 ros::serialization::IStream stream(read_ptr, 1000000000); 00197 ros::serialization::deserialize(stream, success); 00198 ros::serialization::deserialize(stream, status_message); 00199 return stream.getData(); 00200 } 00201 00202 ROS_DEPRECATED virtual uint32_t serializationLength() const 00203 { 00204 uint32_t size = 0; 00205 size += ros::serialization::serializationLength(success); 00206 size += ros::serialization::serializationLength(status_message); 00207 return size; 00208 } 00209 00210 typedef boost::shared_ptr< ::gazebo::SetJointPropertiesResponse_<ContainerAllocator> > Ptr; 00211 typedef boost::shared_ptr< ::gazebo::SetJointPropertiesResponse_<ContainerAllocator> const> ConstPtr; 00212 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00213 }; // struct SetJointPropertiesResponse 00214 typedef ::gazebo::SetJointPropertiesResponse_<std::allocator<void> > SetJointPropertiesResponse; 00215 00216 typedef boost::shared_ptr< ::gazebo::SetJointPropertiesResponse> SetJointPropertiesResponsePtr; 00217 typedef boost::shared_ptr< ::gazebo::SetJointPropertiesResponse const> SetJointPropertiesResponseConstPtr; 00218 00219 struct SetJointProperties 00220 { 00221 00222 typedef SetJointPropertiesRequest Request; 00223 typedef SetJointPropertiesResponse Response; 00224 Request request; 00225 Response response; 00226 00227 typedef Request RequestType; 00228 typedef Response ResponseType; 00229 }; // struct SetJointProperties 00230 } // namespace gazebo 00231 00232 namespace ros 00233 { 00234 namespace message_traits 00235 { 00236 template<class ContainerAllocator> struct IsMessage< ::gazebo::SetJointPropertiesRequest_<ContainerAllocator> > : public TrueType {}; 00237 template<class ContainerAllocator> struct IsMessage< ::gazebo::SetJointPropertiesRequest_<ContainerAllocator> const> : public TrueType {}; 00238 template<class ContainerAllocator> 00239 struct MD5Sum< ::gazebo::SetJointPropertiesRequest_<ContainerAllocator> > { 00240 static const char* value() 00241 { 00242 return "331fd8f35fd27e3c1421175590258e26"; 00243 } 00244 00245 static const char* value(const ::gazebo::SetJointPropertiesRequest_<ContainerAllocator> &) { return value(); } 00246 static const uint64_t static_value1 = 0x331fd8f35fd27e3cULL; 00247 static const uint64_t static_value2 = 0x1421175590258e26ULL; 00248 }; 00249 00250 template<class ContainerAllocator> 00251 struct DataType< ::gazebo::SetJointPropertiesRequest_<ContainerAllocator> > { 00252 static const char* value() 00253 { 00254 return "gazebo/SetJointPropertiesRequest"; 00255 } 00256 00257 static const char* value(const ::gazebo::SetJointPropertiesRequest_<ContainerAllocator> &) { return value(); } 00258 }; 00259 00260 template<class ContainerAllocator> 00261 struct Definition< ::gazebo::SetJointPropertiesRequest_<ContainerAllocator> > { 00262 static const char* value() 00263 { 00264 return "\n\ 00265 \n\ 00266 string joint_name\n\ 00267 gazebo/ODEJointProperties ode_joint_config\n\ 00268 \n\ 00269 ================================================================================\n\ 00270 MSG: gazebo/ODEJointProperties\n\ 00271 #This message is deprecated. Please use the version in gazebo_msgs instead.\n\ 00272 \n\ 00273 # access to low level joint properties, change these at your own risk\n\ 00274 float64[] damping # joint damping\n\ 00275 float64[] hiStop # joint limit\n\ 00276 float64[] loStop # joint limit\n\ 00277 float64[] erp # set joint erp\n\ 00278 float64[] cfm # set joint cfm\n\ 00279 float64[] stop_erp # set joint erp for joint limit \"contact\" joint\n\ 00280 float64[] stop_cfm # set joint cfm for joint limit \"contact\" joint\n\ 00281 float64[] fudge_factor # joint fudge_factor applied at limits, see ODE manual for info.\n\ 00282 float64[] fmax # ode joint param fmax\n\ 00283 float64[] vel # ode joint param vel\n\ 00284 \n\ 00285 "; 00286 } 00287 00288 static const char* value(const ::gazebo::SetJointPropertiesRequest_<ContainerAllocator> &) { return value(); } 00289 }; 00290 00291 } // namespace message_traits 00292 } // namespace ros 00293 00294 00295 namespace ros 00296 { 00297 namespace message_traits 00298 { 00299 template<class ContainerAllocator> struct IsMessage< ::gazebo::SetJointPropertiesResponse_<ContainerAllocator> > : public TrueType {}; 00300 template<class ContainerAllocator> struct IsMessage< ::gazebo::SetJointPropertiesResponse_<ContainerAllocator> const> : public TrueType {}; 00301 template<class ContainerAllocator> 00302 struct MD5Sum< ::gazebo::SetJointPropertiesResponse_<ContainerAllocator> > { 00303 static const char* value() 00304 { 00305 return "2ec6f3eff0161f4257b808b12bc830c2"; 00306 } 00307 00308 static const char* value(const ::gazebo::SetJointPropertiesResponse_<ContainerAllocator> &) { return value(); } 00309 static const uint64_t static_value1 = 0x2ec6f3eff0161f42ULL; 00310 static const uint64_t static_value2 = 0x57b808b12bc830c2ULL; 00311 }; 00312 00313 template<class ContainerAllocator> 00314 struct DataType< ::gazebo::SetJointPropertiesResponse_<ContainerAllocator> > { 00315 static const char* value() 00316 { 00317 return "gazebo/SetJointPropertiesResponse"; 00318 } 00319 00320 static const char* value(const ::gazebo::SetJointPropertiesResponse_<ContainerAllocator> &) { return value(); } 00321 }; 00322 00323 template<class ContainerAllocator> 00324 struct Definition< ::gazebo::SetJointPropertiesResponse_<ContainerAllocator> > { 00325 static const char* value() 00326 { 00327 return "bool success\n\ 00328 string status_message\n\ 00329 \n\ 00330 \n\ 00331 "; 00332 } 00333 00334 static const char* value(const ::gazebo::SetJointPropertiesResponse_<ContainerAllocator> &) { return value(); } 00335 }; 00336 00337 } // namespace message_traits 00338 } // namespace ros 00339 00340 namespace ros 00341 { 00342 namespace serialization 00343 { 00344 00345 template<class ContainerAllocator> struct Serializer< ::gazebo::SetJointPropertiesRequest_<ContainerAllocator> > 00346 { 00347 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00348 { 00349 stream.next(m.joint_name); 00350 stream.next(m.ode_joint_config); 00351 } 00352 00353 ROS_DECLARE_ALLINONE_SERIALIZER; 00354 }; // struct SetJointPropertiesRequest_ 00355 } // namespace serialization 00356 } // namespace ros 00357 00358 00359 namespace ros 00360 { 00361 namespace serialization 00362 { 00363 00364 template<class ContainerAllocator> struct Serializer< ::gazebo::SetJointPropertiesResponse_<ContainerAllocator> > 00365 { 00366 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00367 { 00368 stream.next(m.success); 00369 stream.next(m.status_message); 00370 } 00371 00372 ROS_DECLARE_ALLINONE_SERIALIZER; 00373 }; // struct SetJointPropertiesResponse_ 00374 } // namespace serialization 00375 } // namespace ros 00376 00377 namespace ros 00378 { 00379 namespace service_traits 00380 { 00381 template<> 00382 struct MD5Sum<gazebo::SetJointProperties> { 00383 static const char* value() 00384 { 00385 return "15a76e921b1410c698d82782ea5fa370"; 00386 } 00387 00388 static const char* value(const gazebo::SetJointProperties&) { return value(); } 00389 }; 00390 00391 template<> 00392 struct DataType<gazebo::SetJointProperties> { 00393 static const char* value() 00394 { 00395 return "gazebo/SetJointProperties"; 00396 } 00397 00398 static const char* value(const gazebo::SetJointProperties&) { return value(); } 00399 }; 00400 00401 template<class ContainerAllocator> 00402 struct MD5Sum<gazebo::SetJointPropertiesRequest_<ContainerAllocator> > { 00403 static const char* value() 00404 { 00405 return "15a76e921b1410c698d82782ea5fa370"; 00406 } 00407 00408 static const char* value(const gazebo::SetJointPropertiesRequest_<ContainerAllocator> &) { return value(); } 00409 }; 00410 00411 template<class ContainerAllocator> 00412 struct DataType<gazebo::SetJointPropertiesRequest_<ContainerAllocator> > { 00413 static const char* value() 00414 { 00415 return "gazebo/SetJointProperties"; 00416 } 00417 00418 static const char* value(const gazebo::SetJointPropertiesRequest_<ContainerAllocator> &) { return value(); } 00419 }; 00420 00421 template<class ContainerAllocator> 00422 struct MD5Sum<gazebo::SetJointPropertiesResponse_<ContainerAllocator> > { 00423 static const char* value() 00424 { 00425 return "15a76e921b1410c698d82782ea5fa370"; 00426 } 00427 00428 static const char* value(const gazebo::SetJointPropertiesResponse_<ContainerAllocator> &) { return value(); } 00429 }; 00430 00431 template<class ContainerAllocator> 00432 struct DataType<gazebo::SetJointPropertiesResponse_<ContainerAllocator> > { 00433 static const char* value() 00434 { 00435 return "gazebo/SetJointProperties"; 00436 } 00437 00438 static const char* value(const gazebo::SetJointPropertiesResponse_<ContainerAllocator> &) { return value(); } 00439 }; 00440 00441 } // namespace service_traits 00442 } // namespace ros 00443 00444 #endif // GAZEBO_SERVICE_SETJOINTPROPERTIES_H 00445