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