$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-arm_navigation_experimental/doc_stacks/2013-03-01_14-08-43.137802/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 private: 00052 static const char* __s_getDataType_() { return "head_monitor_msgs/HeadMonitorFeedback"; } 00053 public: 00054 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00055 00056 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00057 00058 private: 00059 static const char* __s_getMD5Sum_() { return "28369e3e74e07eaa07a53a310edb3d35"; } 00060 public: 00061 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00062 00063 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00064 00065 private: 00066 static const char* __s_getMessageDefinition_() { return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00067 arm_navigation_msgs/RobotState current_state\n\ 00068 arm_navigation_msgs/RobotState paused_trajectory_state\n\ 00069 arm_navigation_msgs/CollisionObject paused_collision_map\n\ 00070 \n\ 00071 \n\ 00072 \n\ 00073 ================================================================================\n\ 00074 MSG: arm_navigation_msgs/RobotState\n\ 00075 # This message contains information about the robot state, i.e. the positions of its joints and links\n\ 00076 sensor_msgs/JointState joint_state\n\ 00077 arm_navigation_msgs/MultiDOFJointState multi_dof_joint_state\n\ 00078 \n\ 00079 ================================================================================\n\ 00080 MSG: sensor_msgs/JointState\n\ 00081 # This is a message that holds data to describe the state of a set of torque controlled joints. \n\ 00082 #\n\ 00083 # The state of each joint (revolute or prismatic) is defined by:\n\ 00084 # * the position of the joint (rad or m),\n\ 00085 # * the velocity of the joint (rad/s or m/s) and \n\ 00086 # * the effort that is applied in the joint (Nm or N).\n\ 00087 #\n\ 00088 # Each joint is uniquely identified by its name\n\ 00089 # The header specifies the time at which the joint states were recorded. All the joint states\n\ 00090 # in one message have to be recorded at the same time.\n\ 00091 #\n\ 00092 # This message consists of a multiple arrays, one for each part of the joint state. \n\ 00093 # The goal is to make each of the fields optional. When e.g. your joints have no\n\ 00094 # effort associated with them, you can leave the effort array empty. \n\ 00095 #\n\ 00096 # All arrays in this message should have the same size, or be empty.\n\ 00097 # This is the only way to uniquely associate the joint name with the correct\n\ 00098 # states.\n\ 00099 \n\ 00100 \n\ 00101 Header header\n\ 00102 \n\ 00103 string[] name\n\ 00104 float64[] position\n\ 00105 float64[] velocity\n\ 00106 float64[] effort\n\ 00107 \n\ 00108 ================================================================================\n\ 00109 MSG: std_msgs/Header\n\ 00110 # Standard metadata for higher-level stamped data types.\n\ 00111 # This is generally used to communicate timestamped data \n\ 00112 # in a particular coordinate frame.\n\ 00113 # \n\ 00114 # sequence ID: consecutively increasing ID \n\ 00115 uint32 seq\n\ 00116 #Two-integer timestamp that is expressed as:\n\ 00117 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00118 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00119 # time-handling sugar is provided by the client library\n\ 00120 time stamp\n\ 00121 #Frame this data is associated with\n\ 00122 # 0: no frame\n\ 00123 # 1: global frame\n\ 00124 string frame_id\n\ 00125 \n\ 00126 ================================================================================\n\ 00127 MSG: arm_navigation_msgs/MultiDOFJointState\n\ 00128 #A representation of a multi-dof joint state\n\ 00129 time stamp\n\ 00130 string[] joint_names\n\ 00131 string[] frame_ids\n\ 00132 string[] child_frame_ids\n\ 00133 geometry_msgs/Pose[] poses\n\ 00134 \n\ 00135 ================================================================================\n\ 00136 MSG: geometry_msgs/Pose\n\ 00137 # A representation of pose in free space, composed of postion and orientation. \n\ 00138 Point position\n\ 00139 Quaternion orientation\n\ 00140 \n\ 00141 ================================================================================\n\ 00142 MSG: geometry_msgs/Point\n\ 00143 # This contains the position of a point in free space\n\ 00144 float64 x\n\ 00145 float64 y\n\ 00146 float64 z\n\ 00147 \n\ 00148 ================================================================================\n\ 00149 MSG: geometry_msgs/Quaternion\n\ 00150 # This represents an orientation in free space in quaternion form.\n\ 00151 \n\ 00152 float64 x\n\ 00153 float64 y\n\ 00154 float64 z\n\ 00155 float64 w\n\ 00156 \n\ 00157 ================================================================================\n\ 00158 MSG: arm_navigation_msgs/CollisionObject\n\ 00159 # a header, used for interpreting the poses\n\ 00160 Header header\n\ 00161 \n\ 00162 # the id of the object\n\ 00163 string id\n\ 00164 \n\ 00165 # The padding used for filtering points near the object.\n\ 00166 # This does not affect collision checking for the object. \n\ 00167 # Set to negative to get zero padding.\n\ 00168 float32 padding\n\ 00169 \n\ 00170 #This contains what is to be done with the object\n\ 00171 CollisionObjectOperation operation\n\ 00172 \n\ 00173 #the shapes associated with the object\n\ 00174 arm_navigation_msgs/Shape[] shapes\n\ 00175 \n\ 00176 #the poses associated with the shapes - will be transformed using the header\n\ 00177 geometry_msgs/Pose[] poses\n\ 00178 \n\ 00179 ================================================================================\n\ 00180 MSG: arm_navigation_msgs/CollisionObjectOperation\n\ 00181 #Puts the object into the environment\n\ 00182 #or updates the object if already added\n\ 00183 byte ADD=0\n\ 00184 \n\ 00185 #Removes the object from the environment entirely\n\ 00186 byte REMOVE=1\n\ 00187 \n\ 00188 #Only valid within the context of a CollisionAttachedObject message\n\ 00189 #Will be ignored if sent with an CollisionObject message\n\ 00190 #Takes an attached object, detaches from the attached link\n\ 00191 #But adds back in as regular object\n\ 00192 byte DETACH_AND_ADD_AS_OBJECT=2\n\ 00193 \n\ 00194 #Only valid within the context of a CollisionAttachedObject message\n\ 00195 #Will be ignored if sent with an CollisionObject message\n\ 00196 #Takes current object in the environment and removes it as\n\ 00197 #a regular object\n\ 00198 byte ATTACH_AND_REMOVE_AS_OBJECT=3\n\ 00199 \n\ 00200 # Byte code for operation\n\ 00201 byte operation\n\ 00202 \n\ 00203 ================================================================================\n\ 00204 MSG: arm_navigation_msgs/Shape\n\ 00205 byte SPHERE=0\n\ 00206 byte BOX=1\n\ 00207 byte CYLINDER=2\n\ 00208 byte MESH=3\n\ 00209 \n\ 00210 byte type\n\ 00211 \n\ 00212 \n\ 00213 #### define sphere, box, cylinder ####\n\ 00214 # the origin of each shape is considered at the shape's center\n\ 00215 \n\ 00216 # for sphere\n\ 00217 # radius := dimensions[0]\n\ 00218 \n\ 00219 # for cylinder\n\ 00220 # radius := dimensions[0]\n\ 00221 # length := dimensions[1]\n\ 00222 # the length is along the Z axis\n\ 00223 \n\ 00224 # for box\n\ 00225 # size_x := dimensions[0]\n\ 00226 # size_y := dimensions[1]\n\ 00227 # size_z := dimensions[2]\n\ 00228 float64[] dimensions\n\ 00229 \n\ 00230 \n\ 00231 #### define mesh ####\n\ 00232 \n\ 00233 # list of triangles; triangle k is defined by tre vertices located\n\ 00234 # at indices triangles[3k], triangles[3k+1], triangles[3k+2]\n\ 00235 int32[] triangles\n\ 00236 geometry_msgs/Point[] vertices\n\ 00237 \n\ 00238 "; } 00239 public: 00240 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00241 00242 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00243 00244 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00245 { 00246 ros::serialization::OStream stream(write_ptr, 1000000000); 00247 ros::serialization::serialize(stream, current_state); 00248 ros::serialization::serialize(stream, paused_trajectory_state); 00249 ros::serialization::serialize(stream, paused_collision_map); 00250 return stream.getData(); 00251 } 00252 00253 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00254 { 00255 ros::serialization::IStream stream(read_ptr, 1000000000); 00256 ros::serialization::deserialize(stream, current_state); 00257 ros::serialization::deserialize(stream, paused_trajectory_state); 00258 ros::serialization::deserialize(stream, paused_collision_map); 00259 return stream.getData(); 00260 } 00261 00262 ROS_DEPRECATED virtual uint32_t serializationLength() const 00263 { 00264 uint32_t size = 0; 00265 size += ros::serialization::serializationLength(current_state); 00266 size += ros::serialization::serializationLength(paused_trajectory_state); 00267 size += ros::serialization::serializationLength(paused_collision_map); 00268 return size; 00269 } 00270 00271 typedef boost::shared_ptr< ::head_monitor_msgs::HeadMonitorFeedback_<ContainerAllocator> > Ptr; 00272 typedef boost::shared_ptr< ::head_monitor_msgs::HeadMonitorFeedback_<ContainerAllocator> const> ConstPtr; 00273 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00274 }; // struct HeadMonitorFeedback 00275 typedef ::head_monitor_msgs::HeadMonitorFeedback_<std::allocator<void> > HeadMonitorFeedback; 00276 00277 typedef boost::shared_ptr< ::head_monitor_msgs::HeadMonitorFeedback> HeadMonitorFeedbackPtr; 00278 typedef boost::shared_ptr< ::head_monitor_msgs::HeadMonitorFeedback const> HeadMonitorFeedbackConstPtr; 00279 00280 00281 template<typename ContainerAllocator> 00282 std::ostream& operator<<(std::ostream& s, const ::head_monitor_msgs::HeadMonitorFeedback_<ContainerAllocator> & v) 00283 { 00284 ros::message_operations::Printer< ::head_monitor_msgs::HeadMonitorFeedback_<ContainerAllocator> >::stream(s, "", v); 00285 return s;} 00286 00287 } // namespace head_monitor_msgs 00288 00289 namespace ros 00290 { 00291 namespace message_traits 00292 { 00293 template<class ContainerAllocator> struct IsMessage< ::head_monitor_msgs::HeadMonitorFeedback_<ContainerAllocator> > : public TrueType {}; 00294 template<class ContainerAllocator> struct IsMessage< ::head_monitor_msgs::HeadMonitorFeedback_<ContainerAllocator> const> : public TrueType {}; 00295 template<class ContainerAllocator> 00296 struct MD5Sum< ::head_monitor_msgs::HeadMonitorFeedback_<ContainerAllocator> > { 00297 static const char* value() 00298 { 00299 return "28369e3e74e07eaa07a53a310edb3d35"; 00300 } 00301 00302 static const char* value(const ::head_monitor_msgs::HeadMonitorFeedback_<ContainerAllocator> &) { return value(); } 00303 static const uint64_t static_value1 = 0x28369e3e74e07eaaULL; 00304 static const uint64_t static_value2 = 0x07a53a310edb3d35ULL; 00305 }; 00306 00307 template<class ContainerAllocator> 00308 struct DataType< ::head_monitor_msgs::HeadMonitorFeedback_<ContainerAllocator> > { 00309 static const char* value() 00310 { 00311 return "head_monitor_msgs/HeadMonitorFeedback"; 00312 } 00313 00314 static const char* value(const ::head_monitor_msgs::HeadMonitorFeedback_<ContainerAllocator> &) { return value(); } 00315 }; 00316 00317 template<class ContainerAllocator> 00318 struct Definition< ::head_monitor_msgs::HeadMonitorFeedback_<ContainerAllocator> > { 00319 static const char* value() 00320 { 00321 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00322 arm_navigation_msgs/RobotState current_state\n\ 00323 arm_navigation_msgs/RobotState paused_trajectory_state\n\ 00324 arm_navigation_msgs/CollisionObject paused_collision_map\n\ 00325 \n\ 00326 \n\ 00327 \n\ 00328 ================================================================================\n\ 00329 MSG: arm_navigation_msgs/RobotState\n\ 00330 # This message contains information about the robot state, i.e. the positions of its joints and links\n\ 00331 sensor_msgs/JointState joint_state\n\ 00332 arm_navigation_msgs/MultiDOFJointState multi_dof_joint_state\n\ 00333 \n\ 00334 ================================================================================\n\ 00335 MSG: sensor_msgs/JointState\n\ 00336 # This is a message that holds data to describe the state of a set of torque controlled joints. \n\ 00337 #\n\ 00338 # The state of each joint (revolute or prismatic) is defined by:\n\ 00339 # * the position of the joint (rad or m),\n\ 00340 # * the velocity of the joint (rad/s or m/s) and \n\ 00341 # * the effort that is applied in the joint (Nm or N).\n\ 00342 #\n\ 00343 # Each joint is uniquely identified by its name\n\ 00344 # The header specifies the time at which the joint states were recorded. All the joint states\n\ 00345 # in one message have to be recorded at the same time.\n\ 00346 #\n\ 00347 # This message consists of a multiple arrays, one for each part of the joint state. \n\ 00348 # The goal is to make each of the fields optional. When e.g. your joints have no\n\ 00349 # effort associated with them, you can leave the effort array empty. \n\ 00350 #\n\ 00351 # All arrays in this message should have the same size, or be empty.\n\ 00352 # This is the only way to uniquely associate the joint name with the correct\n\ 00353 # states.\n\ 00354 \n\ 00355 \n\ 00356 Header header\n\ 00357 \n\ 00358 string[] name\n\ 00359 float64[] position\n\ 00360 float64[] velocity\n\ 00361 float64[] effort\n\ 00362 \n\ 00363 ================================================================================\n\ 00364 MSG: std_msgs/Header\n\ 00365 # Standard metadata for higher-level stamped data types.\n\ 00366 # This is generally used to communicate timestamped data \n\ 00367 # in a particular coordinate frame.\n\ 00368 # \n\ 00369 # sequence ID: consecutively increasing ID \n\ 00370 uint32 seq\n\ 00371 #Two-integer timestamp that is expressed as:\n\ 00372 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00373 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00374 # time-handling sugar is provided by the client library\n\ 00375 time stamp\n\ 00376 #Frame this data is associated with\n\ 00377 # 0: no frame\n\ 00378 # 1: global frame\n\ 00379 string frame_id\n\ 00380 \n\ 00381 ================================================================================\n\ 00382 MSG: arm_navigation_msgs/MultiDOFJointState\n\ 00383 #A representation of a multi-dof joint state\n\ 00384 time stamp\n\ 00385 string[] joint_names\n\ 00386 string[] frame_ids\n\ 00387 string[] child_frame_ids\n\ 00388 geometry_msgs/Pose[] poses\n\ 00389 \n\ 00390 ================================================================================\n\ 00391 MSG: geometry_msgs/Pose\n\ 00392 # A representation of pose in free space, composed of postion and orientation. \n\ 00393 Point position\n\ 00394 Quaternion orientation\n\ 00395 \n\ 00396 ================================================================================\n\ 00397 MSG: geometry_msgs/Point\n\ 00398 # This contains the position of a point in free space\n\ 00399 float64 x\n\ 00400 float64 y\n\ 00401 float64 z\n\ 00402 \n\ 00403 ================================================================================\n\ 00404 MSG: geometry_msgs/Quaternion\n\ 00405 # This represents an orientation in free space in quaternion form.\n\ 00406 \n\ 00407 float64 x\n\ 00408 float64 y\n\ 00409 float64 z\n\ 00410 float64 w\n\ 00411 \n\ 00412 ================================================================================\n\ 00413 MSG: arm_navigation_msgs/CollisionObject\n\ 00414 # a header, used for interpreting the poses\n\ 00415 Header header\n\ 00416 \n\ 00417 # the id of the object\n\ 00418 string id\n\ 00419 \n\ 00420 # The padding used for filtering points near the object.\n\ 00421 # This does not affect collision checking for the object. \n\ 00422 # Set to negative to get zero padding.\n\ 00423 float32 padding\n\ 00424 \n\ 00425 #This contains what is to be done with the object\n\ 00426 CollisionObjectOperation operation\n\ 00427 \n\ 00428 #the shapes associated with the object\n\ 00429 arm_navigation_msgs/Shape[] shapes\n\ 00430 \n\ 00431 #the poses associated with the shapes - will be transformed using the header\n\ 00432 geometry_msgs/Pose[] poses\n\ 00433 \n\ 00434 ================================================================================\n\ 00435 MSG: arm_navigation_msgs/CollisionObjectOperation\n\ 00436 #Puts the object into the environment\n\ 00437 #or updates the object if already added\n\ 00438 byte ADD=0\n\ 00439 \n\ 00440 #Removes the object from the environment entirely\n\ 00441 byte REMOVE=1\n\ 00442 \n\ 00443 #Only valid within the context of a CollisionAttachedObject message\n\ 00444 #Will be ignored if sent with an CollisionObject message\n\ 00445 #Takes an attached object, detaches from the attached link\n\ 00446 #But adds back in as regular object\n\ 00447 byte DETACH_AND_ADD_AS_OBJECT=2\n\ 00448 \n\ 00449 #Only valid within the context of a CollisionAttachedObject message\n\ 00450 #Will be ignored if sent with an CollisionObject message\n\ 00451 #Takes current object in the environment and removes it as\n\ 00452 #a regular object\n\ 00453 byte ATTACH_AND_REMOVE_AS_OBJECT=3\n\ 00454 \n\ 00455 # Byte code for operation\n\ 00456 byte operation\n\ 00457 \n\ 00458 ================================================================================\n\ 00459 MSG: arm_navigation_msgs/Shape\n\ 00460 byte SPHERE=0\n\ 00461 byte BOX=1\n\ 00462 byte CYLINDER=2\n\ 00463 byte MESH=3\n\ 00464 \n\ 00465 byte type\n\ 00466 \n\ 00467 \n\ 00468 #### define sphere, box, cylinder ####\n\ 00469 # the origin of each shape is considered at the shape's center\n\ 00470 \n\ 00471 # for sphere\n\ 00472 # radius := dimensions[0]\n\ 00473 \n\ 00474 # for cylinder\n\ 00475 # radius := dimensions[0]\n\ 00476 # length := dimensions[1]\n\ 00477 # the length is along the Z axis\n\ 00478 \n\ 00479 # for box\n\ 00480 # size_x := dimensions[0]\n\ 00481 # size_y := dimensions[1]\n\ 00482 # size_z := dimensions[2]\n\ 00483 float64[] dimensions\n\ 00484 \n\ 00485 \n\ 00486 #### define mesh ####\n\ 00487 \n\ 00488 # list of triangles; triangle k is defined by tre vertices located\n\ 00489 # at indices triangles[3k], triangles[3k+1], triangles[3k+2]\n\ 00490 int32[] triangles\n\ 00491 geometry_msgs/Point[] vertices\n\ 00492 \n\ 00493 "; 00494 } 00495 00496 static const char* value(const ::head_monitor_msgs::HeadMonitorFeedback_<ContainerAllocator> &) { return value(); } 00497 }; 00498 00499 } // namespace message_traits 00500 } // namespace ros 00501 00502 namespace ros 00503 { 00504 namespace serialization 00505 { 00506 00507 template<class ContainerAllocator> struct Serializer< ::head_monitor_msgs::HeadMonitorFeedback_<ContainerAllocator> > 00508 { 00509 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00510 { 00511 stream.next(m.current_state); 00512 stream.next(m.paused_trajectory_state); 00513 stream.next(m.paused_collision_map); 00514 } 00515 00516 ROS_DECLARE_ALLINONE_SERIALIZER; 00517 }; // struct HeadMonitorFeedback_ 00518 } // namespace serialization 00519 } // namespace ros 00520 00521 namespace ros 00522 { 00523 namespace message_operations 00524 { 00525 00526 template<class ContainerAllocator> 00527 struct Printer< ::head_monitor_msgs::HeadMonitorFeedback_<ContainerAllocator> > 00528 { 00529 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::head_monitor_msgs::HeadMonitorFeedback_<ContainerAllocator> & v) 00530 { 00531 s << indent << "current_state: "; 00532 s << std::endl; 00533 Printer< ::arm_navigation_msgs::RobotState_<ContainerAllocator> >::stream(s, indent + " ", v.current_state); 00534 s << indent << "paused_trajectory_state: "; 00535 s << std::endl; 00536 Printer< ::arm_navigation_msgs::RobotState_<ContainerAllocator> >::stream(s, indent + " ", v.paused_trajectory_state); 00537 s << indent << "paused_collision_map: "; 00538 s << std::endl; 00539 Printer< ::arm_navigation_msgs::CollisionObject_<ContainerAllocator> >::stream(s, indent + " ", v.paused_collision_map); 00540 } 00541 }; 00542 00543 00544 } // namespace message_operations 00545 } // namespace ros 00546 00547 #endif // HEAD_MONITOR_MSGS_MESSAGE_HEADMONITORFEEDBACK_H 00548