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


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