FindADoorAction.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-all-iri-ros.pub/doc_stacks/2013-12-06_19-37-16.229269/iri_perception/iri_door_detector/msg/FindADoorAction.msg */
00002 #ifndef IRI_DOOR_DETECTOR_MESSAGE_FINDADOORACTION_H
00003 #define IRI_DOOR_DETECTOR_MESSAGE_FINDADOORACTION_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 "iri_door_detector/FindADoorActionGoal.h"
00018 #include "iri_door_detector/FindADoorActionResult.h"
00019 #include "iri_door_detector/FindADoorActionFeedback.h"
00020 
00021 namespace iri_door_detector
00022 {
00023 template <class ContainerAllocator>
00024 struct FindADoorAction_ {
00025   typedef FindADoorAction_<ContainerAllocator> Type;
00026 
00027   FindADoorAction_()
00028   : action_goal()
00029   , action_result()
00030   , action_feedback()
00031   {
00032   }
00033 
00034   FindADoorAction_(const ContainerAllocator& _alloc)
00035   : action_goal(_alloc)
00036   , action_result(_alloc)
00037   , action_feedback(_alloc)
00038   {
00039   }
00040 
00041   typedef  ::iri_door_detector::FindADoorActionGoal_<ContainerAllocator>  _action_goal_type;
00042    ::iri_door_detector::FindADoorActionGoal_<ContainerAllocator>  action_goal;
00043 
00044   typedef  ::iri_door_detector::FindADoorActionResult_<ContainerAllocator>  _action_result_type;
00045    ::iri_door_detector::FindADoorActionResult_<ContainerAllocator>  action_result;
00046 
00047   typedef  ::iri_door_detector::FindADoorActionFeedback_<ContainerAllocator>  _action_feedback_type;
00048    ::iri_door_detector::FindADoorActionFeedback_<ContainerAllocator>  action_feedback;
00049 
00050 
00051   typedef boost::shared_ptr< ::iri_door_detector::FindADoorAction_<ContainerAllocator> > Ptr;
00052   typedef boost::shared_ptr< ::iri_door_detector::FindADoorAction_<ContainerAllocator>  const> ConstPtr;
00053   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00054 }; // struct FindADoorAction
00055 typedef  ::iri_door_detector::FindADoorAction_<std::allocator<void> > FindADoorAction;
00056 
00057 typedef boost::shared_ptr< ::iri_door_detector::FindADoorAction> FindADoorActionPtr;
00058 typedef boost::shared_ptr< ::iri_door_detector::FindADoorAction const> FindADoorActionConstPtr;
00059 
00060 
00061 template<typename ContainerAllocator>
00062 std::ostream& operator<<(std::ostream& s, const  ::iri_door_detector::FindADoorAction_<ContainerAllocator> & v)
00063 {
00064   ros::message_operations::Printer< ::iri_door_detector::FindADoorAction_<ContainerAllocator> >::stream(s, "", v);
00065   return s;}
00066 
00067 } // namespace iri_door_detector
00068 
00069 namespace ros
00070 {
00071 namespace message_traits
00072 {
00073 template<class ContainerAllocator> struct IsMessage< ::iri_door_detector::FindADoorAction_<ContainerAllocator> > : public TrueType {};
00074 template<class ContainerAllocator> struct IsMessage< ::iri_door_detector::FindADoorAction_<ContainerAllocator>  const> : public TrueType {};
00075 template<class ContainerAllocator>
00076 struct MD5Sum< ::iri_door_detector::FindADoorAction_<ContainerAllocator> > {
00077   static const char* value() 
00078   {
00079     return "bd77eeeb60cdef042b1e90eaea82f1f3";
00080   }
00081 
00082   static const char* value(const  ::iri_door_detector::FindADoorAction_<ContainerAllocator> &) { return value(); } 
00083   static const uint64_t static_value1 = 0xbd77eeeb60cdef04ULL;
00084   static const uint64_t static_value2 = 0x2b1e90eaea82f1f3ULL;
00085 };
00086 
00087 template<class ContainerAllocator>
00088 struct DataType< ::iri_door_detector::FindADoorAction_<ContainerAllocator> > {
00089   static const char* value() 
00090   {
00091     return "iri_door_detector/FindADoorAction";
00092   }
00093 
00094   static const char* value(const  ::iri_door_detector::FindADoorAction_<ContainerAllocator> &) { return value(); } 
00095 };
00096 
00097 template<class ContainerAllocator>
00098 struct Definition< ::iri_door_detector::FindADoorAction_<ContainerAllocator> > {
00099   static const char* value() 
00100   {
00101     return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00102 \n\
00103 FindADoorActionGoal action_goal\n\
00104 FindADoorActionResult action_result\n\
00105 FindADoorActionFeedback action_feedback\n\
00106 \n\
00107 ================================================================================\n\
00108 MSG: iri_door_detector/FindADoorActionGoal\n\
00109 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00110 \n\
00111 Header header\n\
00112 actionlib_msgs/GoalID goal_id\n\
00113 FindADoorGoal goal\n\
00114 \n\
00115 ================================================================================\n\
00116 MSG: std_msgs/Header\n\
00117 # Standard metadata for higher-level stamped data types.\n\
00118 # This is generally used to communicate timestamped data \n\
00119 # in a particular coordinate frame.\n\
00120 # \n\
00121 # sequence ID: consecutively increasing ID \n\
00122 uint32 seq\n\
00123 #Two-integer timestamp that is expressed as:\n\
00124 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00125 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00126 # time-handling sugar is provided by the client library\n\
00127 time stamp\n\
00128 #Frame this data is associated with\n\
00129 # 0: no frame\n\
00130 # 1: global frame\n\
00131 string frame_id\n\
00132 \n\
00133 ================================================================================\n\
00134 MSG: actionlib_msgs/GoalID\n\
00135 # The stamp should store the time at which this goal was requested.\n\
00136 # It is used by an action server when it tries to preempt all\n\
00137 # goals that were requested before a certain time\n\
00138 time stamp\n\
00139 \n\
00140 # The id provides a way to associate feedback and\n\
00141 # result message with specific goal requests. The id\n\
00142 # specified must be unique.\n\
00143 string id\n\
00144 \n\
00145 \n\
00146 ================================================================================\n\
00147 MSG: iri_door_detector/FindADoorGoal\n\
00148 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00149 # Define the goal\n\
00150 int8 start\n\
00151 \n\
00152 ================================================================================\n\
00153 MSG: iri_door_detector/FindADoorActionResult\n\
00154 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00155 \n\
00156 Header header\n\
00157 actionlib_msgs/GoalStatus status\n\
00158 FindADoorResult result\n\
00159 \n\
00160 ================================================================================\n\
00161 MSG: actionlib_msgs/GoalStatus\n\
00162 GoalID goal_id\n\
00163 uint8 status\n\
00164 uint8 PENDING         = 0   # The goal has yet to be processed by the action server\n\
00165 uint8 ACTIVE          = 1   # The goal is currently being processed by the action server\n\
00166 uint8 PREEMPTED       = 2   # The goal received a cancel request after it started executing\n\
00167                             #   and has since completed its execution (Terminal State)\n\
00168 uint8 SUCCEEDED       = 3   # The goal was achieved successfully by the action server (Terminal State)\n\
00169 uint8 ABORTED         = 4   # The goal was aborted during execution by the action server due\n\
00170                             #    to some failure (Terminal State)\n\
00171 uint8 REJECTED        = 5   # The goal was rejected by the action server without being processed,\n\
00172                             #    because the goal was unattainable or invalid (Terminal State)\n\
00173 uint8 PREEMPTING      = 6   # The goal received a cancel request after it started executing\n\
00174                             #    and has not yet completed execution\n\
00175 uint8 RECALLING       = 7   # The goal received a cancel request before it started executing,\n\
00176                             #    but the action server has not yet confirmed that the goal is canceled\n\
00177 uint8 RECALLED        = 8   # The goal received a cancel request before it started executing\n\
00178                             #    and was successfully cancelled (Terminal State)\n\
00179 uint8 LOST            = 9   # An action client can determine that a goal is LOST. This should not be\n\
00180                             #    sent over the wire by an action server\n\
00181 \n\
00182 #Allow for the user to associate a string with GoalStatus for debugging\n\
00183 string text\n\
00184 \n\
00185 \n\
00186 ================================================================================\n\
00187 MSG: iri_door_detector/FindADoorResult\n\
00188 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00189 # Define the result\n\
00190 geometry_msgs/PoseStamped base_poses\n\
00191 arm_navigation_msgs/MotionPlanRequest arm_poses\n\
00192 string planner_service_name\n\
00193 string state\n\
00194 \n\
00195 ================================================================================\n\
00196 MSG: geometry_msgs/PoseStamped\n\
00197 # A Pose with reference coordinate frame and timestamp\n\
00198 Header header\n\
00199 Pose pose\n\
00200 \n\
00201 ================================================================================\n\
00202 MSG: geometry_msgs/Pose\n\
00203 # A representation of pose in free space, composed of postion and orientation. \n\
00204 Point position\n\
00205 Quaternion orientation\n\
00206 \n\
00207 ================================================================================\n\
00208 MSG: geometry_msgs/Point\n\
00209 # This contains the position of a point in free space\n\
00210 float64 x\n\
00211 float64 y\n\
00212 float64 z\n\
00213 \n\
00214 ================================================================================\n\
00215 MSG: geometry_msgs/Quaternion\n\
00216 # This represents an orientation in free space in quaternion form.\n\
00217 \n\
00218 float64 x\n\
00219 float64 y\n\
00220 float64 z\n\
00221 float64 w\n\
00222 \n\
00223 ================================================================================\n\
00224 MSG: arm_navigation_msgs/MotionPlanRequest\n\
00225 # This service contains the definition for a request to the motion\n\
00226 # planner and the output it provides\n\
00227 \n\
00228 # Parameters for the workspace that the planner should work inside\n\
00229 arm_navigation_msgs/WorkspaceParameters workspace_parameters\n\
00230 \n\
00231 # Starting state updates. If certain joints should be considered\n\
00232 # at positions other than the current ones, these positions should\n\
00233 # be set here\n\
00234 arm_navigation_msgs/RobotState start_state\n\
00235 \n\
00236 # The goal state for the model to plan for. The goal is achieved\n\
00237 # if all constraints are satisfied\n\
00238 arm_navigation_msgs/Constraints goal_constraints\n\
00239 \n\
00240 # No state at any point along the path in the produced motion plan will violate these constraints\n\
00241 arm_navigation_msgs/Constraints path_constraints\n\
00242 \n\
00243 # The name of the motion planner to use. If no name is specified,\n\
00244 # a default motion planner will be used\n\
00245 string planner_id\n\
00246 \n\
00247 # The name of the group of joints on which this planner is operating\n\
00248 string group_name\n\
00249 \n\
00250 # The number of times this plan is to be computed. Shortest solution\n\
00251 # will be reported.\n\
00252 int32 num_planning_attempts\n\
00253 \n\
00254 # The maximum amount of time the motion planner is allowed to plan for\n\
00255 duration allowed_planning_time\n\
00256 \n\
00257 # An expected path duration (in seconds) along with an expected discretization of the path allows the planner to determine the discretization of the trajectory that it returns\n\
00258 duration expected_path_duration\n\
00259 duration expected_path_dt\n\
00260 \n\
00261 ================================================================================\n\
00262 MSG: arm_navigation_msgs/WorkspaceParameters\n\
00263 # This message contains a set of parameters useful in\n\
00264 # setting up the workspace for planning\n\
00265 arm_navigation_msgs/Shape  workspace_region_shape\n\
00266 geometry_msgs/PoseStamped    workspace_region_pose\n\
00267 \n\
00268 \n\
00269 ================================================================================\n\
00270 MSG: arm_navigation_msgs/Shape\n\
00271 byte SPHERE=0\n\
00272 byte BOX=1\n\
00273 byte CYLINDER=2\n\
00274 byte MESH=3\n\
00275 \n\
00276 byte type\n\
00277 \n\
00278 \n\
00279 #### define sphere, box, cylinder ####\n\
00280 # the origin of each shape is considered at the shape's center\n\
00281 \n\
00282 # for sphere\n\
00283 # radius := dimensions[0]\n\
00284 \n\
00285 # for cylinder\n\
00286 # radius := dimensions[0]\n\
00287 # length := dimensions[1]\n\
00288 # the length is along the Z axis\n\
00289 \n\
00290 # for box\n\
00291 # size_x := dimensions[0]\n\
00292 # size_y := dimensions[1]\n\
00293 # size_z := dimensions[2]\n\
00294 float64[] dimensions\n\
00295 \n\
00296 \n\
00297 #### define mesh ####\n\
00298 \n\
00299 # list of triangles; triangle k is defined by tre vertices located\n\
00300 # at indices triangles[3k], triangles[3k+1], triangles[3k+2]\n\
00301 int32[] triangles\n\
00302 geometry_msgs/Point[] vertices\n\
00303 \n\
00304 ================================================================================\n\
00305 MSG: arm_navigation_msgs/RobotState\n\
00306 # This message contains information about the robot state, i.e. the positions of its joints and links\n\
00307 sensor_msgs/JointState joint_state\n\
00308 arm_navigation_msgs/MultiDOFJointState multi_dof_joint_state\n\
00309 \n\
00310 ================================================================================\n\
00311 MSG: sensor_msgs/JointState\n\
00312 # This is a message that holds data to describe the state of a set of torque controlled joints. \n\
00313 #\n\
00314 # The state of each joint (revolute or prismatic) is defined by:\n\
00315 #  * the position of the joint (rad or m),\n\
00316 #  * the velocity of the joint (rad/s or m/s) and \n\
00317 #  * the effort that is applied in the joint (Nm or N).\n\
00318 #\n\
00319 # Each joint is uniquely identified by its name\n\
00320 # The header specifies the time at which the joint states were recorded. All the joint states\n\
00321 # in one message have to be recorded at the same time.\n\
00322 #\n\
00323 # This message consists of a multiple arrays, one for each part of the joint state. \n\
00324 # The goal is to make each of the fields optional. When e.g. your joints have no\n\
00325 # effort associated with them, you can leave the effort array empty. \n\
00326 #\n\
00327 # All arrays in this message should have the same size, or be empty.\n\
00328 # This is the only way to uniquely associate the joint name with the correct\n\
00329 # states.\n\
00330 \n\
00331 \n\
00332 Header header\n\
00333 \n\
00334 string[] name\n\
00335 float64[] position\n\
00336 float64[] velocity\n\
00337 float64[] effort\n\
00338 \n\
00339 ================================================================================\n\
00340 MSG: arm_navigation_msgs/MultiDOFJointState\n\
00341 #A representation of a multi-dof joint state\n\
00342 time stamp\n\
00343 string[] joint_names\n\
00344 string[] frame_ids\n\
00345 string[] child_frame_ids\n\
00346 geometry_msgs/Pose[] poses\n\
00347 \n\
00348 ================================================================================\n\
00349 MSG: arm_navigation_msgs/Constraints\n\
00350 # This message contains a list of motion planning constraints.\n\
00351 \n\
00352 arm_navigation_msgs/JointConstraint[] joint_constraints\n\
00353 arm_navigation_msgs/PositionConstraint[] position_constraints\n\
00354 arm_navigation_msgs/OrientationConstraint[] orientation_constraints\n\
00355 arm_navigation_msgs/VisibilityConstraint[] visibility_constraints\n\
00356 \n\
00357 ================================================================================\n\
00358 MSG: arm_navigation_msgs/JointConstraint\n\
00359 # Constrain the position of a joint to be within a certain bound\n\
00360 string joint_name\n\
00361 \n\
00362 # the bound to be achieved is [position - tolerance_below, position + tolerance_above]\n\
00363 float64 position\n\
00364 float64 tolerance_above\n\
00365 float64 tolerance_below\n\
00366 \n\
00367 # A weighting factor for this constraint\n\
00368 float64 weight\n\
00369 ================================================================================\n\
00370 MSG: arm_navigation_msgs/PositionConstraint\n\
00371 # This message contains the definition of a position constraint.\n\
00372 Header header\n\
00373 \n\
00374 # The robot link this constraint refers to\n\
00375 string link_name\n\
00376 \n\
00377 # The offset (in the link frame) for the target point on the link we are planning for\n\
00378 geometry_msgs/Point target_point_offset\n\
00379 \n\
00380 # The nominal/target position for the point we are planning for\n\
00381 geometry_msgs/Point position\n\
00382 \n\
00383 # The shape of the bounded region that constrains the position of the end-effector\n\
00384 # This region is always centered at the position defined above\n\
00385 arm_navigation_msgs/Shape constraint_region_shape\n\
00386 \n\
00387 # The orientation of the bounded region that constrains the position of the end-effector. \n\
00388 # This allows the specification of non-axis aligned constraints\n\
00389 geometry_msgs/Quaternion constraint_region_orientation\n\
00390 \n\
00391 # Constraint weighting factor - a weight for this constraint\n\
00392 float64 weight\n\
00393 \n\
00394 ================================================================================\n\
00395 MSG: arm_navigation_msgs/OrientationConstraint\n\
00396 # This message contains the definition of an orientation constraint.\n\
00397 Header header\n\
00398 \n\
00399 # The robot link this constraint refers to\n\
00400 string link_name\n\
00401 \n\
00402 # The type of the constraint\n\
00403 int32 type\n\
00404 int32 LINK_FRAME=0\n\
00405 int32 HEADER_FRAME=1\n\
00406 \n\
00407 # The desired orientation of the robot link specified as a quaternion\n\
00408 geometry_msgs/Quaternion orientation\n\
00409 \n\
00410 # optional RPY error tolerances specified if \n\
00411 float64 absolute_roll_tolerance\n\
00412 float64 absolute_pitch_tolerance\n\
00413 float64 absolute_yaw_tolerance\n\
00414 \n\
00415 # Constraint weighting factor - a weight for this constraint\n\
00416 float64 weight\n\
00417 \n\
00418 ================================================================================\n\
00419 MSG: arm_navigation_msgs/VisibilityConstraint\n\
00420 # This message contains the definition of a visibility constraint.\n\
00421 Header header\n\
00422 \n\
00423 # The point stamped target that needs to be kept within view of the sensor\n\
00424 geometry_msgs/PointStamped target\n\
00425 \n\
00426 # The local pose of the frame in which visibility is to be maintained\n\
00427 # The frame id should represent the robot link to which the sensor is attached\n\
00428 # The visual axis of the sensor is assumed to be along the X axis of this frame\n\
00429 geometry_msgs/PoseStamped sensor_pose\n\
00430 \n\
00431 # The deviation (in radians) that will be tolerated\n\
00432 # Constraint error will be measured as the solid angle between the \n\
00433 # X axis of the frame defined above and the vector between the origin \n\
00434 # of the frame defined above and the target location\n\
00435 float64 absolute_tolerance\n\
00436 \n\
00437 \n\
00438 ================================================================================\n\
00439 MSG: geometry_msgs/PointStamped\n\
00440 # This represents a Point with reference coordinate frame and timestamp\n\
00441 Header header\n\
00442 Point point\n\
00443 \n\
00444 ================================================================================\n\
00445 MSG: iri_door_detector/FindADoorActionFeedback\n\
00446 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00447 \n\
00448 Header header\n\
00449 actionlib_msgs/GoalStatus status\n\
00450 FindADoorFeedback feedback\n\
00451 \n\
00452 ================================================================================\n\
00453 MSG: iri_door_detector/FindADoorFeedback\n\
00454 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00455 # Define a feedback message\n\
00456 int8 searching\n\
00457 \n\
00458 \n\
00459 ";
00460   }
00461 
00462   static const char* value(const  ::iri_door_detector::FindADoorAction_<ContainerAllocator> &) { return value(); } 
00463 };
00464 
00465 } // namespace message_traits
00466 } // namespace ros
00467 
00468 namespace ros
00469 {
00470 namespace serialization
00471 {
00472 
00473 template<class ContainerAllocator> struct Serializer< ::iri_door_detector::FindADoorAction_<ContainerAllocator> >
00474 {
00475   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00476   {
00477     stream.next(m.action_goal);
00478     stream.next(m.action_result);
00479     stream.next(m.action_feedback);
00480   }
00481 
00482   ROS_DECLARE_ALLINONE_SERIALIZER;
00483 }; // struct FindADoorAction_
00484 } // namespace serialization
00485 } // namespace ros
00486 
00487 namespace ros
00488 {
00489 namespace message_operations
00490 {
00491 
00492 template<class ContainerAllocator>
00493 struct Printer< ::iri_door_detector::FindADoorAction_<ContainerAllocator> >
00494 {
00495   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::iri_door_detector::FindADoorAction_<ContainerAllocator> & v) 
00496   {
00497     s << indent << "action_goal: ";
00498 s << std::endl;
00499     Printer< ::iri_door_detector::FindADoorActionGoal_<ContainerAllocator> >::stream(s, indent + "  ", v.action_goal);
00500     s << indent << "action_result: ";
00501 s << std::endl;
00502     Printer< ::iri_door_detector::FindADoorActionResult_<ContainerAllocator> >::stream(s, indent + "  ", v.action_result);
00503     s << indent << "action_feedback: ";
00504 s << std::endl;
00505     Printer< ::iri_door_detector::FindADoorActionFeedback_<ContainerAllocator> >::stream(s, indent + "  ", v.action_feedback);
00506   }
00507 };
00508 
00509 
00510 } // namespace message_operations
00511 } // namespace ros
00512 
00513 #endif // IRI_DOOR_DETECTOR_MESSAGE_FINDADOORACTION_H
00514 


iri_door_detector
Author(s): Jose Rodriguez
autogenerated on Fri Dec 6 2013 23:57:16