Go to the documentation of this file.00001
00002 #ifndef ASCTEC_HL_COMM_MESSAGE_WAYPOINTGOAL_H
00003 #define ASCTEC_HL_COMM_MESSAGE_WAYPOINTGOAL_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 #include "geometry_msgs/Point32.h"
00019 #include "geometry_msgs/Point32.h"
00020
00021 namespace asctec_hl_comm
00022 {
00023 template <class ContainerAllocator>
00024 struct WaypointGoal_ {
00025 typedef WaypointGoal_<ContainerAllocator> Type;
00026
00027 WaypointGoal_()
00028 : header()
00029 , goal_pos()
00030 , goal_yaw(0.0)
00031 , max_speed()
00032 , accuracy_position(0.0)
00033 , accuracy_orientation(0.0)
00034 , timeout(0.0)
00035 {
00036 }
00037
00038 WaypointGoal_(const ContainerAllocator& _alloc)
00039 : header(_alloc)
00040 , goal_pos(_alloc)
00041 , goal_yaw(0.0)
00042 , max_speed(_alloc)
00043 , accuracy_position(0.0)
00044 , accuracy_orientation(0.0)
00045 , timeout(0.0)
00046 {
00047 }
00048
00049 typedef ::std_msgs::Header_<ContainerAllocator> _header_type;
00050 ::std_msgs::Header_<ContainerAllocator> header;
00051
00052 typedef ::geometry_msgs::Point32_<ContainerAllocator> _goal_pos_type;
00053 ::geometry_msgs::Point32_<ContainerAllocator> goal_pos;
00054
00055 typedef float _goal_yaw_type;
00056 float goal_yaw;
00057
00058 typedef ::geometry_msgs::Point32_<ContainerAllocator> _max_speed_type;
00059 ::geometry_msgs::Point32_<ContainerAllocator> max_speed;
00060
00061 typedef float _accuracy_position_type;
00062 float accuracy_position;
00063
00064 typedef float _accuracy_orientation_type;
00065 float accuracy_orientation;
00066
00067 typedef float _timeout_type;
00068 float timeout;
00069
00070
00071 typedef boost::shared_ptr< ::asctec_hl_comm::WaypointGoal_<ContainerAllocator> > Ptr;
00072 typedef boost::shared_ptr< ::asctec_hl_comm::WaypointGoal_<ContainerAllocator> const> ConstPtr;
00073 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00074 };
00075 typedef ::asctec_hl_comm::WaypointGoal_<std::allocator<void> > WaypointGoal;
00076
00077 typedef boost::shared_ptr< ::asctec_hl_comm::WaypointGoal> WaypointGoalPtr;
00078 typedef boost::shared_ptr< ::asctec_hl_comm::WaypointGoal const> WaypointGoalConstPtr;
00079
00080
00081 template<typename ContainerAllocator>
00082 std::ostream& operator<<(std::ostream& s, const ::asctec_hl_comm::WaypointGoal_<ContainerAllocator> & v)
00083 {
00084 ros::message_operations::Printer< ::asctec_hl_comm::WaypointGoal_<ContainerAllocator> >::stream(s, "", v);
00085 return s;}
00086
00087 }
00088
00089 namespace ros
00090 {
00091 namespace message_traits
00092 {
00093 template<class ContainerAllocator> struct IsMessage< ::asctec_hl_comm::WaypointGoal_<ContainerAllocator> > : public TrueType {};
00094 template<class ContainerAllocator> struct IsMessage< ::asctec_hl_comm::WaypointGoal_<ContainerAllocator> const> : public TrueType {};
00095 template<class ContainerAllocator>
00096 struct MD5Sum< ::asctec_hl_comm::WaypointGoal_<ContainerAllocator> > {
00097 static const char* value()
00098 {
00099 return "507ec257de0ab6b6c1abb2c69409fbd5";
00100 }
00101
00102 static const char* value(const ::asctec_hl_comm::WaypointGoal_<ContainerAllocator> &) { return value(); }
00103 static const uint64_t static_value1 = 0x507ec257de0ab6b6ULL;
00104 static const uint64_t static_value2 = 0xc1abb2c69409fbd5ULL;
00105 };
00106
00107 template<class ContainerAllocator>
00108 struct DataType< ::asctec_hl_comm::WaypointGoal_<ContainerAllocator> > {
00109 static const char* value()
00110 {
00111 return "asctec_hl_comm/WaypointGoal";
00112 }
00113
00114 static const char* value(const ::asctec_hl_comm::WaypointGoal_<ContainerAllocator> &) { return value(); }
00115 };
00116
00117 template<class ContainerAllocator>
00118 struct Definition< ::asctec_hl_comm::WaypointGoal_<ContainerAllocator> > {
00119 static const char* value()
00120 {
00121 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00122 #goal\n\
00123 Header header\n\
00124 geometry_msgs/Point32 goal_pos\n\
00125 float32 goal_yaw\n\
00126 geometry_msgs/Point32 max_speed\n\
00127 float32 accuracy_position # determines the radius around the goal within the goal is considered as reached\n\
00128 float32 accuracy_orientation # determines the range within the goal orientation is considered as reached, for the heli only yaw\n\
00129 float32 timeout # timeout in [s] after which flying to the waypoint stops\n\
00130 \n\
00131 ================================================================================\n\
00132 MSG: std_msgs/Header\n\
00133 # Standard metadata for higher-level stamped data types.\n\
00134 # This is generally used to communicate timestamped data \n\
00135 # in a particular coordinate frame.\n\
00136 # \n\
00137 # sequence ID: consecutively increasing ID \n\
00138 uint32 seq\n\
00139 #Two-integer timestamp that is expressed as:\n\
00140 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00141 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00142 # time-handling sugar is provided by the client library\n\
00143 time stamp\n\
00144 #Frame this data is associated with\n\
00145 # 0: no frame\n\
00146 # 1: global frame\n\
00147 string frame_id\n\
00148 \n\
00149 ================================================================================\n\
00150 MSG: geometry_msgs/Point32\n\
00151 # This contains the position of a point in free space(with 32 bits of precision).\n\
00152 # It is recommeded to use Point wherever possible instead of Point32. \n\
00153 # \n\
00154 # This recommendation is to promote interoperability. \n\
00155 #\n\
00156 # This message is designed to take up less space when sending\n\
00157 # lots of points at once, as in the case of a PointCloud. \n\
00158 \n\
00159 float32 x\n\
00160 float32 y\n\
00161 float32 z\n\
00162 ";
00163 }
00164
00165 static const char* value(const ::asctec_hl_comm::WaypointGoal_<ContainerAllocator> &) { return value(); }
00166 };
00167
00168 template<class ContainerAllocator> struct HasHeader< ::asctec_hl_comm::WaypointGoal_<ContainerAllocator> > : public TrueType {};
00169 template<class ContainerAllocator> struct HasHeader< const ::asctec_hl_comm::WaypointGoal_<ContainerAllocator> > : public TrueType {};
00170 }
00171 }
00172
00173 namespace ros
00174 {
00175 namespace serialization
00176 {
00177
00178 template<class ContainerAllocator> struct Serializer< ::asctec_hl_comm::WaypointGoal_<ContainerAllocator> >
00179 {
00180 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00181 {
00182 stream.next(m.header);
00183 stream.next(m.goal_pos);
00184 stream.next(m.goal_yaw);
00185 stream.next(m.max_speed);
00186 stream.next(m.accuracy_position);
00187 stream.next(m.accuracy_orientation);
00188 stream.next(m.timeout);
00189 }
00190
00191 ROS_DECLARE_ALLINONE_SERIALIZER;
00192 };
00193 }
00194 }
00195
00196 namespace ros
00197 {
00198 namespace message_operations
00199 {
00200
00201 template<class ContainerAllocator>
00202 struct Printer< ::asctec_hl_comm::WaypointGoal_<ContainerAllocator> >
00203 {
00204 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::asctec_hl_comm::WaypointGoal_<ContainerAllocator> & v)
00205 {
00206 s << indent << "header: ";
00207 s << std::endl;
00208 Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + " ", v.header);
00209 s << indent << "goal_pos: ";
00210 s << std::endl;
00211 Printer< ::geometry_msgs::Point32_<ContainerAllocator> >::stream(s, indent + " ", v.goal_pos);
00212 s << indent << "goal_yaw: ";
00213 Printer<float>::stream(s, indent + " ", v.goal_yaw);
00214 s << indent << "max_speed: ";
00215 s << std::endl;
00216 Printer< ::geometry_msgs::Point32_<ContainerAllocator> >::stream(s, indent + " ", v.max_speed);
00217 s << indent << "accuracy_position: ";
00218 Printer<float>::stream(s, indent + " ", v.accuracy_position);
00219 s << indent << "accuracy_orientation: ";
00220 Printer<float>::stream(s, indent + " ", v.accuracy_orientation);
00221 s << indent << "timeout: ";
00222 Printer<float>::stream(s, indent + " ", v.timeout);
00223 }
00224 };
00225
00226
00227 }
00228 }
00229
00230 #endif // ASCTEC_HL_COMM_MESSAGE_WAYPOINTGOAL_H
00231