Go to the documentation of this file.00001
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 typedef boost::shared_ptr< ::gazebo_msgs::SetJointPropertiesRequest_<ContainerAllocator> > Ptr;
00049 typedef boost::shared_ptr< ::gazebo_msgs::SetJointPropertiesRequest_<ContainerAllocator> const> ConstPtr;
00050 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00051 };
00052 typedef ::gazebo_msgs::SetJointPropertiesRequest_<std::allocator<void> > SetJointPropertiesRequest;
00053
00054 typedef boost::shared_ptr< ::gazebo_msgs::SetJointPropertiesRequest> SetJointPropertiesRequestPtr;
00055 typedef boost::shared_ptr< ::gazebo_msgs::SetJointPropertiesRequest const> SetJointPropertiesRequestConstPtr;
00056
00057
00058
00059 template <class ContainerAllocator>
00060 struct SetJointPropertiesResponse_ {
00061 typedef SetJointPropertiesResponse_<ContainerAllocator> Type;
00062
00063 SetJointPropertiesResponse_()
00064 : success(false)
00065 , status_message()
00066 {
00067 }
00068
00069 SetJointPropertiesResponse_(const ContainerAllocator& _alloc)
00070 : success(false)
00071 , status_message(_alloc)
00072 {
00073 }
00074
00075 typedef uint8_t _success_type;
00076 uint8_t success;
00077
00078 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _status_message_type;
00079 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > status_message;
00080
00081
00082 typedef boost::shared_ptr< ::gazebo_msgs::SetJointPropertiesResponse_<ContainerAllocator> > Ptr;
00083 typedef boost::shared_ptr< ::gazebo_msgs::SetJointPropertiesResponse_<ContainerAllocator> const> ConstPtr;
00084 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00085 };
00086 typedef ::gazebo_msgs::SetJointPropertiesResponse_<std::allocator<void> > SetJointPropertiesResponse;
00087
00088 typedef boost::shared_ptr< ::gazebo_msgs::SetJointPropertiesResponse> SetJointPropertiesResponsePtr;
00089 typedef boost::shared_ptr< ::gazebo_msgs::SetJointPropertiesResponse const> SetJointPropertiesResponseConstPtr;
00090
00091
00092 struct SetJointProperties
00093 {
00094
00095 typedef SetJointPropertiesRequest Request;
00096 typedef SetJointPropertiesResponse Response;
00097 Request request;
00098 Response response;
00099
00100 typedef Request RequestType;
00101 typedef Response ResponseType;
00102 };
00103 }
00104
00105 namespace ros
00106 {
00107 namespace message_traits
00108 {
00109 template<class ContainerAllocator> struct IsMessage< ::gazebo_msgs::SetJointPropertiesRequest_<ContainerAllocator> > : public TrueType {};
00110 template<class ContainerAllocator> struct IsMessage< ::gazebo_msgs::SetJointPropertiesRequest_<ContainerAllocator> const> : public TrueType {};
00111 template<class ContainerAllocator>
00112 struct MD5Sum< ::gazebo_msgs::SetJointPropertiesRequest_<ContainerAllocator> > {
00113 static const char* value()
00114 {
00115 return "331fd8f35fd27e3c1421175590258e26";
00116 }
00117
00118 static const char* value(const ::gazebo_msgs::SetJointPropertiesRequest_<ContainerAllocator> &) { return value(); }
00119 static const uint64_t static_value1 = 0x331fd8f35fd27e3cULL;
00120 static const uint64_t static_value2 = 0x1421175590258e26ULL;
00121 };
00122
00123 template<class ContainerAllocator>
00124 struct DataType< ::gazebo_msgs::SetJointPropertiesRequest_<ContainerAllocator> > {
00125 static const char* value()
00126 {
00127 return "gazebo_msgs/SetJointPropertiesRequest";
00128 }
00129
00130 static const char* value(const ::gazebo_msgs::SetJointPropertiesRequest_<ContainerAllocator> &) { return value(); }
00131 };
00132
00133 template<class ContainerAllocator>
00134 struct Definition< ::gazebo_msgs::SetJointPropertiesRequest_<ContainerAllocator> > {
00135 static const char* value()
00136 {
00137 return "string joint_name\n\
00138 gazebo_msgs/ODEJointProperties ode_joint_config\n\
00139 \n\
00140 ================================================================================\n\
00141 MSG: gazebo_msgs/ODEJointProperties\n\
00142 # access to low level joint properties, change these at your own risk\n\
00143 float64[] damping # joint damping\n\
00144 float64[] hiStop # joint limit\n\
00145 float64[] loStop # joint limit\n\
00146 float64[] erp # set joint erp\n\
00147 float64[] cfm # set joint cfm\n\
00148 float64[] stop_erp # set joint erp for joint limit \"contact\" joint\n\
00149 float64[] stop_cfm # set joint cfm for joint limit \"contact\" joint\n\
00150 float64[] fudge_factor # joint fudge_factor applied at limits, see ODE manual for info.\n\
00151 float64[] fmax # ode joint param fmax\n\
00152 float64[] vel # ode joint param vel\n\
00153 \n\
00154 ";
00155 }
00156
00157 static const char* value(const ::gazebo_msgs::SetJointPropertiesRequest_<ContainerAllocator> &) { return value(); }
00158 };
00159
00160 }
00161 }
00162
00163
00164 namespace ros
00165 {
00166 namespace message_traits
00167 {
00168 template<class ContainerAllocator> struct IsMessage< ::gazebo_msgs::SetJointPropertiesResponse_<ContainerAllocator> > : public TrueType {};
00169 template<class ContainerAllocator> struct IsMessage< ::gazebo_msgs::SetJointPropertiesResponse_<ContainerAllocator> const> : public TrueType {};
00170 template<class ContainerAllocator>
00171 struct MD5Sum< ::gazebo_msgs::SetJointPropertiesResponse_<ContainerAllocator> > {
00172 static const char* value()
00173 {
00174 return "2ec6f3eff0161f4257b808b12bc830c2";
00175 }
00176
00177 static const char* value(const ::gazebo_msgs::SetJointPropertiesResponse_<ContainerAllocator> &) { return value(); }
00178 static const uint64_t static_value1 = 0x2ec6f3eff0161f42ULL;
00179 static const uint64_t static_value2 = 0x57b808b12bc830c2ULL;
00180 };
00181
00182 template<class ContainerAllocator>
00183 struct DataType< ::gazebo_msgs::SetJointPropertiesResponse_<ContainerAllocator> > {
00184 static const char* value()
00185 {
00186 return "gazebo_msgs/SetJointPropertiesResponse";
00187 }
00188
00189 static const char* value(const ::gazebo_msgs::SetJointPropertiesResponse_<ContainerAllocator> &) { return value(); }
00190 };
00191
00192 template<class ContainerAllocator>
00193 struct Definition< ::gazebo_msgs::SetJointPropertiesResponse_<ContainerAllocator> > {
00194 static const char* value()
00195 {
00196 return "bool success\n\
00197 string status_message\n\
00198 \n\
00199 \n\
00200 ";
00201 }
00202
00203 static const char* value(const ::gazebo_msgs::SetJointPropertiesResponse_<ContainerAllocator> &) { return value(); }
00204 };
00205
00206 }
00207 }
00208
00209 namespace ros
00210 {
00211 namespace serialization
00212 {
00213
00214 template<class ContainerAllocator> struct Serializer< ::gazebo_msgs::SetJointPropertiesRequest_<ContainerAllocator> >
00215 {
00216 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00217 {
00218 stream.next(m.joint_name);
00219 stream.next(m.ode_joint_config);
00220 }
00221
00222 ROS_DECLARE_ALLINONE_SERIALIZER;
00223 };
00224 }
00225 }
00226
00227
00228 namespace ros
00229 {
00230 namespace serialization
00231 {
00232
00233 template<class ContainerAllocator> struct Serializer< ::gazebo_msgs::SetJointPropertiesResponse_<ContainerAllocator> >
00234 {
00235 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00236 {
00237 stream.next(m.success);
00238 stream.next(m.status_message);
00239 }
00240
00241 ROS_DECLARE_ALLINONE_SERIALIZER;
00242 };
00243 }
00244 }
00245
00246 namespace ros
00247 {
00248 namespace service_traits
00249 {
00250 template<>
00251 struct MD5Sum<gazebo_msgs::SetJointProperties> {
00252 static const char* value()
00253 {
00254 return "15a76e921b1410c698d82782ea5fa370";
00255 }
00256
00257 static const char* value(const gazebo_msgs::SetJointProperties&) { return value(); }
00258 };
00259
00260 template<>
00261 struct DataType<gazebo_msgs::SetJointProperties> {
00262 static const char* value()
00263 {
00264 return "gazebo_msgs/SetJointProperties";
00265 }
00266
00267 static const char* value(const gazebo_msgs::SetJointProperties&) { return value(); }
00268 };
00269
00270 template<class ContainerAllocator>
00271 struct MD5Sum<gazebo_msgs::SetJointPropertiesRequest_<ContainerAllocator> > {
00272 static const char* value()
00273 {
00274 return "15a76e921b1410c698d82782ea5fa370";
00275 }
00276
00277 static const char* value(const gazebo_msgs::SetJointPropertiesRequest_<ContainerAllocator> &) { return value(); }
00278 };
00279
00280 template<class ContainerAllocator>
00281 struct DataType<gazebo_msgs::SetJointPropertiesRequest_<ContainerAllocator> > {
00282 static const char* value()
00283 {
00284 return "gazebo_msgs/SetJointProperties";
00285 }
00286
00287 static const char* value(const gazebo_msgs::SetJointPropertiesRequest_<ContainerAllocator> &) { return value(); }
00288 };
00289
00290 template<class ContainerAllocator>
00291 struct MD5Sum<gazebo_msgs::SetJointPropertiesResponse_<ContainerAllocator> > {
00292 static const char* value()
00293 {
00294 return "15a76e921b1410c698d82782ea5fa370";
00295 }
00296
00297 static const char* value(const gazebo_msgs::SetJointPropertiesResponse_<ContainerAllocator> &) { return value(); }
00298 };
00299
00300 template<class ContainerAllocator>
00301 struct DataType<gazebo_msgs::SetJointPropertiesResponse_<ContainerAllocator> > {
00302 static const char* value()
00303 {
00304 return "gazebo_msgs/SetJointProperties";
00305 }
00306
00307 static const char* value(const gazebo_msgs::SetJointPropertiesResponse_<ContainerAllocator> &) { return value(); }
00308 };
00309
00310 }
00311 }
00312
00313 #endif // GAZEBO_MSGS_SERVICE_SETJOINTPROPERTIES_H
00314