Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038 #ifndef PR2_CONTROLLERS_MSGS_MESSAGE_POINTHEADGOAL_H
00039 #define PR2_CONTROLLERS_MSGS_MESSAGE_POINTHEADGOAL_H
00040
00041
00042 #include <string>
00043 #include <vector>
00044 #include <map>
00045
00046 #include <ros/types.h>
00047 #include <ros/serialization.h>
00048 #include <ros/builtin_message_traits.h>
00049 #include <ros/message_operations.h>
00050
00051 #include <geometry_msgs/PointStamped.h>
00052 #include <geometry_msgs/Vector3.h>
00053
00054 namespace pr2_controllers_msgs
00055 {
00056 template <class ContainerAllocator>
00057 struct PointHeadGoal_
00058 {
00059 typedef PointHeadGoal_<ContainerAllocator> Type;
00060
00061 PointHeadGoal_()
00062 : target()
00063 , pointing_axis()
00064 , pointing_frame()
00065 , min_duration()
00066 , max_velocity(0.0) {
00067 }
00068 PointHeadGoal_(const ContainerAllocator& _alloc)
00069 : target(_alloc)
00070 , pointing_axis(_alloc)
00071 , pointing_frame(_alloc)
00072 , min_duration()
00073 , max_velocity(0.0) {
00074 }
00075
00076
00077
00078 typedef ::geometry_msgs::PointStamped_<ContainerAllocator> _target_type;
00079 _target_type target;
00080
00081 typedef ::geometry_msgs::Vector3_<ContainerAllocator> _pointing_axis_type;
00082 _pointing_axis_type pointing_axis;
00083
00084 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _pointing_frame_type;
00085 _pointing_frame_type pointing_frame;
00086
00087 typedef ros::Duration _min_duration_type;
00088 _min_duration_type min_duration;
00089
00090 typedef double _max_velocity_type;
00091 _max_velocity_type max_velocity;
00092
00093
00094
00095
00096 typedef boost::shared_ptr< ::pr2_controllers_msgs::PointHeadGoal_<ContainerAllocator> > Ptr;
00097 typedef boost::shared_ptr< ::pr2_controllers_msgs::PointHeadGoal_<ContainerAllocator> const> ConstPtr;
00098 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00099
00100 };
00101
00102 typedef ::pr2_controllers_msgs::PointHeadGoal_<std::allocator<void> > PointHeadGoal;
00103
00104 typedef boost::shared_ptr< ::pr2_controllers_msgs::PointHeadGoal > PointHeadGoalPtr;
00105 typedef boost::shared_ptr< ::pr2_controllers_msgs::PointHeadGoal const> PointHeadGoalConstPtr;
00106
00107
00108
00109
00110
00111 template<typename ContainerAllocator>
00112 std::ostream& operator<<(std::ostream& s, const ::pr2_controllers_msgs::PointHeadGoal_<ContainerAllocator> & v)
00113 {
00114 ros::message_operations::Printer< ::pr2_controllers_msgs::PointHeadGoal_<ContainerAllocator> >::stream(s, "", v);
00115 return s;
00116 }
00117
00118 }
00119
00120 namespace ros
00121 {
00122 namespace message_traits
00123 {
00124
00125
00126
00127
00128
00129
00130
00131
00132
00133
00134
00135 template <class ContainerAllocator>
00136 struct IsFixedSize< ::pr2_controllers_msgs::PointHeadGoal_<ContainerAllocator> >
00137 : FalseType
00138 { };
00139
00140 template <class ContainerAllocator>
00141 struct IsFixedSize< ::pr2_controllers_msgs::PointHeadGoal_<ContainerAllocator> const>
00142 : FalseType
00143 { };
00144
00145 template <class ContainerAllocator>
00146 struct IsMessage< ::pr2_controllers_msgs::PointHeadGoal_<ContainerAllocator> >
00147 : TrueType
00148 { };
00149
00150 template <class ContainerAllocator>
00151 struct IsMessage< ::pr2_controllers_msgs::PointHeadGoal_<ContainerAllocator> const>
00152 : TrueType
00153 { };
00154
00155 template <class ContainerAllocator>
00156 struct HasHeader< ::pr2_controllers_msgs::PointHeadGoal_<ContainerAllocator> >
00157 : FalseType
00158 { };
00159
00160 template <class ContainerAllocator>
00161 struct HasHeader< ::pr2_controllers_msgs::PointHeadGoal_<ContainerAllocator> const>
00162 : FalseType
00163 { };
00164
00165
00166 template<class ContainerAllocator>
00167 struct MD5Sum< ::pr2_controllers_msgs::PointHeadGoal_<ContainerAllocator> >
00168 {
00169 static const char* value()
00170 {
00171 return "8b92b1cd5e06c8a94c917dc3209a4c1d";
00172 }
00173
00174 static const char* value(const ::pr2_controllers_msgs::PointHeadGoal_<ContainerAllocator>&) { return value(); }
00175 static const uint64_t static_value1 = 0x8b92b1cd5e06c8a9ULL;
00176 static const uint64_t static_value2 = 0x4c917dc3209a4c1dULL;
00177 };
00178
00179 template<class ContainerAllocator>
00180 struct DataType< ::pr2_controllers_msgs::PointHeadGoal_<ContainerAllocator> >
00181 {
00182 static const char* value()
00183 {
00184 return "pr2_controllers_msgs/PointHeadGoal";
00185 }
00186
00187 static const char* value(const ::pr2_controllers_msgs::PointHeadGoal_<ContainerAllocator>&) { return value(); }
00188 };
00189
00190 template<class ContainerAllocator>
00191 struct Definition< ::pr2_controllers_msgs::PointHeadGoal_<ContainerAllocator> >
00192 {
00193 static const char* value()
00194 {
00195 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00196 geometry_msgs/PointStamped target\n\
00197 geometry_msgs/Vector3 pointing_axis\n\
00198 string pointing_frame\n\
00199 duration min_duration\n\
00200 float64 max_velocity\n\
00201 \n\
00202 ================================================================================\n\
00203 MSG: geometry_msgs/PointStamped\n\
00204 # This represents a Point with reference coordinate frame and timestamp\n\
00205 Header header\n\
00206 Point point\n\
00207 \n\
00208 ================================================================================\n\
00209 MSG: std_msgs/Header\n\
00210 # Standard metadata for higher-level stamped data types.\n\
00211 # This is generally used to communicate timestamped data \n\
00212 # in a particular coordinate frame.\n\
00213 # \n\
00214 # sequence ID: consecutively increasing ID \n\
00215 uint32 seq\n\
00216 #Two-integer timestamp that is expressed as:\n\
00217 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00218 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00219 # time-handling sugar is provided by the client library\n\
00220 time stamp\n\
00221 #Frame this data is associated with\n\
00222 # 0: no frame\n\
00223 # 1: global frame\n\
00224 string frame_id\n\
00225 \n\
00226 ================================================================================\n\
00227 MSG: geometry_msgs/Point\n\
00228 # This contains the position of a point in free space\n\
00229 float64 x\n\
00230 float64 y\n\
00231 float64 z\n\
00232 \n\
00233 ================================================================================\n\
00234 MSG: geometry_msgs/Vector3\n\
00235 # This represents a vector in free space. \n\
00236 \n\
00237 float64 x\n\
00238 float64 y\n\
00239 float64 z\n\
00240 ";
00241 }
00242
00243 static const char* value(const ::pr2_controllers_msgs::PointHeadGoal_<ContainerAllocator>&) { return value(); }
00244 };
00245
00246 }
00247 }
00248
00249 namespace ros
00250 {
00251 namespace serialization
00252 {
00253
00254 template<class ContainerAllocator> struct Serializer< ::pr2_controllers_msgs::PointHeadGoal_<ContainerAllocator> >
00255 {
00256 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00257 {
00258 stream.next(m.target);
00259 stream.next(m.pointing_axis);
00260 stream.next(m.pointing_frame);
00261 stream.next(m.min_duration);
00262 stream.next(m.max_velocity);
00263 }
00264
00265 ROS_DECLARE_ALLINONE_SERIALIZER;
00266 };
00267
00268 }
00269 }
00270
00271 namespace ros
00272 {
00273 namespace message_operations
00274 {
00275
00276 template<class ContainerAllocator>
00277 struct Printer< ::pr2_controllers_msgs::PointHeadGoal_<ContainerAllocator> >
00278 {
00279 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::pr2_controllers_msgs::PointHeadGoal_<ContainerAllocator>& v)
00280 {
00281 s << indent << "target: ";
00282 s << std::endl;
00283 Printer< ::geometry_msgs::PointStamped_<ContainerAllocator> >::stream(s, indent + " ", v.target);
00284 s << indent << "pointing_axis: ";
00285 s << std::endl;
00286 Printer< ::geometry_msgs::Vector3_<ContainerAllocator> >::stream(s, indent + " ", v.pointing_axis);
00287 s << indent << "pointing_frame: ";
00288 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.pointing_frame);
00289 s << indent << "min_duration: ";
00290 Printer<ros::Duration>::stream(s, indent + " ", v.min_duration);
00291 s << indent << "max_velocity: ";
00292 Printer<double>::stream(s, indent + " ", v.max_velocity);
00293 }
00294 };
00295
00296 }
00297 }
00298
00299 #endif // PR2_CONTROLLERS_MSGS_MESSAGE_POINTHEADGOAL_H