PreplanHeadScanActionGoal.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-arm_navigation_experimental/doc_stacks/2013-12-12_11-03-06.264841/arm_navigation_experimental/head_monitor_msgs/msg/PreplanHeadScanActionGoal.msg */
00002 #ifndef HEAD_MONITOR_MSGS_MESSAGE_PREPLANHEADSCANACTIONGOAL_H
00003 #define HEAD_MONITOR_MSGS_MESSAGE_PREPLANHEADSCANACTIONGOAL_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/GoalID.h"
00019 #include "head_monitor_msgs/PreplanHeadScanGoal.h"
00020 
00021 namespace head_monitor_msgs
00022 {
00023 template <class ContainerAllocator>
00024 struct PreplanHeadScanActionGoal_ {
00025   typedef PreplanHeadScanActionGoal_<ContainerAllocator> Type;
00026 
00027   PreplanHeadScanActionGoal_()
00028   : header()
00029   , goal_id()
00030   , goal()
00031   {
00032   }
00033 
00034   PreplanHeadScanActionGoal_(const ContainerAllocator& _alloc)
00035   : header(_alloc)
00036   , goal_id(_alloc)
00037   , goal(_alloc)
00038   {
00039   }
00040 
00041   typedef  ::std_msgs::Header_<ContainerAllocator>  _header_type;
00042    ::std_msgs::Header_<ContainerAllocator>  header;
00043 
00044   typedef  ::actionlib_msgs::GoalID_<ContainerAllocator>  _goal_id_type;
00045    ::actionlib_msgs::GoalID_<ContainerAllocator>  goal_id;
00046 
00047   typedef  ::head_monitor_msgs::PreplanHeadScanGoal_<ContainerAllocator>  _goal_type;
00048    ::head_monitor_msgs::PreplanHeadScanGoal_<ContainerAllocator>  goal;
00049 
00050 
00051   typedef boost::shared_ptr< ::head_monitor_msgs::PreplanHeadScanActionGoal_<ContainerAllocator> > Ptr;
00052   typedef boost::shared_ptr< ::head_monitor_msgs::PreplanHeadScanActionGoal_<ContainerAllocator>  const> ConstPtr;
00053   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00054 }; // struct PreplanHeadScanActionGoal
00055 typedef  ::head_monitor_msgs::PreplanHeadScanActionGoal_<std::allocator<void> > PreplanHeadScanActionGoal;
00056 
00057 typedef boost::shared_ptr< ::head_monitor_msgs::PreplanHeadScanActionGoal> PreplanHeadScanActionGoalPtr;
00058 typedef boost::shared_ptr< ::head_monitor_msgs::PreplanHeadScanActionGoal const> PreplanHeadScanActionGoalConstPtr;
00059 
00060 
00061 template<typename ContainerAllocator>
00062 std::ostream& operator<<(std::ostream& s, const  ::head_monitor_msgs::PreplanHeadScanActionGoal_<ContainerAllocator> & v)
00063 {
00064   ros::message_operations::Printer< ::head_monitor_msgs::PreplanHeadScanActionGoal_<ContainerAllocator> >::stream(s, "", v);
00065   return s;}
00066 
00067 } // namespace head_monitor_msgs
00068 
00069 namespace ros
00070 {
00071 namespace message_traits
00072 {
00073 template<class ContainerAllocator> struct IsMessage< ::head_monitor_msgs::PreplanHeadScanActionGoal_<ContainerAllocator> > : public TrueType {};
00074 template<class ContainerAllocator> struct IsMessage< ::head_monitor_msgs::PreplanHeadScanActionGoal_<ContainerAllocator>  const> : public TrueType {};
00075 template<class ContainerAllocator>
00076 struct MD5Sum< ::head_monitor_msgs::PreplanHeadScanActionGoal_<ContainerAllocator> > {
00077   static const char* value() 
00078   {
00079     return "d6d529901f1841831659ba61c8e488bc";
00080   }
00081 
00082   static const char* value(const  ::head_monitor_msgs::PreplanHeadScanActionGoal_<ContainerAllocator> &) { return value(); } 
00083   static const uint64_t static_value1 = 0xd6d529901f184183ULL;
00084   static const uint64_t static_value2 = 0x1659ba61c8e488bcULL;
00085 };
00086 
00087 template<class ContainerAllocator>
00088 struct DataType< ::head_monitor_msgs::PreplanHeadScanActionGoal_<ContainerAllocator> > {
00089   static const char* value() 
00090   {
00091     return "head_monitor_msgs/PreplanHeadScanActionGoal";
00092   }
00093 
00094   static const char* value(const  ::head_monitor_msgs::PreplanHeadScanActionGoal_<ContainerAllocator> &) { return value(); } 
00095 };
00096 
00097 template<class ContainerAllocator>
00098 struct Definition< ::head_monitor_msgs::PreplanHeadScanActionGoal_<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/GoalID goal_id\n\
00105 PreplanHeadScanGoal goal\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/GoalID\n\
00127 # The stamp should store the time at which this goal was requested.\n\
00128 # It is used by an action server when it tries to preempt all\n\
00129 # goals that were requested before a certain time\n\
00130 time stamp\n\
00131 \n\
00132 # The id provides a way to associate feedback and\n\
00133 # result message with specific goal requests. The id\n\
00134 # specified must be unique.\n\
00135 string id\n\
00136 \n\
00137 \n\
00138 ================================================================================\n\
00139 MSG: head_monitor_msgs/PreplanHeadScanGoal\n\
00140 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00141 # The motion plan request\n\
00142 string group_name\n\
00143 string head_monitor_link\n\
00144 arm_navigation_msgs/MotionPlanRequest motion_plan_request\n\
00145 \n\
00146 ================================================================================\n\
00147 MSG: arm_navigation_msgs/MotionPlanRequest\n\
00148 # This service contains the definition for a request to the motion\n\
00149 # planner and the output it provides\n\
00150 \n\
00151 # Parameters for the workspace that the planner should work inside\n\
00152 arm_navigation_msgs/WorkspaceParameters workspace_parameters\n\
00153 \n\
00154 # Starting state updates. If certain joints should be considered\n\
00155 # at positions other than the current ones, these positions should\n\
00156 # be set here\n\
00157 arm_navigation_msgs/RobotState start_state\n\
00158 \n\
00159 # The goal state for the model to plan for. The goal is achieved\n\
00160 # if all constraints are satisfied\n\
00161 arm_navigation_msgs/Constraints goal_constraints\n\
00162 \n\
00163 # No state at any point along the path in the produced motion plan will violate these constraints\n\
00164 arm_navigation_msgs/Constraints path_constraints\n\
00165 \n\
00166 # The name of the motion planner to use. If no name is specified,\n\
00167 # a default motion planner will be used\n\
00168 string planner_id\n\
00169 \n\
00170 # The name of the group of joints on which this planner is operating\n\
00171 string group_name\n\
00172 \n\
00173 # The number of times this plan is to be computed. Shortest solution\n\
00174 # will be reported.\n\
00175 int32 num_planning_attempts\n\
00176 \n\
00177 # The maximum amount of time the motion planner is allowed to plan for\n\
00178 duration allowed_planning_time\n\
00179 \n\
00180 # 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\
00181 duration expected_path_duration\n\
00182 duration expected_path_dt\n\
00183 \n\
00184 ================================================================================\n\
00185 MSG: arm_navigation_msgs/WorkspaceParameters\n\
00186 # This message contains a set of parameters useful in\n\
00187 # setting up the workspace for planning\n\
00188 arm_navigation_msgs/Shape  workspace_region_shape\n\
00189 geometry_msgs/PoseStamped    workspace_region_pose\n\
00190 \n\
00191 \n\
00192 ================================================================================\n\
00193 MSG: arm_navigation_msgs/Shape\n\
00194 byte SPHERE=0\n\
00195 byte BOX=1\n\
00196 byte CYLINDER=2\n\
00197 byte MESH=3\n\
00198 \n\
00199 byte type\n\
00200 \n\
00201 \n\
00202 #### define sphere, box, cylinder ####\n\
00203 # the origin of each shape is considered at the shape's center\n\
00204 \n\
00205 # for sphere\n\
00206 # radius := dimensions[0]\n\
00207 \n\
00208 # for cylinder\n\
00209 # radius := dimensions[0]\n\
00210 # length := dimensions[1]\n\
00211 # the length is along the Z axis\n\
00212 \n\
00213 # for box\n\
00214 # size_x := dimensions[0]\n\
00215 # size_y := dimensions[1]\n\
00216 # size_z := dimensions[2]\n\
00217 float64[] dimensions\n\
00218 \n\
00219 \n\
00220 #### define mesh ####\n\
00221 \n\
00222 # list of triangles; triangle k is defined by tre vertices located\n\
00223 # at indices triangles[3k], triangles[3k+1], triangles[3k+2]\n\
00224 int32[] triangles\n\
00225 geometry_msgs/Point[] vertices\n\
00226 \n\
00227 ================================================================================\n\
00228 MSG: geometry_msgs/Point\n\
00229 # This contains the position of a point in free space\n\
00230 float64 x\n\
00231 float64 y\n\
00232 float64 z\n\
00233 \n\
00234 ================================================================================\n\
00235 MSG: geometry_msgs/PoseStamped\n\
00236 # A Pose with reference coordinate frame and timestamp\n\
00237 Header header\n\
00238 Pose pose\n\
00239 \n\
00240 ================================================================================\n\
00241 MSG: geometry_msgs/Pose\n\
00242 # A representation of pose in free space, composed of postion and orientation. \n\
00243 Point position\n\
00244 Quaternion orientation\n\
00245 \n\
00246 ================================================================================\n\
00247 MSG: geometry_msgs/Quaternion\n\
00248 # This represents an orientation in free space in quaternion form.\n\
00249 \n\
00250 float64 x\n\
00251 float64 y\n\
00252 float64 z\n\
00253 float64 w\n\
00254 \n\
00255 ================================================================================\n\
00256 MSG: arm_navigation_msgs/RobotState\n\
00257 # This message contains information about the robot state, i.e. the positions of its joints and links\n\
00258 sensor_msgs/JointState joint_state\n\
00259 arm_navigation_msgs/MultiDOFJointState multi_dof_joint_state\n\
00260 \n\
00261 ================================================================================\n\
00262 MSG: sensor_msgs/JointState\n\
00263 # This is a message that holds data to describe the state of a set of torque controlled joints. \n\
00264 #\n\
00265 # The state of each joint (revolute or prismatic) is defined by:\n\
00266 #  * the position of the joint (rad or m),\n\
00267 #  * the velocity of the joint (rad/s or m/s) and \n\
00268 #  * the effort that is applied in the joint (Nm or N).\n\
00269 #\n\
00270 # Each joint is uniquely identified by its name\n\
00271 # The header specifies the time at which the joint states were recorded. All the joint states\n\
00272 # in one message have to be recorded at the same time.\n\
00273 #\n\
00274 # This message consists of a multiple arrays, one for each part of the joint state. \n\
00275 # The goal is to make each of the fields optional. When e.g. your joints have no\n\
00276 # effort associated with them, you can leave the effort array empty. \n\
00277 #\n\
00278 # All arrays in this message should have the same size, or be empty.\n\
00279 # This is the only way to uniquely associate the joint name with the correct\n\
00280 # states.\n\
00281 \n\
00282 \n\
00283 Header header\n\
00284 \n\
00285 string[] name\n\
00286 float64[] position\n\
00287 float64[] velocity\n\
00288 float64[] effort\n\
00289 \n\
00290 ================================================================================\n\
00291 MSG: arm_navigation_msgs/MultiDOFJointState\n\
00292 #A representation of a multi-dof joint state\n\
00293 time stamp\n\
00294 string[] joint_names\n\
00295 string[] frame_ids\n\
00296 string[] child_frame_ids\n\
00297 geometry_msgs/Pose[] poses\n\
00298 \n\
00299 ================================================================================\n\
00300 MSG: arm_navigation_msgs/Constraints\n\
00301 # This message contains a list of motion planning constraints.\n\
00302 \n\
00303 arm_navigation_msgs/JointConstraint[] joint_constraints\n\
00304 arm_navigation_msgs/PositionConstraint[] position_constraints\n\
00305 arm_navigation_msgs/OrientationConstraint[] orientation_constraints\n\
00306 arm_navigation_msgs/VisibilityConstraint[] visibility_constraints\n\
00307 \n\
00308 ================================================================================\n\
00309 MSG: arm_navigation_msgs/JointConstraint\n\
00310 # Constrain the position of a joint to be within a certain bound\n\
00311 string joint_name\n\
00312 \n\
00313 # the bound to be achieved is [position - tolerance_below, position + tolerance_above]\n\
00314 float64 position\n\
00315 float64 tolerance_above\n\
00316 float64 tolerance_below\n\
00317 \n\
00318 # A weighting factor for this constraint\n\
00319 float64 weight\n\
00320 ================================================================================\n\
00321 MSG: arm_navigation_msgs/PositionConstraint\n\
00322 # This message contains the definition of a position constraint.\n\
00323 Header header\n\
00324 \n\
00325 # The robot link this constraint refers to\n\
00326 string link_name\n\
00327 \n\
00328 # The offset (in the link frame) for the target point on the link we are planning for\n\
00329 geometry_msgs/Point target_point_offset\n\
00330 \n\
00331 # The nominal/target position for the point we are planning for\n\
00332 geometry_msgs/Point position\n\
00333 \n\
00334 # The shape of the bounded region that constrains the position of the end-effector\n\
00335 # This region is always centered at the position defined above\n\
00336 arm_navigation_msgs/Shape constraint_region_shape\n\
00337 \n\
00338 # The orientation of the bounded region that constrains the position of the end-effector. \n\
00339 # This allows the specification of non-axis aligned constraints\n\
00340 geometry_msgs/Quaternion constraint_region_orientation\n\
00341 \n\
00342 # Constraint weighting factor - a weight for this constraint\n\
00343 float64 weight\n\
00344 \n\
00345 ================================================================================\n\
00346 MSG: arm_navigation_msgs/OrientationConstraint\n\
00347 # This message contains the definition of an orientation constraint.\n\
00348 Header header\n\
00349 \n\
00350 # The robot link this constraint refers to\n\
00351 string link_name\n\
00352 \n\
00353 # The type of the constraint\n\
00354 int32 type\n\
00355 int32 LINK_FRAME=0\n\
00356 int32 HEADER_FRAME=1\n\
00357 \n\
00358 # The desired orientation of the robot link specified as a quaternion\n\
00359 geometry_msgs/Quaternion orientation\n\
00360 \n\
00361 # optional RPY error tolerances specified if \n\
00362 float64 absolute_roll_tolerance\n\
00363 float64 absolute_pitch_tolerance\n\
00364 float64 absolute_yaw_tolerance\n\
00365 \n\
00366 # Constraint weighting factor - a weight for this constraint\n\
00367 float64 weight\n\
00368 \n\
00369 ================================================================================\n\
00370 MSG: arm_navigation_msgs/VisibilityConstraint\n\
00371 # This message contains the definition of a visibility constraint.\n\
00372 Header header\n\
00373 \n\
00374 # The point stamped target that needs to be kept within view of the sensor\n\
00375 geometry_msgs/PointStamped target\n\
00376 \n\
00377 # The local pose of the frame in which visibility is to be maintained\n\
00378 # The frame id should represent the robot link to which the sensor is attached\n\
00379 # The visual axis of the sensor is assumed to be along the X axis of this frame\n\
00380 geometry_msgs/PoseStamped sensor_pose\n\
00381 \n\
00382 # The deviation (in radians) that will be tolerated\n\
00383 # Constraint error will be measured as the solid angle between the \n\
00384 # X axis of the frame defined above and the vector between the origin \n\
00385 # of the frame defined above and the target location\n\
00386 float64 absolute_tolerance\n\
00387 \n\
00388 \n\
00389 ================================================================================\n\
00390 MSG: geometry_msgs/PointStamped\n\
00391 # This represents a Point with reference coordinate frame and timestamp\n\
00392 Header header\n\
00393 Point point\n\
00394 \n\
00395 ";
00396   }
00397 
00398   static const char* value(const  ::head_monitor_msgs::PreplanHeadScanActionGoal_<ContainerAllocator> &) { return value(); } 
00399 };
00400 
00401 template<class ContainerAllocator> struct HasHeader< ::head_monitor_msgs::PreplanHeadScanActionGoal_<ContainerAllocator> > : public TrueType {};
00402 template<class ContainerAllocator> struct HasHeader< const ::head_monitor_msgs::PreplanHeadScanActionGoal_<ContainerAllocator> > : public TrueType {};
00403 } // namespace message_traits
00404 } // namespace ros
00405 
00406 namespace ros
00407 {
00408 namespace serialization
00409 {
00410 
00411 template<class ContainerAllocator> struct Serializer< ::head_monitor_msgs::PreplanHeadScanActionGoal_<ContainerAllocator> >
00412 {
00413   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00414   {
00415     stream.next(m.header);
00416     stream.next(m.goal_id);
00417     stream.next(m.goal);
00418   }
00419 
00420   ROS_DECLARE_ALLINONE_SERIALIZER;
00421 }; // struct PreplanHeadScanActionGoal_
00422 } // namespace serialization
00423 } // namespace ros
00424 
00425 namespace ros
00426 {
00427 namespace message_operations
00428 {
00429 
00430 template<class ContainerAllocator>
00431 struct Printer< ::head_monitor_msgs::PreplanHeadScanActionGoal_<ContainerAllocator> >
00432 {
00433   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::head_monitor_msgs::PreplanHeadScanActionGoal_<ContainerAllocator> & v) 
00434   {
00435     s << indent << "header: ";
00436 s << std::endl;
00437     Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + "  ", v.header);
00438     s << indent << "goal_id: ";
00439 s << std::endl;
00440     Printer< ::actionlib_msgs::GoalID_<ContainerAllocator> >::stream(s, indent + "  ", v.goal_id);
00441     s << indent << "goal: ";
00442 s << std::endl;
00443     Printer< ::head_monitor_msgs::PreplanHeadScanGoal_<ContainerAllocator> >::stream(s, indent + "  ", v.goal);
00444   }
00445 };
00446 
00447 
00448 } // namespace message_operations
00449 } // namespace ros
00450 
00451 #endif // HEAD_MONITOR_MSGS_MESSAGE_PREPLANHEADSCANACTIONGOAL_H
00452 


head_monitor_msgs
Author(s): Gil Jones
autogenerated on Thu Dec 12 2013 11:07:24