HeadMonitorFeedback.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/HeadMonitorFeedback.msg */
00002 #ifndef HEAD_MONITOR_MSGS_MESSAGE_HEADMONITORFEEDBACK_H
00003 #define HEAD_MONITOR_MSGS_MESSAGE_HEADMONITORFEEDBACK_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 "arm_navigation_msgs/RobotState.h"
00018 #include "arm_navigation_msgs/RobotState.h"
00019 #include "arm_navigation_msgs/CollisionObject.h"
00020 
00021 namespace head_monitor_msgs
00022 {
00023 template <class ContainerAllocator>
00024 struct HeadMonitorFeedback_ {
00025   typedef HeadMonitorFeedback_<ContainerAllocator> Type;
00026 
00027   HeadMonitorFeedback_()
00028   : current_state()
00029   , paused_trajectory_state()
00030   , paused_collision_map()
00031   {
00032   }
00033 
00034   HeadMonitorFeedback_(const ContainerAllocator& _alloc)
00035   : current_state(_alloc)
00036   , paused_trajectory_state(_alloc)
00037   , paused_collision_map(_alloc)
00038   {
00039   }
00040 
00041   typedef  ::arm_navigation_msgs::RobotState_<ContainerAllocator>  _current_state_type;
00042    ::arm_navigation_msgs::RobotState_<ContainerAllocator>  current_state;
00043 
00044   typedef  ::arm_navigation_msgs::RobotState_<ContainerAllocator>  _paused_trajectory_state_type;
00045    ::arm_navigation_msgs::RobotState_<ContainerAllocator>  paused_trajectory_state;
00046 
00047   typedef  ::arm_navigation_msgs::CollisionObject_<ContainerAllocator>  _paused_collision_map_type;
00048    ::arm_navigation_msgs::CollisionObject_<ContainerAllocator>  paused_collision_map;
00049 
00050 
00051   typedef boost::shared_ptr< ::head_monitor_msgs::HeadMonitorFeedback_<ContainerAllocator> > Ptr;
00052   typedef boost::shared_ptr< ::head_monitor_msgs::HeadMonitorFeedback_<ContainerAllocator>  const> ConstPtr;
00053   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00054 }; // struct HeadMonitorFeedback
00055 typedef  ::head_monitor_msgs::HeadMonitorFeedback_<std::allocator<void> > HeadMonitorFeedback;
00056 
00057 typedef boost::shared_ptr< ::head_monitor_msgs::HeadMonitorFeedback> HeadMonitorFeedbackPtr;
00058 typedef boost::shared_ptr< ::head_monitor_msgs::HeadMonitorFeedback const> HeadMonitorFeedbackConstPtr;
00059 
00060 
00061 template<typename ContainerAllocator>
00062 std::ostream& operator<<(std::ostream& s, const  ::head_monitor_msgs::HeadMonitorFeedback_<ContainerAllocator> & v)
00063 {
00064   ros::message_operations::Printer< ::head_monitor_msgs::HeadMonitorFeedback_<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::HeadMonitorFeedback_<ContainerAllocator> > : public TrueType {};
00074 template<class ContainerAllocator> struct IsMessage< ::head_monitor_msgs::HeadMonitorFeedback_<ContainerAllocator>  const> : public TrueType {};
00075 template<class ContainerAllocator>
00076 struct MD5Sum< ::head_monitor_msgs::HeadMonitorFeedback_<ContainerAllocator> > {
00077   static const char* value() 
00078   {
00079     return "28369e3e74e07eaa07a53a310edb3d35";
00080   }
00081 
00082   static const char* value(const  ::head_monitor_msgs::HeadMonitorFeedback_<ContainerAllocator> &) { return value(); } 
00083   static const uint64_t static_value1 = 0x28369e3e74e07eaaULL;
00084   static const uint64_t static_value2 = 0x07a53a310edb3d35ULL;
00085 };
00086 
00087 template<class ContainerAllocator>
00088 struct DataType< ::head_monitor_msgs::HeadMonitorFeedback_<ContainerAllocator> > {
00089   static const char* value() 
00090   {
00091     return "head_monitor_msgs/HeadMonitorFeedback";
00092   }
00093 
00094   static const char* value(const  ::head_monitor_msgs::HeadMonitorFeedback_<ContainerAllocator> &) { return value(); } 
00095 };
00096 
00097 template<class ContainerAllocator>
00098 struct Definition< ::head_monitor_msgs::HeadMonitorFeedback_<ContainerAllocator> > {
00099   static const char* value() 
00100   {
00101     return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00102 arm_navigation_msgs/RobotState current_state\n\
00103 arm_navigation_msgs/RobotState paused_trajectory_state\n\
00104 arm_navigation_msgs/CollisionObject paused_collision_map\n\
00105 \n\
00106 \n\
00107 \n\
00108 ================================================================================\n\
00109 MSG: arm_navigation_msgs/RobotState\n\
00110 # This message contains information about the robot state, i.e. the positions of its joints and links\n\
00111 sensor_msgs/JointState joint_state\n\
00112 arm_navigation_msgs/MultiDOFJointState multi_dof_joint_state\n\
00113 \n\
00114 ================================================================================\n\
00115 MSG: sensor_msgs/JointState\n\
00116 # This is a message that holds data to describe the state of a set of torque controlled joints. \n\
00117 #\n\
00118 # The state of each joint (revolute or prismatic) is defined by:\n\
00119 #  * the position of the joint (rad or m),\n\
00120 #  * the velocity of the joint (rad/s or m/s) and \n\
00121 #  * the effort that is applied in the joint (Nm or N).\n\
00122 #\n\
00123 # Each joint is uniquely identified by its name\n\
00124 # The header specifies the time at which the joint states were recorded. All the joint states\n\
00125 # in one message have to be recorded at the same time.\n\
00126 #\n\
00127 # This message consists of a multiple arrays, one for each part of the joint state. \n\
00128 # The goal is to make each of the fields optional. When e.g. your joints have no\n\
00129 # effort associated with them, you can leave the effort array empty. \n\
00130 #\n\
00131 # All arrays in this message should have the same size, or be empty.\n\
00132 # This is the only way to uniquely associate the joint name with the correct\n\
00133 # states.\n\
00134 \n\
00135 \n\
00136 Header header\n\
00137 \n\
00138 string[] name\n\
00139 float64[] position\n\
00140 float64[] velocity\n\
00141 float64[] effort\n\
00142 \n\
00143 ================================================================================\n\
00144 MSG: std_msgs/Header\n\
00145 # Standard metadata for higher-level stamped data types.\n\
00146 # This is generally used to communicate timestamped data \n\
00147 # in a particular coordinate frame.\n\
00148 # \n\
00149 # sequence ID: consecutively increasing ID \n\
00150 uint32 seq\n\
00151 #Two-integer timestamp that is expressed as:\n\
00152 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00153 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00154 # time-handling sugar is provided by the client library\n\
00155 time stamp\n\
00156 #Frame this data is associated with\n\
00157 # 0: no frame\n\
00158 # 1: global frame\n\
00159 string frame_id\n\
00160 \n\
00161 ================================================================================\n\
00162 MSG: arm_navigation_msgs/MultiDOFJointState\n\
00163 #A representation of a multi-dof joint state\n\
00164 time stamp\n\
00165 string[] joint_names\n\
00166 string[] frame_ids\n\
00167 string[] child_frame_ids\n\
00168 geometry_msgs/Pose[] poses\n\
00169 \n\
00170 ================================================================================\n\
00171 MSG: geometry_msgs/Pose\n\
00172 # A representation of pose in free space, composed of postion and orientation. \n\
00173 Point position\n\
00174 Quaternion orientation\n\
00175 \n\
00176 ================================================================================\n\
00177 MSG: geometry_msgs/Point\n\
00178 # This contains the position of a point in free space\n\
00179 float64 x\n\
00180 float64 y\n\
00181 float64 z\n\
00182 \n\
00183 ================================================================================\n\
00184 MSG: geometry_msgs/Quaternion\n\
00185 # This represents an orientation in free space in quaternion form.\n\
00186 \n\
00187 float64 x\n\
00188 float64 y\n\
00189 float64 z\n\
00190 float64 w\n\
00191 \n\
00192 ================================================================================\n\
00193 MSG: arm_navigation_msgs/CollisionObject\n\
00194 # a header, used for interpreting the poses\n\
00195 Header header\n\
00196 \n\
00197 # the id of the object\n\
00198 string id\n\
00199 \n\
00200 # The padding used for filtering points near the object.\n\
00201 # This does not affect collision checking for the object.  \n\
00202 # Set to negative to get zero padding.\n\
00203 float32 padding\n\
00204 \n\
00205 #This contains what is to be done with the object\n\
00206 CollisionObjectOperation operation\n\
00207 \n\
00208 #the shapes associated with the object\n\
00209 arm_navigation_msgs/Shape[] shapes\n\
00210 \n\
00211 #the poses associated with the shapes - will be transformed using the header\n\
00212 geometry_msgs/Pose[] poses\n\
00213 \n\
00214 ================================================================================\n\
00215 MSG: arm_navigation_msgs/CollisionObjectOperation\n\
00216 #Puts the object into the environment\n\
00217 #or updates the object if already added\n\
00218 byte ADD=0\n\
00219 \n\
00220 #Removes the object from the environment entirely\n\
00221 byte REMOVE=1\n\
00222 \n\
00223 #Only valid within the context of a CollisionAttachedObject message\n\
00224 #Will be ignored if sent with an CollisionObject message\n\
00225 #Takes an attached object, detaches from the attached link\n\
00226 #But adds back in as regular object\n\
00227 byte DETACH_AND_ADD_AS_OBJECT=2\n\
00228 \n\
00229 #Only valid within the context of a CollisionAttachedObject message\n\
00230 #Will be ignored if sent with an CollisionObject message\n\
00231 #Takes current object in the environment and removes it as\n\
00232 #a regular object\n\
00233 byte ATTACH_AND_REMOVE_AS_OBJECT=3\n\
00234 \n\
00235 # Byte code for operation\n\
00236 byte operation\n\
00237 \n\
00238 ================================================================================\n\
00239 MSG: arm_navigation_msgs/Shape\n\
00240 byte SPHERE=0\n\
00241 byte BOX=1\n\
00242 byte CYLINDER=2\n\
00243 byte MESH=3\n\
00244 \n\
00245 byte type\n\
00246 \n\
00247 \n\
00248 #### define sphere, box, cylinder ####\n\
00249 # the origin of each shape is considered at the shape's center\n\
00250 \n\
00251 # for sphere\n\
00252 # radius := dimensions[0]\n\
00253 \n\
00254 # for cylinder\n\
00255 # radius := dimensions[0]\n\
00256 # length := dimensions[1]\n\
00257 # the length is along the Z axis\n\
00258 \n\
00259 # for box\n\
00260 # size_x := dimensions[0]\n\
00261 # size_y := dimensions[1]\n\
00262 # size_z := dimensions[2]\n\
00263 float64[] dimensions\n\
00264 \n\
00265 \n\
00266 #### define mesh ####\n\
00267 \n\
00268 # list of triangles; triangle k is defined by tre vertices located\n\
00269 # at indices triangles[3k], triangles[3k+1], triangles[3k+2]\n\
00270 int32[] triangles\n\
00271 geometry_msgs/Point[] vertices\n\
00272 \n\
00273 ";
00274   }
00275 
00276   static const char* value(const  ::head_monitor_msgs::HeadMonitorFeedback_<ContainerAllocator> &) { return value(); } 
00277 };
00278 
00279 } // namespace message_traits
00280 } // namespace ros
00281 
00282 namespace ros
00283 {
00284 namespace serialization
00285 {
00286 
00287 template<class ContainerAllocator> struct Serializer< ::head_monitor_msgs::HeadMonitorFeedback_<ContainerAllocator> >
00288 {
00289   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00290   {
00291     stream.next(m.current_state);
00292     stream.next(m.paused_trajectory_state);
00293     stream.next(m.paused_collision_map);
00294   }
00295 
00296   ROS_DECLARE_ALLINONE_SERIALIZER;
00297 }; // struct HeadMonitorFeedback_
00298 } // namespace serialization
00299 } // namespace ros
00300 
00301 namespace ros
00302 {
00303 namespace message_operations
00304 {
00305 
00306 template<class ContainerAllocator>
00307 struct Printer< ::head_monitor_msgs::HeadMonitorFeedback_<ContainerAllocator> >
00308 {
00309   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::head_monitor_msgs::HeadMonitorFeedback_<ContainerAllocator> & v) 
00310   {
00311     s << indent << "current_state: ";
00312 s << std::endl;
00313     Printer< ::arm_navigation_msgs::RobotState_<ContainerAllocator> >::stream(s, indent + "  ", v.current_state);
00314     s << indent << "paused_trajectory_state: ";
00315 s << std::endl;
00316     Printer< ::arm_navigation_msgs::RobotState_<ContainerAllocator> >::stream(s, indent + "  ", v.paused_trajectory_state);
00317     s << indent << "paused_collision_map: ";
00318 s << std::endl;
00319     Printer< ::arm_navigation_msgs::CollisionObject_<ContainerAllocator> >::stream(s, indent + "  ", v.paused_collision_map);
00320   }
00321 };
00322 
00323 
00324 } // namespace message_operations
00325 } // namespace ros
00326 
00327 #endif // HEAD_MONITOR_MSGS_MESSAGE_HEADMONITORFEEDBACK_H
00328 


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