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