Go to the documentation of this file.00001
00002 #ifndef GAZEBO_MSGS_SERVICE_GETPHYSICSPROPERTIES_H
00003 #define GAZEBO_MSGS_SERVICE_GETPHYSICSPROPERTIES_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 #include "geometry_msgs/Vector3.h"
00022 #include "gazebo_msgs/ODEPhysics.h"
00023
00024 namespace gazebo_msgs
00025 {
00026 template <class ContainerAllocator>
00027 struct GetPhysicsPropertiesRequest_ {
00028 typedef GetPhysicsPropertiesRequest_<ContainerAllocator> Type;
00029
00030 GetPhysicsPropertiesRequest_()
00031 {
00032 }
00033
00034 GetPhysicsPropertiesRequest_(const ContainerAllocator& _alloc)
00035 {
00036 }
00037
00038
00039 typedef boost::shared_ptr< ::gazebo_msgs::GetPhysicsPropertiesRequest_<ContainerAllocator> > Ptr;
00040 typedef boost::shared_ptr< ::gazebo_msgs::GetPhysicsPropertiesRequest_<ContainerAllocator> const> ConstPtr;
00041 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00042 };
00043 typedef ::gazebo_msgs::GetPhysicsPropertiesRequest_<std::allocator<void> > GetPhysicsPropertiesRequest;
00044
00045 typedef boost::shared_ptr< ::gazebo_msgs::GetPhysicsPropertiesRequest> GetPhysicsPropertiesRequestPtr;
00046 typedef boost::shared_ptr< ::gazebo_msgs::GetPhysicsPropertiesRequest const> GetPhysicsPropertiesRequestConstPtr;
00047
00048
00049 template <class ContainerAllocator>
00050 struct GetPhysicsPropertiesResponse_ {
00051 typedef GetPhysicsPropertiesResponse_<ContainerAllocator> Type;
00052
00053 GetPhysicsPropertiesResponse_()
00054 : time_step(0.0)
00055 , pause(false)
00056 , max_update_rate(0.0)
00057 , gravity()
00058 , ode_config()
00059 , success(false)
00060 , status_message()
00061 {
00062 }
00063
00064 GetPhysicsPropertiesResponse_(const ContainerAllocator& _alloc)
00065 : time_step(0.0)
00066 , pause(false)
00067 , max_update_rate(0.0)
00068 , gravity(_alloc)
00069 , ode_config(_alloc)
00070 , success(false)
00071 , status_message(_alloc)
00072 {
00073 }
00074
00075 typedef double _time_step_type;
00076 double time_step;
00077
00078 typedef uint8_t _pause_type;
00079 uint8_t pause;
00080
00081 typedef double _max_update_rate_type;
00082 double max_update_rate;
00083
00084 typedef ::geometry_msgs::Vector3_<ContainerAllocator> _gravity_type;
00085 ::geometry_msgs::Vector3_<ContainerAllocator> gravity;
00086
00087 typedef ::gazebo_msgs::ODEPhysics_<ContainerAllocator> _ode_config_type;
00088 ::gazebo_msgs::ODEPhysics_<ContainerAllocator> ode_config;
00089
00090 typedef uint8_t _success_type;
00091 uint8_t success;
00092
00093 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _status_message_type;
00094 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > status_message;
00095
00096
00097 typedef boost::shared_ptr< ::gazebo_msgs::GetPhysicsPropertiesResponse_<ContainerAllocator> > Ptr;
00098 typedef boost::shared_ptr< ::gazebo_msgs::GetPhysicsPropertiesResponse_<ContainerAllocator> const> ConstPtr;
00099 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00100 };
00101 typedef ::gazebo_msgs::GetPhysicsPropertiesResponse_<std::allocator<void> > GetPhysicsPropertiesResponse;
00102
00103 typedef boost::shared_ptr< ::gazebo_msgs::GetPhysicsPropertiesResponse> GetPhysicsPropertiesResponsePtr;
00104 typedef boost::shared_ptr< ::gazebo_msgs::GetPhysicsPropertiesResponse const> GetPhysicsPropertiesResponseConstPtr;
00105
00106 struct GetPhysicsProperties
00107 {
00108
00109 typedef GetPhysicsPropertiesRequest Request;
00110 typedef GetPhysicsPropertiesResponse Response;
00111 Request request;
00112 Response response;
00113
00114 typedef Request RequestType;
00115 typedef Response ResponseType;
00116 };
00117 }
00118
00119 namespace ros
00120 {
00121 namespace message_traits
00122 {
00123 template<class ContainerAllocator> struct IsMessage< ::gazebo_msgs::GetPhysicsPropertiesRequest_<ContainerAllocator> > : public TrueType {};
00124 template<class ContainerAllocator> struct IsMessage< ::gazebo_msgs::GetPhysicsPropertiesRequest_<ContainerAllocator> const> : public TrueType {};
00125 template<class ContainerAllocator>
00126 struct MD5Sum< ::gazebo_msgs::GetPhysicsPropertiesRequest_<ContainerAllocator> > {
00127 static const char* value()
00128 {
00129 return "d41d8cd98f00b204e9800998ecf8427e";
00130 }
00131
00132 static const char* value(const ::gazebo_msgs::GetPhysicsPropertiesRequest_<ContainerAllocator> &) { return value(); }
00133 static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL;
00134 static const uint64_t static_value2 = 0xe9800998ecf8427eULL;
00135 };
00136
00137 template<class ContainerAllocator>
00138 struct DataType< ::gazebo_msgs::GetPhysicsPropertiesRequest_<ContainerAllocator> > {
00139 static const char* value()
00140 {
00141 return "gazebo_msgs/GetPhysicsPropertiesRequest";
00142 }
00143
00144 static const char* value(const ::gazebo_msgs::GetPhysicsPropertiesRequest_<ContainerAllocator> &) { return value(); }
00145 };
00146
00147 template<class ContainerAllocator>
00148 struct Definition< ::gazebo_msgs::GetPhysicsPropertiesRequest_<ContainerAllocator> > {
00149 static const char* value()
00150 {
00151 return "\n\
00152 ";
00153 }
00154
00155 static const char* value(const ::gazebo_msgs::GetPhysicsPropertiesRequest_<ContainerAllocator> &) { return value(); }
00156 };
00157
00158 template<class ContainerAllocator> struct IsFixedSize< ::gazebo_msgs::GetPhysicsPropertiesRequest_<ContainerAllocator> > : public TrueType {};
00159 }
00160 }
00161
00162
00163 namespace ros
00164 {
00165 namespace message_traits
00166 {
00167 template<class ContainerAllocator> struct IsMessage< ::gazebo_msgs::GetPhysicsPropertiesResponse_<ContainerAllocator> > : public TrueType {};
00168 template<class ContainerAllocator> struct IsMessage< ::gazebo_msgs::GetPhysicsPropertiesResponse_<ContainerAllocator> const> : public TrueType {};
00169 template<class ContainerAllocator>
00170 struct MD5Sum< ::gazebo_msgs::GetPhysicsPropertiesResponse_<ContainerAllocator> > {
00171 static const char* value()
00172 {
00173 return "575a5e74786981b7df2e3afc567693a6";
00174 }
00175
00176 static const char* value(const ::gazebo_msgs::GetPhysicsPropertiesResponse_<ContainerAllocator> &) { return value(); }
00177 static const uint64_t static_value1 = 0x575a5e74786981b7ULL;
00178 static const uint64_t static_value2 = 0xdf2e3afc567693a6ULL;
00179 };
00180
00181 template<class ContainerAllocator>
00182 struct DataType< ::gazebo_msgs::GetPhysicsPropertiesResponse_<ContainerAllocator> > {
00183 static const char* value()
00184 {
00185 return "gazebo_msgs/GetPhysicsPropertiesResponse";
00186 }
00187
00188 static const char* value(const ::gazebo_msgs::GetPhysicsPropertiesResponse_<ContainerAllocator> &) { return value(); }
00189 };
00190
00191 template<class ContainerAllocator>
00192 struct Definition< ::gazebo_msgs::GetPhysicsPropertiesResponse_<ContainerAllocator> > {
00193 static const char* value()
00194 {
00195 return "\n\
00196 float64 time_step\n\
00197 bool pause\n\
00198 float64 max_update_rate\n\
00199 geometry_msgs/Vector3 gravity\n\
00200 gazebo_msgs/ODEPhysics ode_config\n\
00201 bool success\n\
00202 string status_message\n\
00203 \n\
00204 \n\
00205 ================================================================================\n\
00206 MSG: geometry_msgs/Vector3\n\
00207 # This represents a vector in free space. \n\
00208 \n\
00209 float64 x\n\
00210 float64 y\n\
00211 float64 z\n\
00212 ================================================================================\n\
00213 MSG: gazebo_msgs/ODEPhysics\n\
00214 bool auto_disable_bodies # enable auto disabling of bodies, default false\n\
00215 uint32 sor_pgs_precon_iters # preconditioning inner iterations when uisng projected Gauss Seidel\n\
00216 uint32 sor_pgs_iters # inner iterations when uisng projected Gauss Seidel\n\
00217 float64 sor_pgs_w # relaxation parameter when using projected Gauss Seidel, 1 = no relaxation\n\
00218 float64 sor_pgs_rms_error_tol # rms error tolerance before stopping inner iterations\n\
00219 float64 contact_surface_layer # contact \"dead-band\" width\n\
00220 float64 contact_max_correcting_vel # contact maximum correction velocity\n\
00221 float64 cfm # global constraint force mixing\n\
00222 float64 erp # global error reduction parameter\n\
00223 uint32 max_contacts # maximum contact joints between two geoms\n\
00224 \n\
00225 ";
00226 }
00227
00228 static const char* value(const ::gazebo_msgs::GetPhysicsPropertiesResponse_<ContainerAllocator> &) { return value(); }
00229 };
00230
00231 }
00232 }
00233
00234 namespace ros
00235 {
00236 namespace serialization
00237 {
00238
00239 template<class ContainerAllocator> struct Serializer< ::gazebo_msgs::GetPhysicsPropertiesRequest_<ContainerAllocator> >
00240 {
00241 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00242 {
00243 }
00244
00245 ROS_DECLARE_ALLINONE_SERIALIZER;
00246 };
00247 }
00248 }
00249
00250
00251 namespace ros
00252 {
00253 namespace serialization
00254 {
00255
00256 template<class ContainerAllocator> struct Serializer< ::gazebo_msgs::GetPhysicsPropertiesResponse_<ContainerAllocator> >
00257 {
00258 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00259 {
00260 stream.next(m.time_step);
00261 stream.next(m.pause);
00262 stream.next(m.max_update_rate);
00263 stream.next(m.gravity);
00264 stream.next(m.ode_config);
00265 stream.next(m.success);
00266 stream.next(m.status_message);
00267 }
00268
00269 ROS_DECLARE_ALLINONE_SERIALIZER;
00270 };
00271 }
00272 }
00273
00274 namespace ros
00275 {
00276 namespace service_traits
00277 {
00278 template<>
00279 struct MD5Sum<gazebo_msgs::GetPhysicsProperties> {
00280 static const char* value()
00281 {
00282 return "575a5e74786981b7df2e3afc567693a6";
00283 }
00284
00285 static const char* value(const gazebo_msgs::GetPhysicsProperties&) { return value(); }
00286 };
00287
00288 template<>
00289 struct DataType<gazebo_msgs::GetPhysicsProperties> {
00290 static const char* value()
00291 {
00292 return "gazebo_msgs/GetPhysicsProperties";
00293 }
00294
00295 static const char* value(const gazebo_msgs::GetPhysicsProperties&) { return value(); }
00296 };
00297
00298 template<class ContainerAllocator>
00299 struct MD5Sum<gazebo_msgs::GetPhysicsPropertiesRequest_<ContainerAllocator> > {
00300 static const char* value()
00301 {
00302 return "575a5e74786981b7df2e3afc567693a6";
00303 }
00304
00305 static const char* value(const gazebo_msgs::GetPhysicsPropertiesRequest_<ContainerAllocator> &) { return value(); }
00306 };
00307
00308 template<class ContainerAllocator>
00309 struct DataType<gazebo_msgs::GetPhysicsPropertiesRequest_<ContainerAllocator> > {
00310 static const char* value()
00311 {
00312 return "gazebo_msgs/GetPhysicsProperties";
00313 }
00314
00315 static const char* value(const gazebo_msgs::GetPhysicsPropertiesRequest_<ContainerAllocator> &) { return value(); }
00316 };
00317
00318 template<class ContainerAllocator>
00319 struct MD5Sum<gazebo_msgs::GetPhysicsPropertiesResponse_<ContainerAllocator> > {
00320 static const char* value()
00321 {
00322 return "575a5e74786981b7df2e3afc567693a6";
00323 }
00324
00325 static const char* value(const gazebo_msgs::GetPhysicsPropertiesResponse_<ContainerAllocator> &) { return value(); }
00326 };
00327
00328 template<class ContainerAllocator>
00329 struct DataType<gazebo_msgs::GetPhysicsPropertiesResponse_<ContainerAllocator> > {
00330 static const char* value()
00331 {
00332 return "gazebo_msgs/GetPhysicsProperties";
00333 }
00334
00335 static const char* value(const gazebo_msgs::GetPhysicsPropertiesResponse_<ContainerAllocator> &) { return value(); }
00336 };
00337
00338 }
00339 }
00340
00341 #endif // GAZEBO_MSGS_SERVICE_GETPHYSICSPROPERTIES_H
00342