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


gazebo_msgs
Author(s): John Hsu
autogenerated on Mon Oct 6 2014 12:14:34