Go to the documentation of this file.00001
00002 #ifndef DOOR_MSGS_MESSAGE_DOORGOAL_H
00003 #define DOOR_MSGS_MESSAGE_DOORGOAL_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 "door_msgs/Door.h"
00018
00019 namespace door_msgs
00020 {
00021 template <class ContainerAllocator>
00022 struct DoorGoal_ {
00023 typedef DoorGoal_<ContainerAllocator> Type;
00024
00025 DoorGoal_()
00026 : door()
00027 {
00028 }
00029
00030 DoorGoal_(const ContainerAllocator& _alloc)
00031 : door(_alloc)
00032 {
00033 }
00034
00035 typedef ::door_msgs::Door_<ContainerAllocator> _door_type;
00036 ::door_msgs::Door_<ContainerAllocator> door;
00037
00038
00039 typedef boost::shared_ptr< ::door_msgs::DoorGoal_<ContainerAllocator> > Ptr;
00040 typedef boost::shared_ptr< ::door_msgs::DoorGoal_<ContainerAllocator> const> ConstPtr;
00041 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00042 };
00043 typedef ::door_msgs::DoorGoal_<std::allocator<void> > DoorGoal;
00044
00045 typedef boost::shared_ptr< ::door_msgs::DoorGoal> DoorGoalPtr;
00046 typedef boost::shared_ptr< ::door_msgs::DoorGoal const> DoorGoalConstPtr;
00047
00048
00049 template<typename ContainerAllocator>
00050 std::ostream& operator<<(std::ostream& s, const ::door_msgs::DoorGoal_<ContainerAllocator> & v)
00051 {
00052 ros::message_operations::Printer< ::door_msgs::DoorGoal_<ContainerAllocator> >::stream(s, "", v);
00053 return s;}
00054
00055 }
00056
00057 namespace ros
00058 {
00059 namespace message_traits
00060 {
00061 template<class ContainerAllocator> struct IsMessage< ::door_msgs::DoorGoal_<ContainerAllocator> > : public TrueType {};
00062 template<class ContainerAllocator> struct IsMessage< ::door_msgs::DoorGoal_<ContainerAllocator> const> : public TrueType {};
00063 template<class ContainerAllocator>
00064 struct MD5Sum< ::door_msgs::DoorGoal_<ContainerAllocator> > {
00065 static const char* value()
00066 {
00067 return "72afb754afb6ff619fa1a692675498c0";
00068 }
00069
00070 static const char* value(const ::door_msgs::DoorGoal_<ContainerAllocator> &) { return value(); }
00071 static const uint64_t static_value1 = 0x72afb754afb6ff61ULL;
00072 static const uint64_t static_value2 = 0x9fa1a692675498c0ULL;
00073 };
00074
00075 template<class ContainerAllocator>
00076 struct DataType< ::door_msgs::DoorGoal_<ContainerAllocator> > {
00077 static const char* value()
00078 {
00079 return "door_msgs/DoorGoal";
00080 }
00081
00082 static const char* value(const ::door_msgs::DoorGoal_<ContainerAllocator> &) { return value(); }
00083 };
00084
00085 template<class ContainerAllocator>
00086 struct Definition< ::door_msgs::DoorGoal_<ContainerAllocator> > {
00087 static const char* value()
00088 {
00089 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00090 # goal\n\
00091 door_msgs/Door door\n\
00092 \n\
00093 ================================================================================\n\
00094 MSG: door_msgs/Door\n\
00095 Header header\n\
00096 geometry_msgs/Point32 frame_p1 ## position of the door frame\n\
00097 geometry_msgs/Point32 frame_p2 ## position of the door frame\n\
00098 geometry_msgs/Point32 door_p1 ## Ground plane projection of a point on the plane of the door \n\
00099 geometry_msgs/Point32 door_p2 ## Ground plane projection of a point on the plane of the door\n\
00100 geometry_msgs/Point32 handle ## Position of the door handle\n\
00101 float32 height ## Height of the door\n\
00102 \n\
00103 int32 UNKNOWN=0\n\
00104 \n\
00105 int32 HINGE_P1=1\n\
00106 int32 HINGE_P2=2\n\
00107 int32 hinge \n\
00108 \n\
00109 int32 ROT_DIR_CLOCKWISE=1\n\
00110 int32 ROT_DIR_COUNTERCLOCKWISE=2\n\
00111 int32 rot_dir \n\
00112 \n\
00113 int32 LOCKED=1\n\
00114 int32 LATCHED=2\n\
00115 int32 UNLATCHED=3\n\
00116 int32 latch_state \n\
00117 \n\
00118 geometry_msgs/Vector3 travel_dir ## vector pointing in the direction the robot is going to travel through the door\n\
00119 float32 weight ## @Sachin: what do we use this for?\n\
00120 \n\
00121 \n\
00122 \n\
00123 ================================================================================\n\
00124 MSG: std_msgs/Header\n\
00125 # Standard metadata for higher-level stamped data types.\n\
00126 # This is generally used to communicate timestamped data \n\
00127 # in a particular coordinate frame.\n\
00128 # \n\
00129 # sequence ID: consecutively increasing ID \n\
00130 uint32 seq\n\
00131 #Two-integer timestamp that is expressed as:\n\
00132 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00133 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00134 # time-handling sugar is provided by the client library\n\
00135 time stamp\n\
00136 #Frame this data is associated with\n\
00137 # 0: no frame\n\
00138 # 1: global frame\n\
00139 string frame_id\n\
00140 \n\
00141 ================================================================================\n\
00142 MSG: geometry_msgs/Point32\n\
00143 # This contains the position of a point in free space(with 32 bits of precision).\n\
00144 # It is recommeded to use Point wherever possible instead of Point32. \n\
00145 # \n\
00146 # This recommendation is to promote interoperability. \n\
00147 #\n\
00148 # This message is designed to take up less space when sending\n\
00149 # lots of points at once, as in the case of a PointCloud. \n\
00150 \n\
00151 float32 x\n\
00152 float32 y\n\
00153 float32 z\n\
00154 ================================================================================\n\
00155 MSG: geometry_msgs/Vector3\n\
00156 # This represents a vector in free space. \n\
00157 \n\
00158 float64 x\n\
00159 float64 y\n\
00160 float64 z\n\
00161 ";
00162 }
00163
00164 static const char* value(const ::door_msgs::DoorGoal_<ContainerAllocator> &) { return value(); }
00165 };
00166
00167 }
00168 }
00169
00170 namespace ros
00171 {
00172 namespace serialization
00173 {
00174
00175 template<class ContainerAllocator> struct Serializer< ::door_msgs::DoorGoal_<ContainerAllocator> >
00176 {
00177 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00178 {
00179 stream.next(m.door);
00180 }
00181
00182 ROS_DECLARE_ALLINONE_SERIALIZER;
00183 };
00184 }
00185 }
00186
00187 namespace ros
00188 {
00189 namespace message_operations
00190 {
00191
00192 template<class ContainerAllocator>
00193 struct Printer< ::door_msgs::DoorGoal_<ContainerAllocator> >
00194 {
00195 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::door_msgs::DoorGoal_<ContainerAllocator> & v)
00196 {
00197 s << indent << "door: ";
00198 s << std::endl;
00199 Printer< ::door_msgs::Door_<ContainerAllocator> >::stream(s, indent + " ", v.door);
00200 }
00201 };
00202
00203
00204 }
00205 }
00206
00207 #endif // DOOR_MSGS_MESSAGE_DOORGOAL_H
00208