$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-mit-ros-pkg/doc_stacks/2013-03-03_11-36-56.162166/mit-ros-pkg/ee_cart_imped/ee_cart_imped_msgs/msg/EECartImpedResult.msg */ 00002 #ifndef EE_CART_IMPED_MSGS_MESSAGE_EECARTIMPEDRESULT_H 00003 #define EE_CART_IMPED_MSGS_MESSAGE_EECARTIMPEDRESULT_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 "ee_cart_imped_msgs/StiffPoint.h" 00019 #include "geometry_msgs/Pose.h" 00020 00021 namespace ee_cart_imped_msgs 00022 { 00023 template <class ContainerAllocator> 00024 struct EECartImpedResult_ { 00025 typedef EECartImpedResult_<ContainerAllocator> Type; 00026 00027 EECartImpedResult_() 00028 : header() 00029 , success(false) 00030 , desired() 00031 , actual_pose() 00032 , effort_sq_error(0.0) 00033 { 00034 } 00035 00036 EECartImpedResult_(const ContainerAllocator& _alloc) 00037 : header(_alloc) 00038 , success(false) 00039 , desired(_alloc) 00040 , actual_pose(_alloc) 00041 , effort_sq_error(0.0) 00042 { 00043 } 00044 00045 typedef ::std_msgs::Header_<ContainerAllocator> _header_type; 00046 ::std_msgs::Header_<ContainerAllocator> header; 00047 00048 typedef uint8_t _success_type; 00049 uint8_t success; 00050 00051 typedef ::ee_cart_imped_msgs::StiffPoint_<ContainerAllocator> _desired_type; 00052 ::ee_cart_imped_msgs::StiffPoint_<ContainerAllocator> desired; 00053 00054 typedef ::geometry_msgs::Pose_<ContainerAllocator> _actual_pose_type; 00055 ::geometry_msgs::Pose_<ContainerAllocator> actual_pose; 00056 00057 typedef double _effort_sq_error_type; 00058 double effort_sq_error; 00059 00060 00061 private: 00062 static const char* __s_getDataType_() { return "ee_cart_imped_msgs/EECartImpedResult"; } 00063 public: 00064 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00065 00066 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00067 00068 private: 00069 static const char* __s_getMD5Sum_() { return "947387aff8267ef3d7c884c07783eb7d"; } 00070 public: 00071 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00072 00073 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00074 00075 private: 00076 static const char* __s_getMessageDefinition_() { return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00077 #result definition\n\ 00078 #whether it was successful\n\ 00079 #the pose and force we ended with\n\ 00080 Header header\n\ 00081 bool success\n\ 00082 ee_cart_imped_msgs/StiffPoint desired\n\ 00083 geometry_msgs/Pose actual_pose\n\ 00084 float64 effort_sq_error\n\ 00085 \n\ 00086 ================================================================================\n\ 00087 MSG: std_msgs/Header\n\ 00088 # Standard metadata for higher-level stamped data types.\n\ 00089 # This is generally used to communicate timestamped data \n\ 00090 # in a particular coordinate frame.\n\ 00091 # \n\ 00092 # sequence ID: consecutively increasing ID \n\ 00093 uint32 seq\n\ 00094 #Two-integer timestamp that is expressed as:\n\ 00095 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00096 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00097 # time-handling sugar is provided by the client library\n\ 00098 time stamp\n\ 00099 #Frame this data is associated with\n\ 00100 # 0: no frame\n\ 00101 # 1: global frame\n\ 00102 string frame_id\n\ 00103 \n\ 00104 ================================================================================\n\ 00105 MSG: ee_cart_imped_msgs/StiffPoint\n\ 00106 Header header\n\ 00107 #The pose to achieve in the stiffness directions\n\ 00108 geometry_msgs/Pose pose\n\ 00109 #Wrench or stiffness for each dimension\n\ 00110 geometry_msgs/Wrench wrench_or_stiffness\n\ 00111 #The following are True if a force/torque should\n\ 00112 #be exerted and False if a stiffness should be used.\n\ 00113 bool isForceX\n\ 00114 bool isForceY\n\ 00115 bool isForceZ\n\ 00116 bool isTorqueX\n\ 00117 bool isTorqueY\n\ 00118 bool isTorqueZ\n\ 00119 #The time from the start of the trajectory that this\n\ 00120 #point should be achieved.\n\ 00121 duration time_from_start\n\ 00122 ================================================================================\n\ 00123 MSG: geometry_msgs/Pose\n\ 00124 # A representation of pose in free space, composed of postion and orientation. \n\ 00125 Point position\n\ 00126 Quaternion orientation\n\ 00127 \n\ 00128 ================================================================================\n\ 00129 MSG: geometry_msgs/Point\n\ 00130 # This contains the position of a point in free space\n\ 00131 float64 x\n\ 00132 float64 y\n\ 00133 float64 z\n\ 00134 \n\ 00135 ================================================================================\n\ 00136 MSG: geometry_msgs/Quaternion\n\ 00137 # This represents an orientation in free space in quaternion form.\n\ 00138 \n\ 00139 float64 x\n\ 00140 float64 y\n\ 00141 float64 z\n\ 00142 float64 w\n\ 00143 \n\ 00144 ================================================================================\n\ 00145 MSG: geometry_msgs/Wrench\n\ 00146 # This represents force in free space, seperated into \n\ 00147 # it's linear and angular parts. \n\ 00148 Vector3 force\n\ 00149 Vector3 torque\n\ 00150 \n\ 00151 ================================================================================\n\ 00152 MSG: geometry_msgs/Vector3\n\ 00153 # This represents a vector in free space. \n\ 00154 \n\ 00155 float64 x\n\ 00156 float64 y\n\ 00157 float64 z\n\ 00158 "; } 00159 public: 00160 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00161 00162 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00163 00164 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00165 { 00166 ros::serialization::OStream stream(write_ptr, 1000000000); 00167 ros::serialization::serialize(stream, header); 00168 ros::serialization::serialize(stream, success); 00169 ros::serialization::serialize(stream, desired); 00170 ros::serialization::serialize(stream, actual_pose); 00171 ros::serialization::serialize(stream, effort_sq_error); 00172 return stream.getData(); 00173 } 00174 00175 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00176 { 00177 ros::serialization::IStream stream(read_ptr, 1000000000); 00178 ros::serialization::deserialize(stream, header); 00179 ros::serialization::deserialize(stream, success); 00180 ros::serialization::deserialize(stream, desired); 00181 ros::serialization::deserialize(stream, actual_pose); 00182 ros::serialization::deserialize(stream, effort_sq_error); 00183 return stream.getData(); 00184 } 00185 00186 ROS_DEPRECATED virtual uint32_t serializationLength() const 00187 { 00188 uint32_t size = 0; 00189 size += ros::serialization::serializationLength(header); 00190 size += ros::serialization::serializationLength(success); 00191 size += ros::serialization::serializationLength(desired); 00192 size += ros::serialization::serializationLength(actual_pose); 00193 size += ros::serialization::serializationLength(effort_sq_error); 00194 return size; 00195 } 00196 00197 typedef boost::shared_ptr< ::ee_cart_imped_msgs::EECartImpedResult_<ContainerAllocator> > Ptr; 00198 typedef boost::shared_ptr< ::ee_cart_imped_msgs::EECartImpedResult_<ContainerAllocator> const> ConstPtr; 00199 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00200 }; // struct EECartImpedResult 00201 typedef ::ee_cart_imped_msgs::EECartImpedResult_<std::allocator<void> > EECartImpedResult; 00202 00203 typedef boost::shared_ptr< ::ee_cart_imped_msgs::EECartImpedResult> EECartImpedResultPtr; 00204 typedef boost::shared_ptr< ::ee_cart_imped_msgs::EECartImpedResult const> EECartImpedResultConstPtr; 00205 00206 00207 template<typename ContainerAllocator> 00208 std::ostream& operator<<(std::ostream& s, const ::ee_cart_imped_msgs::EECartImpedResult_<ContainerAllocator> & v) 00209 { 00210 ros::message_operations::Printer< ::ee_cart_imped_msgs::EECartImpedResult_<ContainerAllocator> >::stream(s, "", v); 00211 return s;} 00212 00213 } // namespace ee_cart_imped_msgs 00214 00215 namespace ros 00216 { 00217 namespace message_traits 00218 { 00219 template<class ContainerAllocator> struct IsMessage< ::ee_cart_imped_msgs::EECartImpedResult_<ContainerAllocator> > : public TrueType {}; 00220 template<class ContainerAllocator> struct IsMessage< ::ee_cart_imped_msgs::EECartImpedResult_<ContainerAllocator> const> : public TrueType {}; 00221 template<class ContainerAllocator> 00222 struct MD5Sum< ::ee_cart_imped_msgs::EECartImpedResult_<ContainerAllocator> > { 00223 static const char* value() 00224 { 00225 return "947387aff8267ef3d7c884c07783eb7d"; 00226 } 00227 00228 static const char* value(const ::ee_cart_imped_msgs::EECartImpedResult_<ContainerAllocator> &) { return value(); } 00229 static const uint64_t static_value1 = 0x947387aff8267ef3ULL; 00230 static const uint64_t static_value2 = 0xd7c884c07783eb7dULL; 00231 }; 00232 00233 template<class ContainerAllocator> 00234 struct DataType< ::ee_cart_imped_msgs::EECartImpedResult_<ContainerAllocator> > { 00235 static const char* value() 00236 { 00237 return "ee_cart_imped_msgs/EECartImpedResult"; 00238 } 00239 00240 static const char* value(const ::ee_cart_imped_msgs::EECartImpedResult_<ContainerAllocator> &) { return value(); } 00241 }; 00242 00243 template<class ContainerAllocator> 00244 struct Definition< ::ee_cart_imped_msgs::EECartImpedResult_<ContainerAllocator> > { 00245 static const char* value() 00246 { 00247 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00248 #result definition\n\ 00249 #whether it was successful\n\ 00250 #the pose and force we ended with\n\ 00251 Header header\n\ 00252 bool success\n\ 00253 ee_cart_imped_msgs/StiffPoint desired\n\ 00254 geometry_msgs/Pose actual_pose\n\ 00255 float64 effort_sq_error\n\ 00256 \n\ 00257 ================================================================================\n\ 00258 MSG: std_msgs/Header\n\ 00259 # Standard metadata for higher-level stamped data types.\n\ 00260 # This is generally used to communicate timestamped data \n\ 00261 # in a particular coordinate frame.\n\ 00262 # \n\ 00263 # sequence ID: consecutively increasing ID \n\ 00264 uint32 seq\n\ 00265 #Two-integer timestamp that is expressed as:\n\ 00266 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00267 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00268 # time-handling sugar is provided by the client library\n\ 00269 time stamp\n\ 00270 #Frame this data is associated with\n\ 00271 # 0: no frame\n\ 00272 # 1: global frame\n\ 00273 string frame_id\n\ 00274 \n\ 00275 ================================================================================\n\ 00276 MSG: ee_cart_imped_msgs/StiffPoint\n\ 00277 Header header\n\ 00278 #The pose to achieve in the stiffness directions\n\ 00279 geometry_msgs/Pose pose\n\ 00280 #Wrench or stiffness for each dimension\n\ 00281 geometry_msgs/Wrench wrench_or_stiffness\n\ 00282 #The following are True if a force/torque should\n\ 00283 #be exerted and False if a stiffness should be used.\n\ 00284 bool isForceX\n\ 00285 bool isForceY\n\ 00286 bool isForceZ\n\ 00287 bool isTorqueX\n\ 00288 bool isTorqueY\n\ 00289 bool isTorqueZ\n\ 00290 #The time from the start of the trajectory that this\n\ 00291 #point should be achieved.\n\ 00292 duration time_from_start\n\ 00293 ================================================================================\n\ 00294 MSG: geometry_msgs/Pose\n\ 00295 # A representation of pose in free space, composed of postion and orientation. \n\ 00296 Point position\n\ 00297 Quaternion orientation\n\ 00298 \n\ 00299 ================================================================================\n\ 00300 MSG: geometry_msgs/Point\n\ 00301 # This contains the position of a point in free space\n\ 00302 float64 x\n\ 00303 float64 y\n\ 00304 float64 z\n\ 00305 \n\ 00306 ================================================================================\n\ 00307 MSG: geometry_msgs/Quaternion\n\ 00308 # This represents an orientation in free space in quaternion form.\n\ 00309 \n\ 00310 float64 x\n\ 00311 float64 y\n\ 00312 float64 z\n\ 00313 float64 w\n\ 00314 \n\ 00315 ================================================================================\n\ 00316 MSG: geometry_msgs/Wrench\n\ 00317 # This represents force in free space, seperated into \n\ 00318 # it's linear and angular parts. \n\ 00319 Vector3 force\n\ 00320 Vector3 torque\n\ 00321 \n\ 00322 ================================================================================\n\ 00323 MSG: geometry_msgs/Vector3\n\ 00324 # This represents a vector in free space. \n\ 00325 \n\ 00326 float64 x\n\ 00327 float64 y\n\ 00328 float64 z\n\ 00329 "; 00330 } 00331 00332 static const char* value(const ::ee_cart_imped_msgs::EECartImpedResult_<ContainerAllocator> &) { return value(); } 00333 }; 00334 00335 template<class ContainerAllocator> struct HasHeader< ::ee_cart_imped_msgs::EECartImpedResult_<ContainerAllocator> > : public TrueType {}; 00336 template<class ContainerAllocator> struct HasHeader< const ::ee_cart_imped_msgs::EECartImpedResult_<ContainerAllocator> > : public TrueType {}; 00337 } // namespace message_traits 00338 } // namespace ros 00339 00340 namespace ros 00341 { 00342 namespace serialization 00343 { 00344 00345 template<class ContainerAllocator> struct Serializer< ::ee_cart_imped_msgs::EECartImpedResult_<ContainerAllocator> > 00346 { 00347 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00348 { 00349 stream.next(m.header); 00350 stream.next(m.success); 00351 stream.next(m.desired); 00352 stream.next(m.actual_pose); 00353 stream.next(m.effort_sq_error); 00354 } 00355 00356 ROS_DECLARE_ALLINONE_SERIALIZER; 00357 }; // struct EECartImpedResult_ 00358 } // namespace serialization 00359 } // namespace ros 00360 00361 namespace ros 00362 { 00363 namespace message_operations 00364 { 00365 00366 template<class ContainerAllocator> 00367 struct Printer< ::ee_cart_imped_msgs::EECartImpedResult_<ContainerAllocator> > 00368 { 00369 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::ee_cart_imped_msgs::EECartImpedResult_<ContainerAllocator> & v) 00370 { 00371 s << indent << "header: "; 00372 s << std::endl; 00373 Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + " ", v.header); 00374 s << indent << "success: "; 00375 Printer<uint8_t>::stream(s, indent + " ", v.success); 00376 s << indent << "desired: "; 00377 s << std::endl; 00378 Printer< ::ee_cart_imped_msgs::StiffPoint_<ContainerAllocator> >::stream(s, indent + " ", v.desired); 00379 s << indent << "actual_pose: "; 00380 s << std::endl; 00381 Printer< ::geometry_msgs::Pose_<ContainerAllocator> >::stream(s, indent + " ", v.actual_pose); 00382 s << indent << "effort_sq_error: "; 00383 Printer<double>::stream(s, indent + " ", v.effort_sq_error); 00384 } 00385 }; 00386 00387 00388 } // namespace message_operations 00389 } // namespace ros 00390 00391 #endif // EE_CART_IMPED_MSGS_MESSAGE_EECARTIMPEDRESULT_H 00392