LabeledPoseTrajectory.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-nasa_r2_common/doc_stacks/2014-10-06_02-39-31.575241/nasa_r2_common/nasa_r2_common_msgs/msg/LabeledPoseTrajectory.msg */
00002 #ifndef NASA_R2_COMMON_MSGS_MESSAGE_LABELEDPOSETRAJECTORY_H
00003 #define NASA_R2_COMMON_MSGS_MESSAGE_LABELEDPOSETRAJECTORY_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 "nasa_r2_common_msgs/PriorityArray.h"
00019 #include "nasa_r2_common_msgs/PoseTrajectoryPoint.h"
00020 
00021 namespace nasa_r2_common_msgs
00022 {
00023 template <class ContainerAllocator>
00024 struct LabeledPoseTrajectory_ {
00025   typedef LabeledPoseTrajectory_<ContainerAllocator> Type;
00026 
00027   LabeledPoseTrajectory_()
00028   : header()
00029   , originator()
00030   , nodes()
00031   , node_priorities()
00032   , refFrames()
00033   , points()
00034   {
00035   }
00036 
00037   LabeledPoseTrajectory_(const ContainerAllocator& _alloc)
00038   : header(_alloc)
00039   , originator(_alloc)
00040   , nodes(_alloc)
00041   , node_priorities(_alloc)
00042   , refFrames(_alloc)
00043   , points(_alloc)
00044   {
00045   }
00046 
00047   typedef  ::std_msgs::Header_<ContainerAllocator>  _header_type;
00048    ::std_msgs::Header_<ContainerAllocator>  header;
00049 
00050   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _originator_type;
00051   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  originator;
00052 
00053   typedef std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other >  _nodes_type;
00054   std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other >  nodes;
00055 
00056   typedef std::vector< ::nasa_r2_common_msgs::PriorityArray_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::nasa_r2_common_msgs::PriorityArray_<ContainerAllocator> >::other >  _node_priorities_type;
00057   std::vector< ::nasa_r2_common_msgs::PriorityArray_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::nasa_r2_common_msgs::PriorityArray_<ContainerAllocator> >::other >  node_priorities;
00058 
00059   typedef std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other >  _refFrames_type;
00060   std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other >  refFrames;
00061 
00062   typedef std::vector< ::nasa_r2_common_msgs::PoseTrajectoryPoint_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::nasa_r2_common_msgs::PoseTrajectoryPoint_<ContainerAllocator> >::other >  _points_type;
00063   std::vector< ::nasa_r2_common_msgs::PoseTrajectoryPoint_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::nasa_r2_common_msgs::PoseTrajectoryPoint_<ContainerAllocator> >::other >  points;
00064 
00065 
00066   typedef boost::shared_ptr< ::nasa_r2_common_msgs::LabeledPoseTrajectory_<ContainerAllocator> > Ptr;
00067   typedef boost::shared_ptr< ::nasa_r2_common_msgs::LabeledPoseTrajectory_<ContainerAllocator>  const> ConstPtr;
00068   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00069 }; // struct LabeledPoseTrajectory
00070 typedef  ::nasa_r2_common_msgs::LabeledPoseTrajectory_<std::allocator<void> > LabeledPoseTrajectory;
00071 
00072 typedef boost::shared_ptr< ::nasa_r2_common_msgs::LabeledPoseTrajectory> LabeledPoseTrajectoryPtr;
00073 typedef boost::shared_ptr< ::nasa_r2_common_msgs::LabeledPoseTrajectory const> LabeledPoseTrajectoryConstPtr;
00074 
00075 
00076 template<typename ContainerAllocator>
00077 std::ostream& operator<<(std::ostream& s, const  ::nasa_r2_common_msgs::LabeledPoseTrajectory_<ContainerAllocator> & v)
00078 {
00079   ros::message_operations::Printer< ::nasa_r2_common_msgs::LabeledPoseTrajectory_<ContainerAllocator> >::stream(s, "", v);
00080   return s;}
00081 
00082 } // namespace nasa_r2_common_msgs
00083 
00084 namespace ros
00085 {
00086 namespace message_traits
00087 {
00088 template<class ContainerAllocator> struct IsMessage< ::nasa_r2_common_msgs::LabeledPoseTrajectory_<ContainerAllocator> > : public TrueType {};
00089 template<class ContainerAllocator> struct IsMessage< ::nasa_r2_common_msgs::LabeledPoseTrajectory_<ContainerAllocator>  const> : public TrueType {};
00090 template<class ContainerAllocator>
00091 struct MD5Sum< ::nasa_r2_common_msgs::LabeledPoseTrajectory_<ContainerAllocator> > {
00092   static const char* value() 
00093   {
00094     return "6859ade925296749b6e37b0f7d35911a";
00095   }
00096 
00097   static const char* value(const  ::nasa_r2_common_msgs::LabeledPoseTrajectory_<ContainerAllocator> &) { return value(); } 
00098   static const uint64_t static_value1 = 0x6859ade925296749ULL;
00099   static const uint64_t static_value2 = 0xb6e37b0f7d35911aULL;
00100 };
00101 
00102 template<class ContainerAllocator>
00103 struct DataType< ::nasa_r2_common_msgs::LabeledPoseTrajectory_<ContainerAllocator> > {
00104   static const char* value() 
00105   {
00106     return "nasa_r2_common_msgs/LabeledPoseTrajectory";
00107   }
00108 
00109   static const char* value(const  ::nasa_r2_common_msgs::LabeledPoseTrajectory_<ContainerAllocator> &) { return value(); } 
00110 };
00111 
00112 template<class ContainerAllocator>
00113 struct Definition< ::nasa_r2_common_msgs::LabeledPoseTrajectory_<ContainerAllocator> > {
00114   static const char* value() 
00115   {
00116     return "Header header\n\
00117 string originator\n\
00118 # length of nodes must match length of poses in each point\n\
00119 string[] nodes\n\
00120 # priorities must have nodes length or be omitted which defaults all to HIGH\n\
00121 PriorityArray[]  node_priorities\n\
00122 # refFrames must either have one item or be nodes length\n\
00123 string[] refFrames\n\
00124 PoseTrajectoryPoint[] points\n\
00125 \n\
00126 \n\
00127 ================================================================================\n\
00128 MSG: std_msgs/Header\n\
00129 # Standard metadata for higher-level stamped data types.\n\
00130 # This is generally used to communicate timestamped data \n\
00131 # in a particular coordinate frame.\n\
00132 # \n\
00133 # sequence ID: consecutively increasing ID \n\
00134 uint32 seq\n\
00135 #Two-integer timestamp that is expressed as:\n\
00136 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00137 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00138 # time-handling sugar is provided by the client library\n\
00139 time stamp\n\
00140 #Frame this data is associated with\n\
00141 # 0: no frame\n\
00142 # 1: global frame\n\
00143 string frame_id\n\
00144 \n\
00145 ================================================================================\n\
00146 MSG: nasa_r2_common_msgs/PriorityArray\n\
00147 # axis_priorities must be 0, 1, or 6 elements\n\
00148 # empty defaults to high, 1 sets all axes equal priority, 6 sets each axis (x, y, z, r, p, y)\n\
00149 uint8[]  axis_priorities\n\
00150 \n\
00151 uint8 IGNORE          = 0   # Exclude from trajectory\n\
00152 uint8 CRITICAL        = 1   # Most important priority in trajectory\n\
00153 uint8 HIGH            = 2   # Second most important priority in trajectory\n\
00154 uint8 MEDIUM          = 3   # Medium prioirty in trajectory\n\
00155 uint8 LOW             = 4   # Low priority in trajectory\n\
00156 uint8 OPT             = 5   # Optimize trajectory (solve for, but do not iterate to achieve)\n\
00157 \n\
00158 #uint8 IGNORE = 0\n\
00159 #uint8 LOW = 1\n\
00160 #uint8 MEDIUM = 128\n\
00161 #uint8 HIGH = 254\n\
00162 #uint8 CRITICAL = 255\n\
00163 \n\
00164 ================================================================================\n\
00165 MSG: nasa_r2_common_msgs/PoseTrajectoryPoint\n\
00166 # currently, position only but could add velocity and acceleration later\n\
00167 geometry_msgs/Pose[] positions\n\
00168 geometry_msgs/Twist[] velocities\n\
00169 geometry_msgs/Twist[] accelerations\n\
00170 duration time_from_start\n\
00171 \n\
00172 ================================================================================\n\
00173 MSG: geometry_msgs/Pose\n\
00174 # A representation of pose in free space, composed of postion and orientation. \n\
00175 Point position\n\
00176 Quaternion orientation\n\
00177 \n\
00178 ================================================================================\n\
00179 MSG: geometry_msgs/Point\n\
00180 # This contains the position of a point in free space\n\
00181 float64 x\n\
00182 float64 y\n\
00183 float64 z\n\
00184 \n\
00185 ================================================================================\n\
00186 MSG: geometry_msgs/Quaternion\n\
00187 # This represents an orientation in free space in quaternion form.\n\
00188 \n\
00189 float64 x\n\
00190 float64 y\n\
00191 float64 z\n\
00192 float64 w\n\
00193 \n\
00194 ================================================================================\n\
00195 MSG: geometry_msgs/Twist\n\
00196 # This expresses velocity in free space broken into its linear and angular parts.\n\
00197 Vector3  linear\n\
00198 Vector3  angular\n\
00199 \n\
00200 ================================================================================\n\
00201 MSG: geometry_msgs/Vector3\n\
00202 # This represents a vector in free space. \n\
00203 \n\
00204 float64 x\n\
00205 float64 y\n\
00206 float64 z\n\
00207 ";
00208   }
00209 
00210   static const char* value(const  ::nasa_r2_common_msgs::LabeledPoseTrajectory_<ContainerAllocator> &) { return value(); } 
00211 };
00212 
00213 template<class ContainerAllocator> struct HasHeader< ::nasa_r2_common_msgs::LabeledPoseTrajectory_<ContainerAllocator> > : public TrueType {};
00214 template<class ContainerAllocator> struct HasHeader< const ::nasa_r2_common_msgs::LabeledPoseTrajectory_<ContainerAllocator> > : public TrueType {};
00215 } // namespace message_traits
00216 } // namespace ros
00217 
00218 namespace ros
00219 {
00220 namespace serialization
00221 {
00222 
00223 template<class ContainerAllocator> struct Serializer< ::nasa_r2_common_msgs::LabeledPoseTrajectory_<ContainerAllocator> >
00224 {
00225   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00226   {
00227     stream.next(m.header);
00228     stream.next(m.originator);
00229     stream.next(m.nodes);
00230     stream.next(m.node_priorities);
00231     stream.next(m.refFrames);
00232     stream.next(m.points);
00233   }
00234 
00235   ROS_DECLARE_ALLINONE_SERIALIZER;
00236 }; // struct LabeledPoseTrajectory_
00237 } // namespace serialization
00238 } // namespace ros
00239 
00240 namespace ros
00241 {
00242 namespace message_operations
00243 {
00244 
00245 template<class ContainerAllocator>
00246 struct Printer< ::nasa_r2_common_msgs::LabeledPoseTrajectory_<ContainerAllocator> >
00247 {
00248   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::nasa_r2_common_msgs::LabeledPoseTrajectory_<ContainerAllocator> & v) 
00249   {
00250     s << indent << "header: ";
00251 s << std::endl;
00252     Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + "  ", v.header);
00253     s << indent << "originator: ";
00254     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.originator);
00255     s << indent << "nodes[]" << std::endl;
00256     for (size_t i = 0; i < v.nodes.size(); ++i)
00257     {
00258       s << indent << "  nodes[" << i << "]: ";
00259       Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.nodes[i]);
00260     }
00261     s << indent << "node_priorities[]" << std::endl;
00262     for (size_t i = 0; i < v.node_priorities.size(); ++i)
00263     {
00264       s << indent << "  node_priorities[" << i << "]: ";
00265       s << std::endl;
00266       s << indent;
00267       Printer< ::nasa_r2_common_msgs::PriorityArray_<ContainerAllocator> >::stream(s, indent + "    ", v.node_priorities[i]);
00268     }
00269     s << indent << "refFrames[]" << std::endl;
00270     for (size_t i = 0; i < v.refFrames.size(); ++i)
00271     {
00272       s << indent << "  refFrames[" << i << "]: ";
00273       Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.refFrames[i]);
00274     }
00275     s << indent << "points[]" << std::endl;
00276     for (size_t i = 0; i < v.points.size(); ++i)
00277     {
00278       s << indent << "  points[" << i << "]: ";
00279       s << std::endl;
00280       s << indent;
00281       Printer< ::nasa_r2_common_msgs::PoseTrajectoryPoint_<ContainerAllocator> >::stream(s, indent + "    ", v.points[i]);
00282     }
00283   }
00284 };
00285 
00286 
00287 } // namespace message_operations
00288 } // namespace ros
00289 
00290 #endif // NASA_R2_COMMON_MSGS_MESSAGE_LABELEDPOSETRAJECTORY_H
00291 


nasa_r2_common_msgs
Author(s): Paul Dinh. Maintained by Jennifer Turner
autogenerated on Mon Oct 6 2014 02:42:34