PointHeadGoal.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-pr2_controllers/doc_stacks/2014-04-24_15-41-20.176555/pr2_controllers/pr2_controllers_msgs/msg/PointHeadGoal.msg */
00002 #ifndef PR2_CONTROLLERS_MSGS_MESSAGE_POINTHEADGOAL_H
00003 #define PR2_CONTROLLERS_MSGS_MESSAGE_POINTHEADGOAL_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 "geometry_msgs/PointStamped.h"
00018 #include "geometry_msgs/Vector3.h"
00019 
00020 namespace pr2_controllers_msgs
00021 {
00022 template <class ContainerAllocator>
00023 struct PointHeadGoal_ {
00024   typedef PointHeadGoal_<ContainerAllocator> Type;
00025 
00026   PointHeadGoal_()
00027   : target()
00028   , pointing_axis()
00029   , pointing_frame()
00030   , min_duration()
00031   , max_velocity(0.0)
00032   {
00033   }
00034 
00035   PointHeadGoal_(const ContainerAllocator& _alloc)
00036   : target(_alloc)
00037   , pointing_axis(_alloc)
00038   , pointing_frame(_alloc)
00039   , min_duration()
00040   , max_velocity(0.0)
00041   {
00042   }
00043 
00044   typedef  ::geometry_msgs::PointStamped_<ContainerAllocator>  _target_type;
00045    ::geometry_msgs::PointStamped_<ContainerAllocator>  target;
00046 
00047   typedef  ::geometry_msgs::Vector3_<ContainerAllocator>  _pointing_axis_type;
00048    ::geometry_msgs::Vector3_<ContainerAllocator>  pointing_axis;
00049 
00050   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _pointing_frame_type;
00051   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  pointing_frame;
00052 
00053   typedef ros::Duration _min_duration_type;
00054   ros::Duration min_duration;
00055 
00056   typedef double _max_velocity_type;
00057   double max_velocity;
00058 
00059 
00060   typedef boost::shared_ptr< ::pr2_controllers_msgs::PointHeadGoal_<ContainerAllocator> > Ptr;
00061   typedef boost::shared_ptr< ::pr2_controllers_msgs::PointHeadGoal_<ContainerAllocator>  const> ConstPtr;
00062   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00063 }; // struct PointHeadGoal
00064 typedef  ::pr2_controllers_msgs::PointHeadGoal_<std::allocator<void> > PointHeadGoal;
00065 
00066 typedef boost::shared_ptr< ::pr2_controllers_msgs::PointHeadGoal> PointHeadGoalPtr;
00067 typedef boost::shared_ptr< ::pr2_controllers_msgs::PointHeadGoal const> PointHeadGoalConstPtr;
00068 
00069 
00070 template<typename ContainerAllocator>
00071 std::ostream& operator<<(std::ostream& s, const  ::pr2_controllers_msgs::PointHeadGoal_<ContainerAllocator> & v)
00072 {
00073   ros::message_operations::Printer< ::pr2_controllers_msgs::PointHeadGoal_<ContainerAllocator> >::stream(s, "", v);
00074   return s;}
00075 
00076 } // namespace pr2_controllers_msgs
00077 
00078 namespace ros
00079 {
00080 namespace message_traits
00081 {
00082 template<class ContainerAllocator> struct IsMessage< ::pr2_controllers_msgs::PointHeadGoal_<ContainerAllocator> > : public TrueType {};
00083 template<class ContainerAllocator> struct IsMessage< ::pr2_controllers_msgs::PointHeadGoal_<ContainerAllocator>  const> : public TrueType {};
00084 template<class ContainerAllocator>
00085 struct MD5Sum< ::pr2_controllers_msgs::PointHeadGoal_<ContainerAllocator> > {
00086   static const char* value() 
00087   {
00088     return "8b92b1cd5e06c8a94c917dc3209a4c1d";
00089   }
00090 
00091   static const char* value(const  ::pr2_controllers_msgs::PointHeadGoal_<ContainerAllocator> &) { return value(); } 
00092   static const uint64_t static_value1 = 0x8b92b1cd5e06c8a9ULL;
00093   static const uint64_t static_value2 = 0x4c917dc3209a4c1dULL;
00094 };
00095 
00096 template<class ContainerAllocator>
00097 struct DataType< ::pr2_controllers_msgs::PointHeadGoal_<ContainerAllocator> > {
00098   static const char* value() 
00099   {
00100     return "pr2_controllers_msgs/PointHeadGoal";
00101   }
00102 
00103   static const char* value(const  ::pr2_controllers_msgs::PointHeadGoal_<ContainerAllocator> &) { return value(); } 
00104 };
00105 
00106 template<class ContainerAllocator>
00107 struct Definition< ::pr2_controllers_msgs::PointHeadGoal_<ContainerAllocator> > {
00108   static const char* value() 
00109   {
00110     return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00111 geometry_msgs/PointStamped target\n\
00112 geometry_msgs/Vector3 pointing_axis\n\
00113 string pointing_frame\n\
00114 duration min_duration\n\
00115 float64 max_velocity\n\
00116 \n\
00117 ================================================================================\n\
00118 MSG: geometry_msgs/PointStamped\n\
00119 # This represents a Point with reference coordinate frame and timestamp\n\
00120 Header header\n\
00121 Point point\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/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/Vector3\n\
00150 # This represents a vector in free space. \n\
00151 \n\
00152 float64 x\n\
00153 float64 y\n\
00154 float64 z\n\
00155 ";
00156   }
00157 
00158   static const char* value(const  ::pr2_controllers_msgs::PointHeadGoal_<ContainerAllocator> &) { return value(); } 
00159 };
00160 
00161 } // namespace message_traits
00162 } // namespace ros
00163 
00164 namespace ros
00165 {
00166 namespace serialization
00167 {
00168 
00169 template<class ContainerAllocator> struct Serializer< ::pr2_controllers_msgs::PointHeadGoal_<ContainerAllocator> >
00170 {
00171   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00172   {
00173     stream.next(m.target);
00174     stream.next(m.pointing_axis);
00175     stream.next(m.pointing_frame);
00176     stream.next(m.min_duration);
00177     stream.next(m.max_velocity);
00178   }
00179 
00180   ROS_DECLARE_ALLINONE_SERIALIZER;
00181 }; // struct PointHeadGoal_
00182 } // namespace serialization
00183 } // namespace ros
00184 
00185 namespace ros
00186 {
00187 namespace message_operations
00188 {
00189 
00190 template<class ContainerAllocator>
00191 struct Printer< ::pr2_controllers_msgs::PointHeadGoal_<ContainerAllocator> >
00192 {
00193   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::pr2_controllers_msgs::PointHeadGoal_<ContainerAllocator> & v) 
00194   {
00195     s << indent << "target: ";
00196 s << std::endl;
00197     Printer< ::geometry_msgs::PointStamped_<ContainerAllocator> >::stream(s, indent + "  ", v.target);
00198     s << indent << "pointing_axis: ";
00199 s << std::endl;
00200     Printer< ::geometry_msgs::Vector3_<ContainerAllocator> >::stream(s, indent + "  ", v.pointing_axis);
00201     s << indent << "pointing_frame: ";
00202     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.pointing_frame);
00203     s << indent << "min_duration: ";
00204     Printer<ros::Duration>::stream(s, indent + "  ", v.min_duration);
00205     s << indent << "max_velocity: ";
00206     Printer<double>::stream(s, indent + "  ", v.max_velocity);
00207   }
00208 };
00209 
00210 
00211 } // namespace message_operations
00212 } // namespace ros
00213 
00214 #endif // PR2_CONTROLLERS_MSGS_MESSAGE_POINTHEADGOAL_H
00215 


pr2_controllers_msgs
Author(s): Stuart Glaser
autogenerated on Thu Apr 24 2014 15:44:13