$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/ReactiveGraspingGoal.msg */ 00002 #ifndef SRS_ASSISTED_GRASPING_MSGS_MESSAGE_REACTIVEGRASPINGGOAL_H 00003 #define SRS_ASSISTED_GRASPING_MSGS_MESSAGE_REACTIVEGRASPINGGOAL_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/Float32MultiArray.h" 00018 #include "std_msgs/Float32MultiArray.h" 00019 00020 namespace srs_assisted_grasping_msgs 00021 { 00022 template <class ContainerAllocator> 00023 struct ReactiveGraspingGoal_ { 00024 typedef ReactiveGraspingGoal_<ContainerAllocator> Type; 00025 00026 ReactiveGraspingGoal_() 00027 : target_configuration() 00028 , max_force() 00029 , time() 00030 { 00031 } 00032 00033 ReactiveGraspingGoal_(const ContainerAllocator& _alloc) 00034 : target_configuration(_alloc) 00035 , max_force(_alloc) 00036 , time() 00037 { 00038 } 00039 00040 typedef ::std_msgs::Float32MultiArray_<ContainerAllocator> _target_configuration_type; 00041 ::std_msgs::Float32MultiArray_<ContainerAllocator> target_configuration; 00042 00043 typedef ::std_msgs::Float32MultiArray_<ContainerAllocator> _max_force_type; 00044 ::std_msgs::Float32MultiArray_<ContainerAllocator> max_force; 00045 00046 typedef ros::Duration _time_type; 00047 ros::Duration time; 00048 00049 00050 private: 00051 static const char* __s_getDataType_() { return "srs_assisted_grasping_msgs/ReactiveGraspingGoal"; } 00052 public: 00053 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00054 00055 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00056 00057 private: 00058 static const char* __s_getMD5Sum_() { return "1419d135c9200a39cd135cf13dad5784"; } 00059 public: 00060 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00061 00062 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00063 00064 private: 00065 static const char* __s_getMessageDefinition_() { return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00066 # GOAL\n\ 00067 std_msgs/Float32MultiArray target_configuration # n joints, 7 for SDH (names should be specified in yaml file)\n\ 00068 std_msgs/Float32MultiArray max_force # m tactile pads\n\ 00069 duration time # time to reach target_configuration\n\ 00070 \n\ 00071 ================================================================================\n\ 00072 MSG: std_msgs/Float32MultiArray\n\ 00073 # Please look at the MultiArrayLayout message definition for\n\ 00074 # documentation on all multiarrays.\n\ 00075 \n\ 00076 MultiArrayLayout layout # specification of data layout\n\ 00077 float32[] data # array of data\n\ 00078 \n\ 00079 \n\ 00080 ================================================================================\n\ 00081 MSG: std_msgs/MultiArrayLayout\n\ 00082 # The multiarray declares a generic multi-dimensional array of a\n\ 00083 # particular data type. Dimensions are ordered from outer most\n\ 00084 # to inner most.\n\ 00085 \n\ 00086 MultiArrayDimension[] dim # Array of dimension properties\n\ 00087 uint32 data_offset # padding bytes at front of data\n\ 00088 \n\ 00089 # Accessors should ALWAYS be written in terms of dimension stride\n\ 00090 # and specified outer-most dimension first.\n\ 00091 # \n\ 00092 # multiarray(i,j,k) = data[data_offset + dim_stride[1]*i + dim_stride[2]*j + k]\n\ 00093 #\n\ 00094 # A standard, 3-channel 640x480 image with interleaved color channels\n\ 00095 # would be specified as:\n\ 00096 #\n\ 00097 # dim[0].label = \"height\"\n\ 00098 # dim[0].size = 480\n\ 00099 # dim[0].stride = 3*640*480 = 921600 (note dim[0] stride is just size of image)\n\ 00100 # dim[1].label = \"width\"\n\ 00101 # dim[1].size = 640\n\ 00102 # dim[1].stride = 3*640 = 1920\n\ 00103 # dim[2].label = \"channel\"\n\ 00104 # dim[2].size = 3\n\ 00105 # dim[2].stride = 3\n\ 00106 #\n\ 00107 # multiarray(i,j,k) refers to the ith row, jth column, and kth channel.\n\ 00108 ================================================================================\n\ 00109 MSG: std_msgs/MultiArrayDimension\n\ 00110 string label # label of given dimension\n\ 00111 uint32 size # size of given dimension (in type units)\n\ 00112 uint32 stride # stride of given dimension\n\ 00113 "; } 00114 public: 00115 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00116 00117 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00118 00119 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00120 { 00121 ros::serialization::OStream stream(write_ptr, 1000000000); 00122 ros::serialization::serialize(stream, target_configuration); 00123 ros::serialization::serialize(stream, max_force); 00124 ros::serialization::serialize(stream, time); 00125 return stream.getData(); 00126 } 00127 00128 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00129 { 00130 ros::serialization::IStream stream(read_ptr, 1000000000); 00131 ros::serialization::deserialize(stream, target_configuration); 00132 ros::serialization::deserialize(stream, max_force); 00133 ros::serialization::deserialize(stream, time); 00134 return stream.getData(); 00135 } 00136 00137 ROS_DEPRECATED virtual uint32_t serializationLength() const 00138 { 00139 uint32_t size = 0; 00140 size += ros::serialization::serializationLength(target_configuration); 00141 size += ros::serialization::serializationLength(max_force); 00142 size += ros::serialization::serializationLength(time); 00143 return size; 00144 } 00145 00146 typedef boost::shared_ptr< ::srs_assisted_grasping_msgs::ReactiveGraspingGoal_<ContainerAllocator> > Ptr; 00147 typedef boost::shared_ptr< ::srs_assisted_grasping_msgs::ReactiveGraspingGoal_<ContainerAllocator> const> ConstPtr; 00148 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00149 }; // struct ReactiveGraspingGoal 00150 typedef ::srs_assisted_grasping_msgs::ReactiveGraspingGoal_<std::allocator<void> > ReactiveGraspingGoal; 00151 00152 typedef boost::shared_ptr< ::srs_assisted_grasping_msgs::ReactiveGraspingGoal> ReactiveGraspingGoalPtr; 00153 typedef boost::shared_ptr< ::srs_assisted_grasping_msgs::ReactiveGraspingGoal const> ReactiveGraspingGoalConstPtr; 00154 00155 00156 template<typename ContainerAllocator> 00157 std::ostream& operator<<(std::ostream& s, const ::srs_assisted_grasping_msgs::ReactiveGraspingGoal_<ContainerAllocator> & v) 00158 { 00159 ros::message_operations::Printer< ::srs_assisted_grasping_msgs::ReactiveGraspingGoal_<ContainerAllocator> >::stream(s, "", v); 00160 return s;} 00161 00162 } // namespace srs_assisted_grasping_msgs 00163 00164 namespace ros 00165 { 00166 namespace message_traits 00167 { 00168 template<class ContainerAllocator> struct IsMessage< ::srs_assisted_grasping_msgs::ReactiveGraspingGoal_<ContainerAllocator> > : public TrueType {}; 00169 template<class ContainerAllocator> struct IsMessage< ::srs_assisted_grasping_msgs::ReactiveGraspingGoal_<ContainerAllocator> const> : public TrueType {}; 00170 template<class ContainerAllocator> 00171 struct MD5Sum< ::srs_assisted_grasping_msgs::ReactiveGraspingGoal_<ContainerAllocator> > { 00172 static const char* value() 00173 { 00174 return "1419d135c9200a39cd135cf13dad5784"; 00175 } 00176 00177 static const char* value(const ::srs_assisted_grasping_msgs::ReactiveGraspingGoal_<ContainerAllocator> &) { return value(); } 00178 static const uint64_t static_value1 = 0x1419d135c9200a39ULL; 00179 static const uint64_t static_value2 = 0xcd135cf13dad5784ULL; 00180 }; 00181 00182 template<class ContainerAllocator> 00183 struct DataType< ::srs_assisted_grasping_msgs::ReactiveGraspingGoal_<ContainerAllocator> > { 00184 static const char* value() 00185 { 00186 return "srs_assisted_grasping_msgs/ReactiveGraspingGoal"; 00187 } 00188 00189 static const char* value(const ::srs_assisted_grasping_msgs::ReactiveGraspingGoal_<ContainerAllocator> &) { return value(); } 00190 }; 00191 00192 template<class ContainerAllocator> 00193 struct Definition< ::srs_assisted_grasping_msgs::ReactiveGraspingGoal_<ContainerAllocator> > { 00194 static const char* value() 00195 { 00196 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00197 # GOAL\n\ 00198 std_msgs/Float32MultiArray target_configuration # n joints, 7 for SDH (names should be specified in yaml file)\n\ 00199 std_msgs/Float32MultiArray max_force # m tactile pads\n\ 00200 duration time # time to reach target_configuration\n\ 00201 \n\ 00202 ================================================================================\n\ 00203 MSG: std_msgs/Float32MultiArray\n\ 00204 # Please look at the MultiArrayLayout message definition for\n\ 00205 # documentation on all multiarrays.\n\ 00206 \n\ 00207 MultiArrayLayout layout # specification of data layout\n\ 00208 float32[] data # array of data\n\ 00209 \n\ 00210 \n\ 00211 ================================================================================\n\ 00212 MSG: std_msgs/MultiArrayLayout\n\ 00213 # The multiarray declares a generic multi-dimensional array of a\n\ 00214 # particular data type. Dimensions are ordered from outer most\n\ 00215 # to inner most.\n\ 00216 \n\ 00217 MultiArrayDimension[] dim # Array of dimension properties\n\ 00218 uint32 data_offset # padding bytes at front of data\n\ 00219 \n\ 00220 # Accessors should ALWAYS be written in terms of dimension stride\n\ 00221 # and specified outer-most dimension first.\n\ 00222 # \n\ 00223 # multiarray(i,j,k) = data[data_offset + dim_stride[1]*i + dim_stride[2]*j + k]\n\ 00224 #\n\ 00225 # A standard, 3-channel 640x480 image with interleaved color channels\n\ 00226 # would be specified as:\n\ 00227 #\n\ 00228 # dim[0].label = \"height\"\n\ 00229 # dim[0].size = 480\n\ 00230 # dim[0].stride = 3*640*480 = 921600 (note dim[0] stride is just size of image)\n\ 00231 # dim[1].label = \"width\"\n\ 00232 # dim[1].size = 640\n\ 00233 # dim[1].stride = 3*640 = 1920\n\ 00234 # dim[2].label = \"channel\"\n\ 00235 # dim[2].size = 3\n\ 00236 # dim[2].stride = 3\n\ 00237 #\n\ 00238 # multiarray(i,j,k) refers to the ith row, jth column, and kth channel.\n\ 00239 ================================================================================\n\ 00240 MSG: std_msgs/MultiArrayDimension\n\ 00241 string label # label of given dimension\n\ 00242 uint32 size # size of given dimension (in type units)\n\ 00243 uint32 stride # stride of given dimension\n\ 00244 "; 00245 } 00246 00247 static const char* value(const ::srs_assisted_grasping_msgs::ReactiveGraspingGoal_<ContainerAllocator> &) { return value(); } 00248 }; 00249 00250 } // namespace message_traits 00251 } // namespace ros 00252 00253 namespace ros 00254 { 00255 namespace serialization 00256 { 00257 00258 template<class ContainerAllocator> struct Serializer< ::srs_assisted_grasping_msgs::ReactiveGraspingGoal_<ContainerAllocator> > 00259 { 00260 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00261 { 00262 stream.next(m.target_configuration); 00263 stream.next(m.max_force); 00264 stream.next(m.time); 00265 } 00266 00267 ROS_DECLARE_ALLINONE_SERIALIZER; 00268 }; // struct ReactiveGraspingGoal_ 00269 } // namespace serialization 00270 } // namespace ros 00271 00272 namespace ros 00273 { 00274 namespace message_operations 00275 { 00276 00277 template<class ContainerAllocator> 00278 struct Printer< ::srs_assisted_grasping_msgs::ReactiveGraspingGoal_<ContainerAllocator> > 00279 { 00280 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::srs_assisted_grasping_msgs::ReactiveGraspingGoal_<ContainerAllocator> & v) 00281 { 00282 s << indent << "target_configuration: "; 00283 s << std::endl; 00284 Printer< ::std_msgs::Float32MultiArray_<ContainerAllocator> >::stream(s, indent + " ", v.target_configuration); 00285 s << indent << "max_force: "; 00286 s << std::endl; 00287 Printer< ::std_msgs::Float32MultiArray_<ContainerAllocator> >::stream(s, indent + " ", v.max_force); 00288 s << indent << "time: "; 00289 Printer<ros::Duration>::stream(s, indent + " ", v.time); 00290 } 00291 }; 00292 00293 00294 } // namespace message_operations 00295 } // namespace ros 00296 00297 #endif // SRS_ASSISTED_GRASPING_MSGS_MESSAGE_REACTIVEGRASPINGGOAL_H 00298