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