HeadMonitorAction.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-arm_navigation_experimental/doc_stacks/2013-12-06_21-03-09.026472/arm_navigation_experimental/head_monitor_msgs/msg/HeadMonitorAction.msg */
00002 #ifndef HEAD_MONITOR_MSGS_MESSAGE_HEADMONITORACTION_H
00003 #define HEAD_MONITOR_MSGS_MESSAGE_HEADMONITORACTION_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 "head_monitor_msgs/HeadMonitorActionGoal.h"
00018 #include "head_monitor_msgs/HeadMonitorActionResult.h"
00019 #include "head_monitor_msgs/HeadMonitorActionFeedback.h"
00020 
00021 namespace head_monitor_msgs
00022 {
00023 template <class ContainerAllocator>
00024 struct HeadMonitorAction_ {
00025   typedef HeadMonitorAction_<ContainerAllocator> Type;
00026 
00027   HeadMonitorAction_()
00028   : action_goal()
00029   , action_result()
00030   , action_feedback()
00031   {
00032   }
00033 
00034   HeadMonitorAction_(const ContainerAllocator& _alloc)
00035   : action_goal(_alloc)
00036   , action_result(_alloc)
00037   , action_feedback(_alloc)
00038   {
00039   }
00040 
00041   typedef  ::head_monitor_msgs::HeadMonitorActionGoal_<ContainerAllocator>  _action_goal_type;
00042    ::head_monitor_msgs::HeadMonitorActionGoal_<ContainerAllocator>  action_goal;
00043 
00044   typedef  ::head_monitor_msgs::HeadMonitorActionResult_<ContainerAllocator>  _action_result_type;
00045    ::head_monitor_msgs::HeadMonitorActionResult_<ContainerAllocator>  action_result;
00046 
00047   typedef  ::head_monitor_msgs::HeadMonitorActionFeedback_<ContainerAllocator>  _action_feedback_type;
00048    ::head_monitor_msgs::HeadMonitorActionFeedback_<ContainerAllocator>  action_feedback;
00049 
00050 
00051   typedef boost::shared_ptr< ::head_monitor_msgs::HeadMonitorAction_<ContainerAllocator> > Ptr;
00052   typedef boost::shared_ptr< ::head_monitor_msgs::HeadMonitorAction_<ContainerAllocator>  const> ConstPtr;
00053   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00054 }; // struct HeadMonitorAction
00055 typedef  ::head_monitor_msgs::HeadMonitorAction_<std::allocator<void> > HeadMonitorAction;
00056 
00057 typedef boost::shared_ptr< ::head_monitor_msgs::HeadMonitorAction> HeadMonitorActionPtr;
00058 typedef boost::shared_ptr< ::head_monitor_msgs::HeadMonitorAction const> HeadMonitorActionConstPtr;
00059 
00060 
00061 template<typename ContainerAllocator>
00062 std::ostream& operator<<(std::ostream& s, const  ::head_monitor_msgs::HeadMonitorAction_<ContainerAllocator> & v)
00063 {
00064   ros::message_operations::Printer< ::head_monitor_msgs::HeadMonitorAction_<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::HeadMonitorAction_<ContainerAllocator> > : public TrueType {};
00074 template<class ContainerAllocator> struct IsMessage< ::head_monitor_msgs::HeadMonitorAction_<ContainerAllocator>  const> : public TrueType {};
00075 template<class ContainerAllocator>
00076 struct MD5Sum< ::head_monitor_msgs::HeadMonitorAction_<ContainerAllocator> > {
00077   static const char* value() 
00078   {
00079     return "09344416f769d6f374dfa93a50a9bea8";
00080   }
00081 
00082   static const char* value(const  ::head_monitor_msgs::HeadMonitorAction_<ContainerAllocator> &) { return value(); } 
00083   static const uint64_t static_value1 = 0x09344416f769d6f3ULL;
00084   static const uint64_t static_value2 = 0x74dfa93a50a9bea8ULL;
00085 };
00086 
00087 template<class ContainerAllocator>
00088 struct DataType< ::head_monitor_msgs::HeadMonitorAction_<ContainerAllocator> > {
00089   static const char* value() 
00090   {
00091     return "head_monitor_msgs/HeadMonitorAction";
00092   }
00093 
00094   static const char* value(const  ::head_monitor_msgs::HeadMonitorAction_<ContainerAllocator> &) { return value(); } 
00095 };
00096 
00097 template<class ContainerAllocator>
00098 struct Definition< ::head_monitor_msgs::HeadMonitorAction_<ContainerAllocator> > {
00099   static const char* value() 
00100   {
00101     return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00102 \n\
00103 HeadMonitorActionGoal action_goal\n\
00104 HeadMonitorActionResult action_result\n\
00105 HeadMonitorActionFeedback action_feedback\n\
00106 \n\
00107 ================================================================================\n\
00108 MSG: head_monitor_msgs/HeadMonitorActionGoal\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 HeadMonitorGoal 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: head_monitor_msgs/HeadMonitorGoal\n\
00148 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00149 string group_name\n\
00150 trajectory_msgs/JointTrajectory joint_trajectory\n\
00151 \n\
00152 #goal definition\n\
00153 duration time_offset\n\
00154 string target_link\n\
00155 \n\
00156 ================================================================================\n\
00157 MSG: trajectory_msgs/JointTrajectory\n\
00158 Header header\n\
00159 string[] joint_names\n\
00160 JointTrajectoryPoint[] points\n\
00161 ================================================================================\n\
00162 MSG: trajectory_msgs/JointTrajectoryPoint\n\
00163 float64[] positions\n\
00164 float64[] velocities\n\
00165 float64[] accelerations\n\
00166 duration time_from_start\n\
00167 ================================================================================\n\
00168 MSG: head_monitor_msgs/HeadMonitorActionResult\n\
00169 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00170 \n\
00171 Header header\n\
00172 actionlib_msgs/GoalStatus status\n\
00173 HeadMonitorResult result\n\
00174 \n\
00175 ================================================================================\n\
00176 MSG: actionlib_msgs/GoalStatus\n\
00177 GoalID goal_id\n\
00178 uint8 status\n\
00179 uint8 PENDING         = 0   # The goal has yet to be processed by the action server\n\
00180 uint8 ACTIVE          = 1   # The goal is currently being processed by the action server\n\
00181 uint8 PREEMPTED       = 2   # The goal received a cancel request after it started executing\n\
00182                             #   and has since completed its execution (Terminal State)\n\
00183 uint8 SUCCEEDED       = 3   # The goal was achieved successfully by the action server (Terminal State)\n\
00184 uint8 ABORTED         = 4   # The goal was aborted during execution by the action server due\n\
00185                             #    to some failure (Terminal State)\n\
00186 uint8 REJECTED        = 5   # The goal was rejected by the action server without being processed,\n\
00187                             #    because the goal was unattainable or invalid (Terminal State)\n\
00188 uint8 PREEMPTING      = 6   # The goal received a cancel request after it started executing\n\
00189                             #    and has not yet completed execution\n\
00190 uint8 RECALLING       = 7   # The goal received a cancel request before it started executing,\n\
00191                             #    but the action server has not yet confirmed that the goal is canceled\n\
00192 uint8 RECALLED        = 8   # The goal received a cancel request before it started executing\n\
00193                             #    and was successfully cancelled (Terminal State)\n\
00194 uint8 LOST            = 9   # An action client can determine that a goal is LOST. This should not be\n\
00195                             #    sent over the wire by an action server\n\
00196 \n\
00197 #Allow for the user to associate a string with GoalStatus for debugging\n\
00198 string text\n\
00199 \n\
00200 \n\
00201 ================================================================================\n\
00202 MSG: head_monitor_msgs/HeadMonitorResult\n\
00203 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00204 trajectory_msgs/JointTrajectory actual_trajectory\n\
00205 arm_navigation_msgs/ArmNavigationErrorCodes error_code\n\
00206 \n\
00207 ================================================================================\n\
00208 MSG: arm_navigation_msgs/ArmNavigationErrorCodes\n\
00209 int32 val\n\
00210 \n\
00211 # overall behavior\n\
00212 int32 PLANNING_FAILED=-1\n\
00213 int32 SUCCESS=1\n\
00214 int32 TIMED_OUT=-2\n\
00215 \n\
00216 # start state errors\n\
00217 int32 START_STATE_IN_COLLISION=-3\n\
00218 int32 START_STATE_VIOLATES_PATH_CONSTRAINTS=-4\n\
00219 \n\
00220 # goal errors\n\
00221 int32 GOAL_IN_COLLISION=-5\n\
00222 int32 GOAL_VIOLATES_PATH_CONSTRAINTS=-6\n\
00223 \n\
00224 # robot state\n\
00225 int32 INVALID_ROBOT_STATE=-7\n\
00226 int32 INCOMPLETE_ROBOT_STATE=-8\n\
00227 \n\
00228 # planning request errors\n\
00229 int32 INVALID_PLANNER_ID=-9\n\
00230 int32 INVALID_NUM_PLANNING_ATTEMPTS=-10\n\
00231 int32 INVALID_ALLOWED_PLANNING_TIME=-11\n\
00232 int32 INVALID_GROUP_NAME=-12\n\
00233 int32 INVALID_GOAL_JOINT_CONSTRAINTS=-13\n\
00234 int32 INVALID_GOAL_POSITION_CONSTRAINTS=-14\n\
00235 int32 INVALID_GOAL_ORIENTATION_CONSTRAINTS=-15\n\
00236 int32 INVALID_PATH_JOINT_CONSTRAINTS=-16\n\
00237 int32 INVALID_PATH_POSITION_CONSTRAINTS=-17\n\
00238 int32 INVALID_PATH_ORIENTATION_CONSTRAINTS=-18\n\
00239 \n\
00240 # state/trajectory monitor errors\n\
00241 int32 INVALID_TRAJECTORY=-19\n\
00242 int32 INVALID_INDEX=-20\n\
00243 int32 JOINT_LIMITS_VIOLATED=-21\n\
00244 int32 PATH_CONSTRAINTS_VIOLATED=-22\n\
00245 int32 COLLISION_CONSTRAINTS_VIOLATED=-23\n\
00246 int32 GOAL_CONSTRAINTS_VIOLATED=-24\n\
00247 int32 JOINTS_NOT_MOVING=-25\n\
00248 int32 TRAJECTORY_CONTROLLER_FAILED=-26\n\
00249 \n\
00250 # system errors\n\
00251 int32 FRAME_TRANSFORM_FAILURE=-27\n\
00252 int32 COLLISION_CHECKING_UNAVAILABLE=-28\n\
00253 int32 ROBOT_STATE_STALE=-29\n\
00254 int32 SENSOR_INFO_STALE=-30\n\
00255 \n\
00256 # kinematics errors\n\
00257 int32 NO_IK_SOLUTION=-31\n\
00258 int32 INVALID_LINK_NAME=-32\n\
00259 int32 IK_LINK_IN_COLLISION=-33\n\
00260 int32 NO_FK_SOLUTION=-34\n\
00261 int32 KINEMATICS_STATE_IN_COLLISION=-35\n\
00262 \n\
00263 # general errors\n\
00264 int32 INVALID_TIMEOUT=-36\n\
00265 \n\
00266 \n\
00267 ================================================================================\n\
00268 MSG: head_monitor_msgs/HeadMonitorActionFeedback\n\
00269 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00270 \n\
00271 Header header\n\
00272 actionlib_msgs/GoalStatus status\n\
00273 HeadMonitorFeedback feedback\n\
00274 \n\
00275 ================================================================================\n\
00276 MSG: head_monitor_msgs/HeadMonitorFeedback\n\
00277 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00278 arm_navigation_msgs/RobotState current_state\n\
00279 arm_navigation_msgs/RobotState paused_trajectory_state\n\
00280 arm_navigation_msgs/CollisionObject paused_collision_map\n\
00281 \n\
00282 \n\
00283 \n\
00284 ================================================================================\n\
00285 MSG: arm_navigation_msgs/RobotState\n\
00286 # This message contains information about the robot state, i.e. the positions of its joints and links\n\
00287 sensor_msgs/JointState joint_state\n\
00288 arm_navigation_msgs/MultiDOFJointState multi_dof_joint_state\n\
00289 \n\
00290 ================================================================================\n\
00291 MSG: sensor_msgs/JointState\n\
00292 # This is a message that holds data to describe the state of a set of torque controlled joints. \n\
00293 #\n\
00294 # The state of each joint (revolute or prismatic) is defined by:\n\
00295 #  * the position of the joint (rad or m),\n\
00296 #  * the velocity of the joint (rad/s or m/s) and \n\
00297 #  * the effort that is applied in the joint (Nm or N).\n\
00298 #\n\
00299 # Each joint is uniquely identified by its name\n\
00300 # The header specifies the time at which the joint states were recorded. All the joint states\n\
00301 # in one message have to be recorded at the same time.\n\
00302 #\n\
00303 # This message consists of a multiple arrays, one for each part of the joint state. \n\
00304 # The goal is to make each of the fields optional. When e.g. your joints have no\n\
00305 # effort associated with them, you can leave the effort array empty. \n\
00306 #\n\
00307 # All arrays in this message should have the same size, or be empty.\n\
00308 # This is the only way to uniquely associate the joint name with the correct\n\
00309 # states.\n\
00310 \n\
00311 \n\
00312 Header header\n\
00313 \n\
00314 string[] name\n\
00315 float64[] position\n\
00316 float64[] velocity\n\
00317 float64[] effort\n\
00318 \n\
00319 ================================================================================\n\
00320 MSG: arm_navigation_msgs/MultiDOFJointState\n\
00321 #A representation of a multi-dof joint state\n\
00322 time stamp\n\
00323 string[] joint_names\n\
00324 string[] frame_ids\n\
00325 string[] child_frame_ids\n\
00326 geometry_msgs/Pose[] poses\n\
00327 \n\
00328 ================================================================================\n\
00329 MSG: geometry_msgs/Pose\n\
00330 # A representation of pose in free space, composed of postion and orientation. \n\
00331 Point position\n\
00332 Quaternion orientation\n\
00333 \n\
00334 ================================================================================\n\
00335 MSG: geometry_msgs/Point\n\
00336 # This contains the position of a point in free space\n\
00337 float64 x\n\
00338 float64 y\n\
00339 float64 z\n\
00340 \n\
00341 ================================================================================\n\
00342 MSG: geometry_msgs/Quaternion\n\
00343 # This represents an orientation in free space in quaternion form.\n\
00344 \n\
00345 float64 x\n\
00346 float64 y\n\
00347 float64 z\n\
00348 float64 w\n\
00349 \n\
00350 ================================================================================\n\
00351 MSG: arm_navigation_msgs/CollisionObject\n\
00352 # a header, used for interpreting the poses\n\
00353 Header header\n\
00354 \n\
00355 # the id of the object\n\
00356 string id\n\
00357 \n\
00358 # The padding used for filtering points near the object.\n\
00359 # This does not affect collision checking for the object.  \n\
00360 # Set to negative to get zero padding.\n\
00361 float32 padding\n\
00362 \n\
00363 #This contains what is to be done with the object\n\
00364 CollisionObjectOperation operation\n\
00365 \n\
00366 #the shapes associated with the object\n\
00367 arm_navigation_msgs/Shape[] shapes\n\
00368 \n\
00369 #the poses associated with the shapes - will be transformed using the header\n\
00370 geometry_msgs/Pose[] poses\n\
00371 \n\
00372 ================================================================================\n\
00373 MSG: arm_navigation_msgs/CollisionObjectOperation\n\
00374 #Puts the object into the environment\n\
00375 #or updates the object if already added\n\
00376 byte ADD=0\n\
00377 \n\
00378 #Removes the object from the environment entirely\n\
00379 byte REMOVE=1\n\
00380 \n\
00381 #Only valid within the context of a CollisionAttachedObject message\n\
00382 #Will be ignored if sent with an CollisionObject message\n\
00383 #Takes an attached object, detaches from the attached link\n\
00384 #But adds back in as regular object\n\
00385 byte DETACH_AND_ADD_AS_OBJECT=2\n\
00386 \n\
00387 #Only valid within the context of a CollisionAttachedObject message\n\
00388 #Will be ignored if sent with an CollisionObject message\n\
00389 #Takes current object in the environment and removes it as\n\
00390 #a regular object\n\
00391 byte ATTACH_AND_REMOVE_AS_OBJECT=3\n\
00392 \n\
00393 # Byte code for operation\n\
00394 byte operation\n\
00395 \n\
00396 ================================================================================\n\
00397 MSG: arm_navigation_msgs/Shape\n\
00398 byte SPHERE=0\n\
00399 byte BOX=1\n\
00400 byte CYLINDER=2\n\
00401 byte MESH=3\n\
00402 \n\
00403 byte type\n\
00404 \n\
00405 \n\
00406 #### define sphere, box, cylinder ####\n\
00407 # the origin of each shape is considered at the shape's center\n\
00408 \n\
00409 # for sphere\n\
00410 # radius := dimensions[0]\n\
00411 \n\
00412 # for cylinder\n\
00413 # radius := dimensions[0]\n\
00414 # length := dimensions[1]\n\
00415 # the length is along the Z axis\n\
00416 \n\
00417 # for box\n\
00418 # size_x := dimensions[0]\n\
00419 # size_y := dimensions[1]\n\
00420 # size_z := dimensions[2]\n\
00421 float64[] dimensions\n\
00422 \n\
00423 \n\
00424 #### define mesh ####\n\
00425 \n\
00426 # list of triangles; triangle k is defined by tre vertices located\n\
00427 # at indices triangles[3k], triangles[3k+1], triangles[3k+2]\n\
00428 int32[] triangles\n\
00429 geometry_msgs/Point[] vertices\n\
00430 \n\
00431 ";
00432   }
00433 
00434   static const char* value(const  ::head_monitor_msgs::HeadMonitorAction_<ContainerAllocator> &) { return value(); } 
00435 };
00436 
00437 } // namespace message_traits
00438 } // namespace ros
00439 
00440 namespace ros
00441 {
00442 namespace serialization
00443 {
00444 
00445 template<class ContainerAllocator> struct Serializer< ::head_monitor_msgs::HeadMonitorAction_<ContainerAllocator> >
00446 {
00447   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00448   {
00449     stream.next(m.action_goal);
00450     stream.next(m.action_result);
00451     stream.next(m.action_feedback);
00452   }
00453 
00454   ROS_DECLARE_ALLINONE_SERIALIZER;
00455 }; // struct HeadMonitorAction_
00456 } // namespace serialization
00457 } // namespace ros
00458 
00459 namespace ros
00460 {
00461 namespace message_operations
00462 {
00463 
00464 template<class ContainerAllocator>
00465 struct Printer< ::head_monitor_msgs::HeadMonitorAction_<ContainerAllocator> >
00466 {
00467   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::head_monitor_msgs::HeadMonitorAction_<ContainerAllocator> & v) 
00468   {
00469     s << indent << "action_goal: ";
00470 s << std::endl;
00471     Printer< ::head_monitor_msgs::HeadMonitorActionGoal_<ContainerAllocator> >::stream(s, indent + "  ", v.action_goal);
00472     s << indent << "action_result: ";
00473 s << std::endl;
00474     Printer< ::head_monitor_msgs::HeadMonitorActionResult_<ContainerAllocator> >::stream(s, indent + "  ", v.action_result);
00475     s << indent << "action_feedback: ";
00476 s << std::endl;
00477     Printer< ::head_monitor_msgs::HeadMonitorActionFeedback_<ContainerAllocator> >::stream(s, indent + "  ", v.action_feedback);
00478   }
00479 };
00480 
00481 
00482 } // namespace message_operations
00483 } // namespace ros
00484 
00485 #endif // HEAD_MONITOR_MSGS_MESSAGE_HEADMONITORACTION_H
00486 


head_monitor_msgs
Author(s): Gil Jones
autogenerated on Fri Dec 6 2013 21:07:49