$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/EECartImpedActionResult.msg */ 00002 #ifndef EE_CART_IMPED_MSGS_MESSAGE_EECARTIMPEDACTIONRESULT_H 00003 #define EE_CART_IMPED_MSGS_MESSAGE_EECARTIMPEDACTIONRESULT_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/GoalStatus.h" 00019 #include "ee_cart_imped_msgs/EECartImpedResult.h" 00020 00021 namespace ee_cart_imped_msgs 00022 { 00023 template <class ContainerAllocator> 00024 struct EECartImpedActionResult_ { 00025 typedef EECartImpedActionResult_<ContainerAllocator> Type; 00026 00027 EECartImpedActionResult_() 00028 : header() 00029 , status() 00030 , result() 00031 { 00032 } 00033 00034 EECartImpedActionResult_(const ContainerAllocator& _alloc) 00035 : header(_alloc) 00036 , status(_alloc) 00037 , result(_alloc) 00038 { 00039 } 00040 00041 typedef ::std_msgs::Header_<ContainerAllocator> _header_type; 00042 ::std_msgs::Header_<ContainerAllocator> header; 00043 00044 typedef ::actionlib_msgs::GoalStatus_<ContainerAllocator> _status_type; 00045 ::actionlib_msgs::GoalStatus_<ContainerAllocator> status; 00046 00047 typedef ::ee_cart_imped_msgs::EECartImpedResult_<ContainerAllocator> _result_type; 00048 ::ee_cart_imped_msgs::EECartImpedResult_<ContainerAllocator> result; 00049 00050 00051 private: 00052 static const char* __s_getDataType_() { return "ee_cart_imped_msgs/EECartImpedActionResult"; } 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 "084904f177cd8988e0a7f8680e1e8a21"; } 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/GoalStatus status\n\ 00070 EECartImpedResult result\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/GoalStatus\n\ 00092 GoalID goal_id\n\ 00093 uint8 status\n\ 00094 uint8 PENDING = 0 # The goal has yet to be processed by the action server\n\ 00095 uint8 ACTIVE = 1 # The goal is currently being processed by the action server\n\ 00096 uint8 PREEMPTED = 2 # The goal received a cancel request after it started executing\n\ 00097 # and has since completed its execution (Terminal State)\n\ 00098 uint8 SUCCEEDED = 3 # The goal was achieved successfully by the action server (Terminal State)\n\ 00099 uint8 ABORTED = 4 # The goal was aborted during execution by the action server due\n\ 00100 # to some failure (Terminal State)\n\ 00101 uint8 REJECTED = 5 # The goal was rejected by the action server without being processed,\n\ 00102 # because the goal was unattainable or invalid (Terminal State)\n\ 00103 uint8 PREEMPTING = 6 # The goal received a cancel request after it started executing\n\ 00104 # and has not yet completed execution\n\ 00105 uint8 RECALLING = 7 # The goal received a cancel request before it started executing,\n\ 00106 # but the action server has not yet confirmed that the goal is canceled\n\ 00107 uint8 RECALLED = 8 # The goal received a cancel request before it started executing\n\ 00108 # and was successfully cancelled (Terminal State)\n\ 00109 uint8 LOST = 9 # An action client can determine that a goal is LOST. This should not be\n\ 00110 # sent over the wire by an action server\n\ 00111 \n\ 00112 #Allow for the user to associate a string with GoalStatus for debugging\n\ 00113 string text\n\ 00114 \n\ 00115 \n\ 00116 ================================================================================\n\ 00117 MSG: actionlib_msgs/GoalID\n\ 00118 # The stamp should store the time at which this goal was requested.\n\ 00119 # It is used by an action server when it tries to preempt all\n\ 00120 # goals that were requested before a certain time\n\ 00121 time stamp\n\ 00122 \n\ 00123 # The id provides a way to associate feedback and\n\ 00124 # result message with specific goal requests. The id\n\ 00125 # specified must be unique.\n\ 00126 string id\n\ 00127 \n\ 00128 \n\ 00129 ================================================================================\n\ 00130 MSG: ee_cart_imped_msgs/EECartImpedResult\n\ 00131 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00132 #result definition\n\ 00133 #whether it was successful\n\ 00134 #the pose and force we ended with\n\ 00135 Header header\n\ 00136 bool success\n\ 00137 ee_cart_imped_msgs/StiffPoint desired\n\ 00138 geometry_msgs/Pose actual_pose\n\ 00139 float64 effort_sq_error\n\ 00140 \n\ 00141 ================================================================================\n\ 00142 MSG: ee_cart_imped_msgs/StiffPoint\n\ 00143 Header header\n\ 00144 #The pose to achieve in the stiffness directions\n\ 00145 geometry_msgs/Pose pose\n\ 00146 #Wrench or stiffness for each dimension\n\ 00147 geometry_msgs/Wrench wrench_or_stiffness\n\ 00148 #The following are True if a force/torque should\n\ 00149 #be exerted and False if a stiffness should be used.\n\ 00150 bool isForceX\n\ 00151 bool isForceY\n\ 00152 bool isForceZ\n\ 00153 bool isTorqueX\n\ 00154 bool isTorqueY\n\ 00155 bool isTorqueZ\n\ 00156 #The time from the start of the trajectory that this\n\ 00157 #point should be achieved.\n\ 00158 duration time_from_start\n\ 00159 ================================================================================\n\ 00160 MSG: geometry_msgs/Pose\n\ 00161 # A representation of pose in free space, composed of postion and orientation. \n\ 00162 Point position\n\ 00163 Quaternion orientation\n\ 00164 \n\ 00165 ================================================================================\n\ 00166 MSG: geometry_msgs/Point\n\ 00167 # This contains the position of a point in free space\n\ 00168 float64 x\n\ 00169 float64 y\n\ 00170 float64 z\n\ 00171 \n\ 00172 ================================================================================\n\ 00173 MSG: geometry_msgs/Quaternion\n\ 00174 # This represents an orientation in free space in quaternion form.\n\ 00175 \n\ 00176 float64 x\n\ 00177 float64 y\n\ 00178 float64 z\n\ 00179 float64 w\n\ 00180 \n\ 00181 ================================================================================\n\ 00182 MSG: geometry_msgs/Wrench\n\ 00183 # This represents force in free space, seperated into \n\ 00184 # it's linear and angular parts. \n\ 00185 Vector3 force\n\ 00186 Vector3 torque\n\ 00187 \n\ 00188 ================================================================================\n\ 00189 MSG: geometry_msgs/Vector3\n\ 00190 # This represents a vector in free space. \n\ 00191 \n\ 00192 float64 x\n\ 00193 float64 y\n\ 00194 float64 z\n\ 00195 "; } 00196 public: 00197 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00198 00199 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00200 00201 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00202 { 00203 ros::serialization::OStream stream(write_ptr, 1000000000); 00204 ros::serialization::serialize(stream, header); 00205 ros::serialization::serialize(stream, status); 00206 ros::serialization::serialize(stream, result); 00207 return stream.getData(); 00208 } 00209 00210 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00211 { 00212 ros::serialization::IStream stream(read_ptr, 1000000000); 00213 ros::serialization::deserialize(stream, header); 00214 ros::serialization::deserialize(stream, status); 00215 ros::serialization::deserialize(stream, result); 00216 return stream.getData(); 00217 } 00218 00219 ROS_DEPRECATED virtual uint32_t serializationLength() const 00220 { 00221 uint32_t size = 0; 00222 size += ros::serialization::serializationLength(header); 00223 size += ros::serialization::serializationLength(status); 00224 size += ros::serialization::serializationLength(result); 00225 return size; 00226 } 00227 00228 typedef boost::shared_ptr< ::ee_cart_imped_msgs::EECartImpedActionResult_<ContainerAllocator> > Ptr; 00229 typedef boost::shared_ptr< ::ee_cart_imped_msgs::EECartImpedActionResult_<ContainerAllocator> const> ConstPtr; 00230 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00231 }; // struct EECartImpedActionResult 00232 typedef ::ee_cart_imped_msgs::EECartImpedActionResult_<std::allocator<void> > EECartImpedActionResult; 00233 00234 typedef boost::shared_ptr< ::ee_cart_imped_msgs::EECartImpedActionResult> EECartImpedActionResultPtr; 00235 typedef boost::shared_ptr< ::ee_cart_imped_msgs::EECartImpedActionResult const> EECartImpedActionResultConstPtr; 00236 00237 00238 template<typename ContainerAllocator> 00239 std::ostream& operator<<(std::ostream& s, const ::ee_cart_imped_msgs::EECartImpedActionResult_<ContainerAllocator> & v) 00240 { 00241 ros::message_operations::Printer< ::ee_cart_imped_msgs::EECartImpedActionResult_<ContainerAllocator> >::stream(s, "", v); 00242 return s;} 00243 00244 } // namespace ee_cart_imped_msgs 00245 00246 namespace ros 00247 { 00248 namespace message_traits 00249 { 00250 template<class ContainerAllocator> struct IsMessage< ::ee_cart_imped_msgs::EECartImpedActionResult_<ContainerAllocator> > : public TrueType {}; 00251 template<class ContainerAllocator> struct IsMessage< ::ee_cart_imped_msgs::EECartImpedActionResult_<ContainerAllocator> const> : public TrueType {}; 00252 template<class ContainerAllocator> 00253 struct MD5Sum< ::ee_cart_imped_msgs::EECartImpedActionResult_<ContainerAllocator> > { 00254 static const char* value() 00255 { 00256 return "084904f177cd8988e0a7f8680e1e8a21"; 00257 } 00258 00259 static const char* value(const ::ee_cart_imped_msgs::EECartImpedActionResult_<ContainerAllocator> &) { return value(); } 00260 static const uint64_t static_value1 = 0x084904f177cd8988ULL; 00261 static const uint64_t static_value2 = 0xe0a7f8680e1e8a21ULL; 00262 }; 00263 00264 template<class ContainerAllocator> 00265 struct DataType< ::ee_cart_imped_msgs::EECartImpedActionResult_<ContainerAllocator> > { 00266 static const char* value() 00267 { 00268 return "ee_cart_imped_msgs/EECartImpedActionResult"; 00269 } 00270 00271 static const char* value(const ::ee_cart_imped_msgs::EECartImpedActionResult_<ContainerAllocator> &) { return value(); } 00272 }; 00273 00274 template<class ContainerAllocator> 00275 struct Definition< ::ee_cart_imped_msgs::EECartImpedActionResult_<ContainerAllocator> > { 00276 static const char* value() 00277 { 00278 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00279 \n\ 00280 Header header\n\ 00281 actionlib_msgs/GoalStatus status\n\ 00282 EECartImpedResult result\n\ 00283 \n\ 00284 ================================================================================\n\ 00285 MSG: std_msgs/Header\n\ 00286 # Standard metadata for higher-level stamped data types.\n\ 00287 # This is generally used to communicate timestamped data \n\ 00288 # in a particular coordinate frame.\n\ 00289 # \n\ 00290 # sequence ID: consecutively increasing ID \n\ 00291 uint32 seq\n\ 00292 #Two-integer timestamp that is expressed as:\n\ 00293 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00294 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00295 # time-handling sugar is provided by the client library\n\ 00296 time stamp\n\ 00297 #Frame this data is associated with\n\ 00298 # 0: no frame\n\ 00299 # 1: global frame\n\ 00300 string frame_id\n\ 00301 \n\ 00302 ================================================================================\n\ 00303 MSG: actionlib_msgs/GoalStatus\n\ 00304 GoalID goal_id\n\ 00305 uint8 status\n\ 00306 uint8 PENDING = 0 # The goal has yet to be processed by the action server\n\ 00307 uint8 ACTIVE = 1 # The goal is currently being processed by the action server\n\ 00308 uint8 PREEMPTED = 2 # The goal received a cancel request after it started executing\n\ 00309 # and has since completed its execution (Terminal State)\n\ 00310 uint8 SUCCEEDED = 3 # The goal was achieved successfully by the action server (Terminal State)\n\ 00311 uint8 ABORTED = 4 # The goal was aborted during execution by the action server due\n\ 00312 # to some failure (Terminal State)\n\ 00313 uint8 REJECTED = 5 # The goal was rejected by the action server without being processed,\n\ 00314 # because the goal was unattainable or invalid (Terminal State)\n\ 00315 uint8 PREEMPTING = 6 # The goal received a cancel request after it started executing\n\ 00316 # and has not yet completed execution\n\ 00317 uint8 RECALLING = 7 # The goal received a cancel request before it started executing,\n\ 00318 # but the action server has not yet confirmed that the goal is canceled\n\ 00319 uint8 RECALLED = 8 # The goal received a cancel request before it started executing\n\ 00320 # and was successfully cancelled (Terminal State)\n\ 00321 uint8 LOST = 9 # An action client can determine that a goal is LOST. This should not be\n\ 00322 # sent over the wire by an action server\n\ 00323 \n\ 00324 #Allow for the user to associate a string with GoalStatus for debugging\n\ 00325 string text\n\ 00326 \n\ 00327 \n\ 00328 ================================================================================\n\ 00329 MSG: actionlib_msgs/GoalID\n\ 00330 # The stamp should store the time at which this goal was requested.\n\ 00331 # It is used by an action server when it tries to preempt all\n\ 00332 # goals that were requested before a certain time\n\ 00333 time stamp\n\ 00334 \n\ 00335 # The id provides a way to associate feedback and\n\ 00336 # result message with specific goal requests. The id\n\ 00337 # specified must be unique.\n\ 00338 string id\n\ 00339 \n\ 00340 \n\ 00341 ================================================================================\n\ 00342 MSG: ee_cart_imped_msgs/EECartImpedResult\n\ 00343 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00344 #result definition\n\ 00345 #whether it was successful\n\ 00346 #the pose and force we ended with\n\ 00347 Header header\n\ 00348 bool success\n\ 00349 ee_cart_imped_msgs/StiffPoint desired\n\ 00350 geometry_msgs/Pose actual_pose\n\ 00351 float64 effort_sq_error\n\ 00352 \n\ 00353 ================================================================================\n\ 00354 MSG: ee_cart_imped_msgs/StiffPoint\n\ 00355 Header header\n\ 00356 #The pose to achieve in the stiffness directions\n\ 00357 geometry_msgs/Pose pose\n\ 00358 #Wrench or stiffness for each dimension\n\ 00359 geometry_msgs/Wrench wrench_or_stiffness\n\ 00360 #The following are True if a force/torque should\n\ 00361 #be exerted and False if a stiffness should be used.\n\ 00362 bool isForceX\n\ 00363 bool isForceY\n\ 00364 bool isForceZ\n\ 00365 bool isTorqueX\n\ 00366 bool isTorqueY\n\ 00367 bool isTorqueZ\n\ 00368 #The time from the start of the trajectory that this\n\ 00369 #point should be achieved.\n\ 00370 duration time_from_start\n\ 00371 ================================================================================\n\ 00372 MSG: geometry_msgs/Pose\n\ 00373 # A representation of pose in free space, composed of postion and orientation. \n\ 00374 Point position\n\ 00375 Quaternion orientation\n\ 00376 \n\ 00377 ================================================================================\n\ 00378 MSG: geometry_msgs/Point\n\ 00379 # This contains the position of a point in free space\n\ 00380 float64 x\n\ 00381 float64 y\n\ 00382 float64 z\n\ 00383 \n\ 00384 ================================================================================\n\ 00385 MSG: geometry_msgs/Quaternion\n\ 00386 # This represents an orientation in free space in quaternion form.\n\ 00387 \n\ 00388 float64 x\n\ 00389 float64 y\n\ 00390 float64 z\n\ 00391 float64 w\n\ 00392 \n\ 00393 ================================================================================\n\ 00394 MSG: geometry_msgs/Wrench\n\ 00395 # This represents force in free space, seperated into \n\ 00396 # it's linear and angular parts. \n\ 00397 Vector3 force\n\ 00398 Vector3 torque\n\ 00399 \n\ 00400 ================================================================================\n\ 00401 MSG: geometry_msgs/Vector3\n\ 00402 # This represents a vector in free space. \n\ 00403 \n\ 00404 float64 x\n\ 00405 float64 y\n\ 00406 float64 z\n\ 00407 "; 00408 } 00409 00410 static const char* value(const ::ee_cart_imped_msgs::EECartImpedActionResult_<ContainerAllocator> &) { return value(); } 00411 }; 00412 00413 template<class ContainerAllocator> struct HasHeader< ::ee_cart_imped_msgs::EECartImpedActionResult_<ContainerAllocator> > : public TrueType {}; 00414 template<class ContainerAllocator> struct HasHeader< const ::ee_cart_imped_msgs::EECartImpedActionResult_<ContainerAllocator> > : public TrueType {}; 00415 } // namespace message_traits 00416 } // namespace ros 00417 00418 namespace ros 00419 { 00420 namespace serialization 00421 { 00422 00423 template<class ContainerAllocator> struct Serializer< ::ee_cart_imped_msgs::EECartImpedActionResult_<ContainerAllocator> > 00424 { 00425 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00426 { 00427 stream.next(m.header); 00428 stream.next(m.status); 00429 stream.next(m.result); 00430 } 00431 00432 ROS_DECLARE_ALLINONE_SERIALIZER; 00433 }; // struct EECartImpedActionResult_ 00434 } // namespace serialization 00435 } // namespace ros 00436 00437 namespace ros 00438 { 00439 namespace message_operations 00440 { 00441 00442 template<class ContainerAllocator> 00443 struct Printer< ::ee_cart_imped_msgs::EECartImpedActionResult_<ContainerAllocator> > 00444 { 00445 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::ee_cart_imped_msgs::EECartImpedActionResult_<ContainerAllocator> & v) 00446 { 00447 s << indent << "header: "; 00448 s << std::endl; 00449 Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + " ", v.header); 00450 s << indent << "status: "; 00451 s << std::endl; 00452 Printer< ::actionlib_msgs::GoalStatus_<ContainerAllocator> >::stream(s, indent + " ", v.status); 00453 s << indent << "result: "; 00454 s << std::endl; 00455 Printer< ::ee_cart_imped_msgs::EECartImpedResult_<ContainerAllocator> >::stream(s, indent + " ", v.result); 00456 } 00457 }; 00458 00459 00460 } // namespace message_operations 00461 } // namespace ros 00462 00463 #endif // EE_CART_IMPED_MSGS_MESSAGE_EECARTIMPEDACTIONRESULT_H 00464