GetChompCollisionCost.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-arm_navigation_experimental/doc_stacks/2013-12-12_11-03-06.264841/arm_navigation_experimental/chomp_motion_planner/srv/GetChompCollisionCost.srv */
00002 #ifndef CHOMP_MOTION_PLANNER_SERVICE_GETCHOMPCOLLISIONCOST_H
00003 #define CHOMP_MOTION_PLANNER_SERVICE_GETCHOMPCOLLISIONCOST_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 "arm_navigation_msgs/RobotState.h"
00020 
00021 
00022 #include "chomp_motion_planner/JointVelocityArray.h"
00023 
00024 namespace chomp_motion_planner
00025 {
00026 template <class ContainerAllocator>
00027 struct GetChompCollisionCostRequest_ {
00028   typedef GetChompCollisionCostRequest_<ContainerAllocator> Type;
00029 
00030   GetChompCollisionCostRequest_()
00031   : links()
00032   , state()
00033   {
00034   }
00035 
00036   GetChompCollisionCostRequest_(const ContainerAllocator& _alloc)
00037   : links(_alloc)
00038   , state(_alloc)
00039   {
00040   }
00041 
00042   typedef std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other >  _links_type;
00043   std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other >  links;
00044 
00045   typedef  ::arm_navigation_msgs::RobotState_<ContainerAllocator>  _state_type;
00046    ::arm_navigation_msgs::RobotState_<ContainerAllocator>  state;
00047 
00048 
00049   typedef boost::shared_ptr< ::chomp_motion_planner::GetChompCollisionCostRequest_<ContainerAllocator> > Ptr;
00050   typedef boost::shared_ptr< ::chomp_motion_planner::GetChompCollisionCostRequest_<ContainerAllocator>  const> ConstPtr;
00051   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00052 }; // struct GetChompCollisionCostRequest
00053 typedef  ::chomp_motion_planner::GetChompCollisionCostRequest_<std::allocator<void> > GetChompCollisionCostRequest;
00054 
00055 typedef boost::shared_ptr< ::chomp_motion_planner::GetChompCollisionCostRequest> GetChompCollisionCostRequestPtr;
00056 typedef boost::shared_ptr< ::chomp_motion_planner::GetChompCollisionCostRequest const> GetChompCollisionCostRequestConstPtr;
00057 
00058 
00059 template <class ContainerAllocator>
00060 struct GetChompCollisionCostResponse_ {
00061   typedef GetChompCollisionCostResponse_<ContainerAllocator> Type;
00062 
00063   GetChompCollisionCostResponse_()
00064   : costs()
00065   , gradient()
00066   , in_collision(0)
00067   {
00068   }
00069 
00070   GetChompCollisionCostResponse_(const ContainerAllocator& _alloc)
00071   : costs(_alloc)
00072   , gradient(_alloc)
00073   , in_collision(0)
00074   {
00075   }
00076 
00077   typedef std::vector<double, typename ContainerAllocator::template rebind<double>::other >  _costs_type;
00078   std::vector<double, typename ContainerAllocator::template rebind<double>::other >  costs;
00079 
00080   typedef std::vector< ::chomp_motion_planner::JointVelocityArray_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::chomp_motion_planner::JointVelocityArray_<ContainerAllocator> >::other >  _gradient_type;
00081   std::vector< ::chomp_motion_planner::JointVelocityArray_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::chomp_motion_planner::JointVelocityArray_<ContainerAllocator> >::other >  gradient;
00082 
00083   typedef uint8_t _in_collision_type;
00084   uint8_t in_collision;
00085 
00086 
00087   typedef boost::shared_ptr< ::chomp_motion_planner::GetChompCollisionCostResponse_<ContainerAllocator> > Ptr;
00088   typedef boost::shared_ptr< ::chomp_motion_planner::GetChompCollisionCostResponse_<ContainerAllocator>  const> ConstPtr;
00089   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00090 }; // struct GetChompCollisionCostResponse
00091 typedef  ::chomp_motion_planner::GetChompCollisionCostResponse_<std::allocator<void> > GetChompCollisionCostResponse;
00092 
00093 typedef boost::shared_ptr< ::chomp_motion_planner::GetChompCollisionCostResponse> GetChompCollisionCostResponsePtr;
00094 typedef boost::shared_ptr< ::chomp_motion_planner::GetChompCollisionCostResponse const> GetChompCollisionCostResponseConstPtr;
00095 
00096 struct GetChompCollisionCost
00097 {
00098 
00099 typedef GetChompCollisionCostRequest Request;
00100 typedef GetChompCollisionCostResponse Response;
00101 Request request;
00102 Response response;
00103 
00104 typedef Request RequestType;
00105 typedef Response ResponseType;
00106 }; // struct GetChompCollisionCost
00107 } // namespace chomp_motion_planner
00108 
00109 namespace ros
00110 {
00111 namespace message_traits
00112 {
00113 template<class ContainerAllocator> struct IsMessage< ::chomp_motion_planner::GetChompCollisionCostRequest_<ContainerAllocator> > : public TrueType {};
00114 template<class ContainerAllocator> struct IsMessage< ::chomp_motion_planner::GetChompCollisionCostRequest_<ContainerAllocator>  const> : public TrueType {};
00115 template<class ContainerAllocator>
00116 struct MD5Sum< ::chomp_motion_planner::GetChompCollisionCostRequest_<ContainerAllocator> > {
00117   static const char* value() 
00118   {
00119     return "acabb6bac55143035edcf10159a5b130";
00120   }
00121 
00122   static const char* value(const  ::chomp_motion_planner::GetChompCollisionCostRequest_<ContainerAllocator> &) { return value(); } 
00123   static const uint64_t static_value1 = 0xacabb6bac5514303ULL;
00124   static const uint64_t static_value2 = 0x5edcf10159a5b130ULL;
00125 };
00126 
00127 template<class ContainerAllocator>
00128 struct DataType< ::chomp_motion_planner::GetChompCollisionCostRequest_<ContainerAllocator> > {
00129   static const char* value() 
00130   {
00131     return "chomp_motion_planner/GetChompCollisionCostRequest";
00132   }
00133 
00134   static const char* value(const  ::chomp_motion_planner::GetChompCollisionCostRequest_<ContainerAllocator> &) { return value(); } 
00135 };
00136 
00137 template<class ContainerAllocator>
00138 struct Definition< ::chomp_motion_planner::GetChompCollisionCostRequest_<ContainerAllocator> > {
00139   static const char* value() 
00140   {
00141     return "\n\
00142 string[] links\n\
00143 \n\
00144 \n\
00145 \n\
00146 arm_navigation_msgs/RobotState state\n\
00147 \n\
00148 \n\
00149 ================================================================================\n\
00150 MSG: arm_navigation_msgs/RobotState\n\
00151 # This message contains information about the robot state, i.e. the positions of its joints and links\n\
00152 sensor_msgs/JointState joint_state\n\
00153 arm_navigation_msgs/MultiDOFJointState multi_dof_joint_state\n\
00154 \n\
00155 ================================================================================\n\
00156 MSG: sensor_msgs/JointState\n\
00157 # This is a message that holds data to describe the state of a set of torque controlled joints. \n\
00158 #\n\
00159 # The state of each joint (revolute or prismatic) is defined by:\n\
00160 #  * the position of the joint (rad or m),\n\
00161 #  * the velocity of the joint (rad/s or m/s) and \n\
00162 #  * the effort that is applied in the joint (Nm or N).\n\
00163 #\n\
00164 # Each joint is uniquely identified by its name\n\
00165 # The header specifies the time at which the joint states were recorded. All the joint states\n\
00166 # in one message have to be recorded at the same time.\n\
00167 #\n\
00168 # This message consists of a multiple arrays, one for each part of the joint state. \n\
00169 # The goal is to make each of the fields optional. When e.g. your joints have no\n\
00170 # effort associated with them, you can leave the effort array empty. \n\
00171 #\n\
00172 # All arrays in this message should have the same size, or be empty.\n\
00173 # This is the only way to uniquely associate the joint name with the correct\n\
00174 # states.\n\
00175 \n\
00176 \n\
00177 Header header\n\
00178 \n\
00179 string[] name\n\
00180 float64[] position\n\
00181 float64[] velocity\n\
00182 float64[] effort\n\
00183 \n\
00184 ================================================================================\n\
00185 MSG: std_msgs/Header\n\
00186 # Standard metadata for higher-level stamped data types.\n\
00187 # This is generally used to communicate timestamped data \n\
00188 # in a particular coordinate frame.\n\
00189 # \n\
00190 # sequence ID: consecutively increasing ID \n\
00191 uint32 seq\n\
00192 #Two-integer timestamp that is expressed as:\n\
00193 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00194 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00195 # time-handling sugar is provided by the client library\n\
00196 time stamp\n\
00197 #Frame this data is associated with\n\
00198 # 0: no frame\n\
00199 # 1: global frame\n\
00200 string frame_id\n\
00201 \n\
00202 ================================================================================\n\
00203 MSG: arm_navigation_msgs/MultiDOFJointState\n\
00204 #A representation of a multi-dof joint state\n\
00205 time stamp\n\
00206 string[] joint_names\n\
00207 string[] frame_ids\n\
00208 string[] child_frame_ids\n\
00209 geometry_msgs/Pose[] poses\n\
00210 \n\
00211 ================================================================================\n\
00212 MSG: geometry_msgs/Pose\n\
00213 # A representation of pose in free space, composed of postion and orientation. \n\
00214 Point position\n\
00215 Quaternion orientation\n\
00216 \n\
00217 ================================================================================\n\
00218 MSG: geometry_msgs/Point\n\
00219 # This contains the position of a point in free space\n\
00220 float64 x\n\
00221 float64 y\n\
00222 float64 z\n\
00223 \n\
00224 ================================================================================\n\
00225 MSG: geometry_msgs/Quaternion\n\
00226 # This represents an orientation in free space in quaternion form.\n\
00227 \n\
00228 float64 x\n\
00229 float64 y\n\
00230 float64 z\n\
00231 float64 w\n\
00232 \n\
00233 ";
00234   }
00235 
00236   static const char* value(const  ::chomp_motion_planner::GetChompCollisionCostRequest_<ContainerAllocator> &) { return value(); } 
00237 };
00238 
00239 } // namespace message_traits
00240 } // namespace ros
00241 
00242 
00243 namespace ros
00244 {
00245 namespace message_traits
00246 {
00247 template<class ContainerAllocator> struct IsMessage< ::chomp_motion_planner::GetChompCollisionCostResponse_<ContainerAllocator> > : public TrueType {};
00248 template<class ContainerAllocator> struct IsMessage< ::chomp_motion_planner::GetChompCollisionCostResponse_<ContainerAllocator>  const> : public TrueType {};
00249 template<class ContainerAllocator>
00250 struct MD5Sum< ::chomp_motion_planner::GetChompCollisionCostResponse_<ContainerAllocator> > {
00251   static const char* value() 
00252   {
00253     return "bed009b7d4d6620621ef40430dbc9236";
00254   }
00255 
00256   static const char* value(const  ::chomp_motion_planner::GetChompCollisionCostResponse_<ContainerAllocator> &) { return value(); } 
00257   static const uint64_t static_value1 = 0xbed009b7d4d66206ULL;
00258   static const uint64_t static_value2 = 0x21ef40430dbc9236ULL;
00259 };
00260 
00261 template<class ContainerAllocator>
00262 struct DataType< ::chomp_motion_planner::GetChompCollisionCostResponse_<ContainerAllocator> > {
00263   static const char* value() 
00264   {
00265     return "chomp_motion_planner/GetChompCollisionCostResponse";
00266   }
00267 
00268   static const char* value(const  ::chomp_motion_planner::GetChompCollisionCostResponse_<ContainerAllocator> &) { return value(); } 
00269 };
00270 
00271 template<class ContainerAllocator>
00272 struct Definition< ::chomp_motion_planner::GetChompCollisionCostResponse_<ContainerAllocator> > {
00273   static const char* value() 
00274   {
00275     return "\n\
00276 \n\
00277 float64[] costs\n\
00278 \n\
00279 \n\
00280 \n\
00281 \n\
00282 JointVelocityArray[] gradient\n\
00283 \n\
00284 \n\
00285 uint8 in_collision\n\
00286 \n\
00287 \n\
00288 ================================================================================\n\
00289 MSG: chomp_motion_planner/JointVelocityArray\n\
00290 # A list of joint names\n\
00291 string[] joint_names\n\
00292 \n\
00293 # Velocity for each of the above joints\n\
00294 float64[] velocities\n\
00295 \n\
00296 ";
00297   }
00298 
00299   static const char* value(const  ::chomp_motion_planner::GetChompCollisionCostResponse_<ContainerAllocator> &) { return value(); } 
00300 };
00301 
00302 } // namespace message_traits
00303 } // namespace ros
00304 
00305 namespace ros
00306 {
00307 namespace serialization
00308 {
00309 
00310 template<class ContainerAllocator> struct Serializer< ::chomp_motion_planner::GetChompCollisionCostRequest_<ContainerAllocator> >
00311 {
00312   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00313   {
00314     stream.next(m.links);
00315     stream.next(m.state);
00316   }
00317 
00318   ROS_DECLARE_ALLINONE_SERIALIZER;
00319 }; // struct GetChompCollisionCostRequest_
00320 } // namespace serialization
00321 } // namespace ros
00322 
00323 
00324 namespace ros
00325 {
00326 namespace serialization
00327 {
00328 
00329 template<class ContainerAllocator> struct Serializer< ::chomp_motion_planner::GetChompCollisionCostResponse_<ContainerAllocator> >
00330 {
00331   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00332   {
00333     stream.next(m.costs);
00334     stream.next(m.gradient);
00335     stream.next(m.in_collision);
00336   }
00337 
00338   ROS_DECLARE_ALLINONE_SERIALIZER;
00339 }; // struct GetChompCollisionCostResponse_
00340 } // namespace serialization
00341 } // namespace ros
00342 
00343 namespace ros
00344 {
00345 namespace service_traits
00346 {
00347 template<>
00348 struct MD5Sum<chomp_motion_planner::GetChompCollisionCost> {
00349   static const char* value() 
00350   {
00351     return "484cb732bcae020fb22ff8ac89a6ff9f";
00352   }
00353 
00354   static const char* value(const chomp_motion_planner::GetChompCollisionCost&) { return value(); } 
00355 };
00356 
00357 template<>
00358 struct DataType<chomp_motion_planner::GetChompCollisionCost> {
00359   static const char* value() 
00360   {
00361     return "chomp_motion_planner/GetChompCollisionCost";
00362   }
00363 
00364   static const char* value(const chomp_motion_planner::GetChompCollisionCost&) { return value(); } 
00365 };
00366 
00367 template<class ContainerAllocator>
00368 struct MD5Sum<chomp_motion_planner::GetChompCollisionCostRequest_<ContainerAllocator> > {
00369   static const char* value() 
00370   {
00371     return "484cb732bcae020fb22ff8ac89a6ff9f";
00372   }
00373 
00374   static const char* value(const chomp_motion_planner::GetChompCollisionCostRequest_<ContainerAllocator> &) { return value(); } 
00375 };
00376 
00377 template<class ContainerAllocator>
00378 struct DataType<chomp_motion_planner::GetChompCollisionCostRequest_<ContainerAllocator> > {
00379   static const char* value() 
00380   {
00381     return "chomp_motion_planner/GetChompCollisionCost";
00382   }
00383 
00384   static const char* value(const chomp_motion_planner::GetChompCollisionCostRequest_<ContainerAllocator> &) { return value(); } 
00385 };
00386 
00387 template<class ContainerAllocator>
00388 struct MD5Sum<chomp_motion_planner::GetChompCollisionCostResponse_<ContainerAllocator> > {
00389   static const char* value() 
00390   {
00391     return "484cb732bcae020fb22ff8ac89a6ff9f";
00392   }
00393 
00394   static const char* value(const chomp_motion_planner::GetChompCollisionCostResponse_<ContainerAllocator> &) { return value(); } 
00395 };
00396 
00397 template<class ContainerAllocator>
00398 struct DataType<chomp_motion_planner::GetChompCollisionCostResponse_<ContainerAllocator> > {
00399   static const char* value() 
00400   {
00401     return "chomp_motion_planner/GetChompCollisionCost";
00402   }
00403 
00404   static const char* value(const chomp_motion_planner::GetChompCollisionCostResponse_<ContainerAllocator> &) { return value(); } 
00405 };
00406 
00407 } // namespace service_traits
00408 } // namespace ros
00409 
00410 #endif // CHOMP_MOTION_PLANNER_SERVICE_GETCHOMPCOLLISIONCOST_H
00411 


chomp_motion_planner
Author(s): Mrinal Kalakrishnan / mail@mrinal.net
autogenerated on Thu Dec 12 2013 11:08:58