DoorState.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-alufr-ros-pkg/doc_stacks/2012-12-26_15-13-16.045312/dynamic_door_manipulation/door_perception_msgs/msg/DoorState.msg */
00002 #ifndef DOOR_PERCEPTION_MSGS_MESSAGE_DOORSTATE_H
00003 #define DOOR_PERCEPTION_MSGS_MESSAGE_DOORSTATE_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 
00019 namespace door_perception_msgs
00020 {
00021 template <class ContainerAllocator>
00022 struct DoorState_ {
00023   typedef DoorState_<ContainerAllocator> Type;
00024 
00025   DoorState_()
00026   : header()
00027   , door_found(false)
00028   , angle(0.0)
00029   {
00030   }
00031 
00032   DoorState_(const ContainerAllocator& _alloc)
00033   : header(_alloc)
00034   , door_found(false)
00035   , angle(0.0)
00036   {
00037   }
00038 
00039   typedef  ::std_msgs::Header_<ContainerAllocator>  _header_type;
00040    ::std_msgs::Header_<ContainerAllocator>  header;
00041 
00042   typedef uint8_t _door_found_type;
00043   uint8_t door_found;
00044 
00045   typedef double _angle_type;
00046   double angle;
00047 
00048   static const double DOOR_OPEN_ANGLE;
00049   static const double DOOR_CLOSED_ANGLE;
00050 
00051   typedef boost::shared_ptr< ::door_perception_msgs::DoorState_<ContainerAllocator> > Ptr;
00052   typedef boost::shared_ptr< ::door_perception_msgs::DoorState_<ContainerAllocator>  const> ConstPtr;
00053   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00054 }; // struct DoorState
00055 typedef  ::door_perception_msgs::DoorState_<std::allocator<void> > DoorState;
00056 
00057 typedef boost::shared_ptr< ::door_perception_msgs::DoorState> DoorStatePtr;
00058 typedef boost::shared_ptr< ::door_perception_msgs::DoorState const> DoorStateConstPtr;
00059 
00060 template<typename ContainerAllocator> const double DoorState_<ContainerAllocator>::DOOR_OPEN_ANGLE = 1.5708;
00061 template<typename ContainerAllocator> const double DoorState_<ContainerAllocator>::DOOR_CLOSED_ANGLE = 0.0;
00062 
00063 template<typename ContainerAllocator>
00064 std::ostream& operator<<(std::ostream& s, const  ::door_perception_msgs::DoorState_<ContainerAllocator> & v)
00065 {
00066   ros::message_operations::Printer< ::door_perception_msgs::DoorState_<ContainerAllocator> >::stream(s, "", v);
00067   return s;}
00068 
00069 } // namespace door_perception_msgs
00070 
00071 namespace ros
00072 {
00073 namespace message_traits
00074 {
00075 template<class ContainerAllocator> struct IsMessage< ::door_perception_msgs::DoorState_<ContainerAllocator> > : public TrueType {};
00076 template<class ContainerAllocator> struct IsMessage< ::door_perception_msgs::DoorState_<ContainerAllocator>  const> : public TrueType {};
00077 template<class ContainerAllocator>
00078 struct MD5Sum< ::door_perception_msgs::DoorState_<ContainerAllocator> > {
00079   static const char* value() 
00080   {
00081     return "a114a42d272474f60d055d9d646f2970";
00082   }
00083 
00084   static const char* value(const  ::door_perception_msgs::DoorState_<ContainerAllocator> &) { return value(); } 
00085   static const uint64_t static_value1 = 0xa114a42d272474f6ULL;
00086   static const uint64_t static_value2 = 0x0d055d9d646f2970ULL;
00087 };
00088 
00089 template<class ContainerAllocator>
00090 struct DataType< ::door_perception_msgs::DoorState_<ContainerAllocator> > {
00091   static const char* value() 
00092   {
00093     return "door_perception_msgs/DoorState";
00094   }
00095 
00096   static const char* value(const  ::door_perception_msgs::DoorState_<ContainerAllocator> &) { return value(); } 
00097 };
00098 
00099 template<class ContainerAllocator>
00100 struct Definition< ::door_perception_msgs::DoorState_<ContainerAllocator> > {
00101   static const char* value() 
00102   {
00103     return "Header header\n\
00104 #Door is considered latched at this angle\n\
00105 float64 DOOR_OPEN_ANGLE=1.5708\n\
00106 #Door is considered traversable at this angle (or above)\n\
00107 float64 DOOR_CLOSED_ANGLE=0.0\n\
00108 #Indicates whether a line could be fit to the sensor data\n\
00109 bool door_found\n\
00110 #Only meaningful if door_found is true\n\
00111 float64 angle\n\
00112 \n\
00113 \n\
00114 ================================================================================\n\
00115 MSG: std_msgs/Header\n\
00116 # Standard metadata for higher-level stamped data types.\n\
00117 # This is generally used to communicate timestamped data \n\
00118 # in a particular coordinate frame.\n\
00119 # \n\
00120 # sequence ID: consecutively increasing ID \n\
00121 uint32 seq\n\
00122 #Two-integer timestamp that is expressed as:\n\
00123 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00124 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00125 # time-handling sugar is provided by the client library\n\
00126 time stamp\n\
00127 #Frame this data is associated with\n\
00128 # 0: no frame\n\
00129 # 1: global frame\n\
00130 string frame_id\n\
00131 \n\
00132 ";
00133   }
00134 
00135   static const char* value(const  ::door_perception_msgs::DoorState_<ContainerAllocator> &) { return value(); } 
00136 };
00137 
00138 template<class ContainerAllocator> struct HasHeader< ::door_perception_msgs::DoorState_<ContainerAllocator> > : public TrueType {};
00139 template<class ContainerAllocator> struct HasHeader< const ::door_perception_msgs::DoorState_<ContainerAllocator> > : public TrueType {};
00140 } // namespace message_traits
00141 } // namespace ros
00142 
00143 namespace ros
00144 {
00145 namespace serialization
00146 {
00147 
00148 template<class ContainerAllocator> struct Serializer< ::door_perception_msgs::DoorState_<ContainerAllocator> >
00149 {
00150   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00151   {
00152     stream.next(m.header);
00153     stream.next(m.door_found);
00154     stream.next(m.angle);
00155   }
00156 
00157   ROS_DECLARE_ALLINONE_SERIALIZER;
00158 }; // struct DoorState_
00159 } // namespace serialization
00160 } // namespace ros
00161 
00162 namespace ros
00163 {
00164 namespace message_operations
00165 {
00166 
00167 template<class ContainerAllocator>
00168 struct Printer< ::door_perception_msgs::DoorState_<ContainerAllocator> >
00169 {
00170   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::door_perception_msgs::DoorState_<ContainerAllocator> & v) 
00171   {
00172     s << indent << "header: ";
00173 s << std::endl;
00174     Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + "  ", v.header);
00175     s << indent << "door_found: ";
00176     Printer<uint8_t>::stream(s, indent + "  ", v.door_found);
00177     s << indent << "angle: ";
00178     Printer<double>::stream(s, indent + "  ", v.angle);
00179   }
00180 };
00181 
00182 
00183 } // namespace message_operations
00184 } // namespace ros
00185 
00186 #endif // DOOR_PERCEPTION_MSGS_MESSAGE_DOORSTATE_H
00187 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends


door_perception_msgs
Author(s): Felix Endres
autogenerated on Wed Dec 26 2012 15:29:43