$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-srs_public/doc_stacks/2013-03-05_12-22-34.333426/srs_public/srs_assisted_grasping_msgs/msg/ReactiveGraspingActionGoal.msg */ 00002 #ifndef SRS_ASSISTED_GRASPING_MSGS_MESSAGE_REACTIVEGRASPINGACTIONGOAL_H 00003 #define SRS_ASSISTED_GRASPING_MSGS_MESSAGE_REACTIVEGRASPINGACTIONGOAL_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 "std_msgs/Header.h" 00018 #include "actionlib_msgs/GoalID.h" 00019 #include "srs_assisted_grasping_msgs/ReactiveGraspingGoal.h" 00020 00021 namespace srs_assisted_grasping_msgs 00022 { 00023 template <class ContainerAllocator> 00024 struct ReactiveGraspingActionGoal_ { 00025 typedef ReactiveGraspingActionGoal_<ContainerAllocator> Type; 00026 00027 ReactiveGraspingActionGoal_() 00028 : header() 00029 , goal_id() 00030 , goal() 00031 { 00032 } 00033 00034 ReactiveGraspingActionGoal_(const ContainerAllocator& _alloc) 00035 : header(_alloc) 00036 , goal_id(_alloc) 00037 , goal(_alloc) 00038 { 00039 } 00040 00041 typedef ::std_msgs::Header_<ContainerAllocator> _header_type; 00042 ::std_msgs::Header_<ContainerAllocator> header; 00043 00044 typedef ::actionlib_msgs::GoalID_<ContainerAllocator> _goal_id_type; 00045 ::actionlib_msgs::GoalID_<ContainerAllocator> goal_id; 00046 00047 typedef ::srs_assisted_grasping_msgs::ReactiveGraspingGoal_<ContainerAllocator> _goal_type; 00048 ::srs_assisted_grasping_msgs::ReactiveGraspingGoal_<ContainerAllocator> goal; 00049 00050 00051 private: 00052 static const char* __s_getDataType_() { return "srs_assisted_grasping_msgs/ReactiveGraspingActionGoal"; } 00053 public: 00054 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00055 00056 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00057 00058 private: 00059 static const char* __s_getMD5Sum_() { return "c03a7d12fba227b4d0883fda55c9e43a"; } 00060 public: 00061 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00062 00063 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00064 00065 private: 00066 static const char* __s_getMessageDefinition_() { return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00067 \n\ 00068 Header header\n\ 00069 actionlib_msgs/GoalID goal_id\n\ 00070 ReactiveGraspingGoal goal\n\ 00071 \n\ 00072 ================================================================================\n\ 00073 MSG: std_msgs/Header\n\ 00074 # Standard metadata for higher-level stamped data types.\n\ 00075 # This is generally used to communicate timestamped data \n\ 00076 # in a particular coordinate frame.\n\ 00077 # \n\ 00078 # sequence ID: consecutively increasing ID \n\ 00079 uint32 seq\n\ 00080 #Two-integer timestamp that is expressed as:\n\ 00081 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00082 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00083 # time-handling sugar is provided by the client library\n\ 00084 time stamp\n\ 00085 #Frame this data is associated with\n\ 00086 # 0: no frame\n\ 00087 # 1: global frame\n\ 00088 string frame_id\n\ 00089 \n\ 00090 ================================================================================\n\ 00091 MSG: actionlib_msgs/GoalID\n\ 00092 # The stamp should store the time at which this goal was requested.\n\ 00093 # It is used by an action server when it tries to preempt all\n\ 00094 # goals that were requested before a certain time\n\ 00095 time stamp\n\ 00096 \n\ 00097 # The id provides a way to associate feedback and\n\ 00098 # result message with specific goal requests. The id\n\ 00099 # specified must be unique.\n\ 00100 string id\n\ 00101 \n\ 00102 \n\ 00103 ================================================================================\n\ 00104 MSG: srs_assisted_grasping_msgs/ReactiveGraspingGoal\n\ 00105 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00106 # GOAL\n\ 00107 std_msgs/Float32MultiArray target_configuration # n joints, 7 for SDH (names should be specified in yaml file)\n\ 00108 std_msgs/Float32MultiArray max_force # m tactile pads\n\ 00109 duration time # time to reach target_configuration\n\ 00110 \n\ 00111 ================================================================================\n\ 00112 MSG: std_msgs/Float32MultiArray\n\ 00113 # Please look at the MultiArrayLayout message definition for\n\ 00114 # documentation on all multiarrays.\n\ 00115 \n\ 00116 MultiArrayLayout layout # specification of data layout\n\ 00117 float32[] data # array of data\n\ 00118 \n\ 00119 \n\ 00120 ================================================================================\n\ 00121 MSG: std_msgs/MultiArrayLayout\n\ 00122 # The multiarray declares a generic multi-dimensional array of a\n\ 00123 # particular data type. Dimensions are ordered from outer most\n\ 00124 # to inner most.\n\ 00125 \n\ 00126 MultiArrayDimension[] dim # Array of dimension properties\n\ 00127 uint32 data_offset # padding bytes at front of data\n\ 00128 \n\ 00129 # Accessors should ALWAYS be written in terms of dimension stride\n\ 00130 # and specified outer-most dimension first.\n\ 00131 # \n\ 00132 # multiarray(i,j,k) = data[data_offset + dim_stride[1]*i + dim_stride[2]*j + k]\n\ 00133 #\n\ 00134 # A standard, 3-channel 640x480 image with interleaved color channels\n\ 00135 # would be specified as:\n\ 00136 #\n\ 00137 # dim[0].label = \"height\"\n\ 00138 # dim[0].size = 480\n\ 00139 # dim[0].stride = 3*640*480 = 921600 (note dim[0] stride is just size of image)\n\ 00140 # dim[1].label = \"width\"\n\ 00141 # dim[1].size = 640\n\ 00142 # dim[1].stride = 3*640 = 1920\n\ 00143 # dim[2].label = \"channel\"\n\ 00144 # dim[2].size = 3\n\ 00145 # dim[2].stride = 3\n\ 00146 #\n\ 00147 # multiarray(i,j,k) refers to the ith row, jth column, and kth channel.\n\ 00148 ================================================================================\n\ 00149 MSG: std_msgs/MultiArrayDimension\n\ 00150 string label # label of given dimension\n\ 00151 uint32 size # size of given dimension (in type units)\n\ 00152 uint32 stride # stride of given dimension\n\ 00153 "; } 00154 public: 00155 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00156 00157 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00158 00159 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00160 { 00161 ros::serialization::OStream stream(write_ptr, 1000000000); 00162 ros::serialization::serialize(stream, header); 00163 ros::serialization::serialize(stream, goal_id); 00164 ros::serialization::serialize(stream, goal); 00165 return stream.getData(); 00166 } 00167 00168 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00169 { 00170 ros::serialization::IStream stream(read_ptr, 1000000000); 00171 ros::serialization::deserialize(stream, header); 00172 ros::serialization::deserialize(stream, goal_id); 00173 ros::serialization::deserialize(stream, goal); 00174 return stream.getData(); 00175 } 00176 00177 ROS_DEPRECATED virtual uint32_t serializationLength() const 00178 { 00179 uint32_t size = 0; 00180 size += ros::serialization::serializationLength(header); 00181 size += ros::serialization::serializationLength(goal_id); 00182 size += ros::serialization::serializationLength(goal); 00183 return size; 00184 } 00185 00186 typedef boost::shared_ptr< ::srs_assisted_grasping_msgs::ReactiveGraspingActionGoal_<ContainerAllocator> > Ptr; 00187 typedef boost::shared_ptr< ::srs_assisted_grasping_msgs::ReactiveGraspingActionGoal_<ContainerAllocator> const> ConstPtr; 00188 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00189 }; // struct ReactiveGraspingActionGoal 00190 typedef ::srs_assisted_grasping_msgs::ReactiveGraspingActionGoal_<std::allocator<void> > ReactiveGraspingActionGoal; 00191 00192 typedef boost::shared_ptr< ::srs_assisted_grasping_msgs::ReactiveGraspingActionGoal> ReactiveGraspingActionGoalPtr; 00193 typedef boost::shared_ptr< ::srs_assisted_grasping_msgs::ReactiveGraspingActionGoal const> ReactiveGraspingActionGoalConstPtr; 00194 00195 00196 template<typename ContainerAllocator> 00197 std::ostream& operator<<(std::ostream& s, const ::srs_assisted_grasping_msgs::ReactiveGraspingActionGoal_<ContainerAllocator> & v) 00198 { 00199 ros::message_operations::Printer< ::srs_assisted_grasping_msgs::ReactiveGraspingActionGoal_<ContainerAllocator> >::stream(s, "", v); 00200 return s;} 00201 00202 } // namespace srs_assisted_grasping_msgs 00203 00204 namespace ros 00205 { 00206 namespace message_traits 00207 { 00208 template<class ContainerAllocator> struct IsMessage< ::srs_assisted_grasping_msgs::ReactiveGraspingActionGoal_<ContainerAllocator> > : public TrueType {}; 00209 template<class ContainerAllocator> struct IsMessage< ::srs_assisted_grasping_msgs::ReactiveGraspingActionGoal_<ContainerAllocator> const> : public TrueType {}; 00210 template<class ContainerAllocator> 00211 struct MD5Sum< ::srs_assisted_grasping_msgs::ReactiveGraspingActionGoal_<ContainerAllocator> > { 00212 static const char* value() 00213 { 00214 return "c03a7d12fba227b4d0883fda55c9e43a"; 00215 } 00216 00217 static const char* value(const ::srs_assisted_grasping_msgs::ReactiveGraspingActionGoal_<ContainerAllocator> &) { return value(); } 00218 static const uint64_t static_value1 = 0xc03a7d12fba227b4ULL; 00219 static const uint64_t static_value2 = 0xd0883fda55c9e43aULL; 00220 }; 00221 00222 template<class ContainerAllocator> 00223 struct DataType< ::srs_assisted_grasping_msgs::ReactiveGraspingActionGoal_<ContainerAllocator> > { 00224 static const char* value() 00225 { 00226 return "srs_assisted_grasping_msgs/ReactiveGraspingActionGoal"; 00227 } 00228 00229 static const char* value(const ::srs_assisted_grasping_msgs::ReactiveGraspingActionGoal_<ContainerAllocator> &) { return value(); } 00230 }; 00231 00232 template<class ContainerAllocator> 00233 struct Definition< ::srs_assisted_grasping_msgs::ReactiveGraspingActionGoal_<ContainerAllocator> > { 00234 static const char* value() 00235 { 00236 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00237 \n\ 00238 Header header\n\ 00239 actionlib_msgs/GoalID goal_id\n\ 00240 ReactiveGraspingGoal goal\n\ 00241 \n\ 00242 ================================================================================\n\ 00243 MSG: std_msgs/Header\n\ 00244 # Standard metadata for higher-level stamped data types.\n\ 00245 # This is generally used to communicate timestamped data \n\ 00246 # in a particular coordinate frame.\n\ 00247 # \n\ 00248 # sequence ID: consecutively increasing ID \n\ 00249 uint32 seq\n\ 00250 #Two-integer timestamp that is expressed as:\n\ 00251 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00252 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00253 # time-handling sugar is provided by the client library\n\ 00254 time stamp\n\ 00255 #Frame this data is associated with\n\ 00256 # 0: no frame\n\ 00257 # 1: global frame\n\ 00258 string frame_id\n\ 00259 \n\ 00260 ================================================================================\n\ 00261 MSG: actionlib_msgs/GoalID\n\ 00262 # The stamp should store the time at which this goal was requested.\n\ 00263 # It is used by an action server when it tries to preempt all\n\ 00264 # goals that were requested before a certain time\n\ 00265 time stamp\n\ 00266 \n\ 00267 # The id provides a way to associate feedback and\n\ 00268 # result message with specific goal requests. The id\n\ 00269 # specified must be unique.\n\ 00270 string id\n\ 00271 \n\ 00272 \n\ 00273 ================================================================================\n\ 00274 MSG: srs_assisted_grasping_msgs/ReactiveGraspingGoal\n\ 00275 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00276 # GOAL\n\ 00277 std_msgs/Float32MultiArray target_configuration # n joints, 7 for SDH (names should be specified in yaml file)\n\ 00278 std_msgs/Float32MultiArray max_force # m tactile pads\n\ 00279 duration time # time to reach target_configuration\n\ 00280 \n\ 00281 ================================================================================\n\ 00282 MSG: std_msgs/Float32MultiArray\n\ 00283 # Please look at the MultiArrayLayout message definition for\n\ 00284 # documentation on all multiarrays.\n\ 00285 \n\ 00286 MultiArrayLayout layout # specification of data layout\n\ 00287 float32[] data # array of data\n\ 00288 \n\ 00289 \n\ 00290 ================================================================================\n\ 00291 MSG: std_msgs/MultiArrayLayout\n\ 00292 # The multiarray declares a generic multi-dimensional array of a\n\ 00293 # particular data type. Dimensions are ordered from outer most\n\ 00294 # to inner most.\n\ 00295 \n\ 00296 MultiArrayDimension[] dim # Array of dimension properties\n\ 00297 uint32 data_offset # padding bytes at front of data\n\ 00298 \n\ 00299 # Accessors should ALWAYS be written in terms of dimension stride\n\ 00300 # and specified outer-most dimension first.\n\ 00301 # \n\ 00302 # multiarray(i,j,k) = data[data_offset + dim_stride[1]*i + dim_stride[2]*j + k]\n\ 00303 #\n\ 00304 # A standard, 3-channel 640x480 image with interleaved color channels\n\ 00305 # would be specified as:\n\ 00306 #\n\ 00307 # dim[0].label = \"height\"\n\ 00308 # dim[0].size = 480\n\ 00309 # dim[0].stride = 3*640*480 = 921600 (note dim[0] stride is just size of image)\n\ 00310 # dim[1].label = \"width\"\n\ 00311 # dim[1].size = 640\n\ 00312 # dim[1].stride = 3*640 = 1920\n\ 00313 # dim[2].label = \"channel\"\n\ 00314 # dim[2].size = 3\n\ 00315 # dim[2].stride = 3\n\ 00316 #\n\ 00317 # multiarray(i,j,k) refers to the ith row, jth column, and kth channel.\n\ 00318 ================================================================================\n\ 00319 MSG: std_msgs/MultiArrayDimension\n\ 00320 string label # label of given dimension\n\ 00321 uint32 size # size of given dimension (in type units)\n\ 00322 uint32 stride # stride of given dimension\n\ 00323 "; 00324 } 00325 00326 static const char* value(const ::srs_assisted_grasping_msgs::ReactiveGraspingActionGoal_<ContainerAllocator> &) { return value(); } 00327 }; 00328 00329 template<class ContainerAllocator> struct HasHeader< ::srs_assisted_grasping_msgs::ReactiveGraspingActionGoal_<ContainerAllocator> > : public TrueType {}; 00330 template<class ContainerAllocator> struct HasHeader< const ::srs_assisted_grasping_msgs::ReactiveGraspingActionGoal_<ContainerAllocator> > : public TrueType {}; 00331 } // namespace message_traits 00332 } // namespace ros 00333 00334 namespace ros 00335 { 00336 namespace serialization 00337 { 00338 00339 template<class ContainerAllocator> struct Serializer< ::srs_assisted_grasping_msgs::ReactiveGraspingActionGoal_<ContainerAllocator> > 00340 { 00341 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00342 { 00343 stream.next(m.header); 00344 stream.next(m.goal_id); 00345 stream.next(m.goal); 00346 } 00347 00348 ROS_DECLARE_ALLINONE_SERIALIZER; 00349 }; // struct ReactiveGraspingActionGoal_ 00350 } // namespace serialization 00351 } // namespace ros 00352 00353 namespace ros 00354 { 00355 namespace message_operations 00356 { 00357 00358 template<class ContainerAllocator> 00359 struct Printer< ::srs_assisted_grasping_msgs::ReactiveGraspingActionGoal_<ContainerAllocator> > 00360 { 00361 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::srs_assisted_grasping_msgs::ReactiveGraspingActionGoal_<ContainerAllocator> & v) 00362 { 00363 s << indent << "header: "; 00364 s << std::endl; 00365 Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + " ", v.header); 00366 s << indent << "goal_id: "; 00367 s << std::endl; 00368 Printer< ::actionlib_msgs::GoalID_<ContainerAllocator> >::stream(s, indent + " ", v.goal_id); 00369 s << indent << "goal: "; 00370 s << std::endl; 00371 Printer< ::srs_assisted_grasping_msgs::ReactiveGraspingGoal_<ContainerAllocator> >::stream(s, indent + " ", v.goal); 00372 } 00373 }; 00374 00375 00376 } // namespace message_operations 00377 } // namespace ros 00378 00379 #endif // SRS_ASSISTED_GRASPING_MSGS_MESSAGE_REACTIVEGRASPINGACTIONGOAL_H 00380