JointAngleTrajectory.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-alufr-humanoid_stacks/doc_stacks/2013-10-15_10-01-44.393682/nao_robot/nao_msgs/msg/JointAngleTrajectory.msg */
00002 #ifndef NAO_MSGS_MESSAGE_JOINTANGLETRAJECTORY_H
00003 #define NAO_MSGS_MESSAGE_JOINTANGLETRAJECTORY_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 
00019 namespace nao_msgs
00020 {
00021 template <class ContainerAllocator>
00022 struct JointAngleTrajectory_ {
00023   typedef JointAngleTrajectory_<ContainerAllocator> Type;
00024 
00025   JointAngleTrajectory_()
00026   : header()
00027   , joint_names()
00028   , joint_angles()
00029   , times()
00030   , relative(0)
00031   {
00032   }
00033 
00034   JointAngleTrajectory_(const ContainerAllocator& _alloc)
00035   : header(_alloc)
00036   , joint_names(_alloc)
00037   , joint_angles(_alloc)
00038   , times(_alloc)
00039   , relative(0)
00040   {
00041   }
00042 
00043   typedef  ::std_msgs::Header_<ContainerAllocator>  _header_type;
00044    ::std_msgs::Header_<ContainerAllocator>  header;
00045 
00046   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 >  _joint_names_type;
00047   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 >  joint_names;
00048 
00049   typedef std::vector<float, typename ContainerAllocator::template rebind<float>::other >  _joint_angles_type;
00050   std::vector<float, typename ContainerAllocator::template rebind<float>::other >  joint_angles;
00051 
00052   typedef std::vector<float, typename ContainerAllocator::template rebind<float>::other >  _times_type;
00053   std::vector<float, typename ContainerAllocator::template rebind<float>::other >  times;
00054 
00055   typedef uint8_t _relative_type;
00056   uint8_t relative;
00057 
00058 
00059   typedef boost::shared_ptr< ::nao_msgs::JointAngleTrajectory_<ContainerAllocator> > Ptr;
00060   typedef boost::shared_ptr< ::nao_msgs::JointAngleTrajectory_<ContainerAllocator>  const> ConstPtr;
00061   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00062 }; // struct JointAngleTrajectory
00063 typedef  ::nao_msgs::JointAngleTrajectory_<std::allocator<void> > JointAngleTrajectory;
00064 
00065 typedef boost::shared_ptr< ::nao_msgs::JointAngleTrajectory> JointAngleTrajectoryPtr;
00066 typedef boost::shared_ptr< ::nao_msgs::JointAngleTrajectory const> JointAngleTrajectoryConstPtr;
00067 
00068 
00069 template<typename ContainerAllocator>
00070 std::ostream& operator<<(std::ostream& s, const  ::nao_msgs::JointAngleTrajectory_<ContainerAllocator> & v)
00071 {
00072   ros::message_operations::Printer< ::nao_msgs::JointAngleTrajectory_<ContainerAllocator> >::stream(s, "", v);
00073   return s;}
00074 
00075 } // namespace nao_msgs
00076 
00077 namespace ros
00078 {
00079 namespace message_traits
00080 {
00081 template<class ContainerAllocator> struct IsMessage< ::nao_msgs::JointAngleTrajectory_<ContainerAllocator> > : public TrueType {};
00082 template<class ContainerAllocator> struct IsMessage< ::nao_msgs::JointAngleTrajectory_<ContainerAllocator>  const> : public TrueType {};
00083 template<class ContainerAllocator>
00084 struct MD5Sum< ::nao_msgs::JointAngleTrajectory_<ContainerAllocator> > {
00085   static const char* value() 
00086   {
00087     return "5ec9aa90e61498421ea53db10da7f8dd";
00088   }
00089 
00090   static const char* value(const  ::nao_msgs::JointAngleTrajectory_<ContainerAllocator> &) { return value(); } 
00091   static const uint64_t static_value1 = 0x5ec9aa90e6149842ULL;
00092   static const uint64_t static_value2 = 0x1ea53db10da7f8ddULL;
00093 };
00094 
00095 template<class ContainerAllocator>
00096 struct DataType< ::nao_msgs::JointAngleTrajectory_<ContainerAllocator> > {
00097   static const char* value() 
00098   {
00099     return "nao_msgs/JointAngleTrajectory";
00100   }
00101 
00102   static const char* value(const  ::nao_msgs::JointAngleTrajectory_<ContainerAllocator> &) { return value(); } 
00103 };
00104 
00105 template<class ContainerAllocator>
00106 struct Definition< ::nao_msgs::JointAngleTrajectory_<ContainerAllocator> > {
00107   static const char* value() 
00108   {
00109     return "Header header\n\
00110 \n\
00111 # A list of joint names, corresponding to their names in the Nao docs.\n\
00112 # This must be either the same lenght of joint_angles or 1 if it's a\n\
00113 # keyword such as 'Body' (for all angles)\n\
00114 string[] joint_names\n\
00115 float32[] joint_angles\n\
00116 float32[] times\n\
00117 \n\
00118 # Absolute angle(=0, default) or relative change\n\
00119 uint8 relative\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 ";
00140   }
00141 
00142   static const char* value(const  ::nao_msgs::JointAngleTrajectory_<ContainerAllocator> &) { return value(); } 
00143 };
00144 
00145 template<class ContainerAllocator> struct HasHeader< ::nao_msgs::JointAngleTrajectory_<ContainerAllocator> > : public TrueType {};
00146 template<class ContainerAllocator> struct HasHeader< const ::nao_msgs::JointAngleTrajectory_<ContainerAllocator> > : public TrueType {};
00147 } // namespace message_traits
00148 } // namespace ros
00149 
00150 namespace ros
00151 {
00152 namespace serialization
00153 {
00154 
00155 template<class ContainerAllocator> struct Serializer< ::nao_msgs::JointAngleTrajectory_<ContainerAllocator> >
00156 {
00157   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00158   {
00159     stream.next(m.header);
00160     stream.next(m.joint_names);
00161     stream.next(m.joint_angles);
00162     stream.next(m.times);
00163     stream.next(m.relative);
00164   }
00165 
00166   ROS_DECLARE_ALLINONE_SERIALIZER;
00167 }; // struct JointAngleTrajectory_
00168 } // namespace serialization
00169 } // namespace ros
00170 
00171 namespace ros
00172 {
00173 namespace message_operations
00174 {
00175 
00176 template<class ContainerAllocator>
00177 struct Printer< ::nao_msgs::JointAngleTrajectory_<ContainerAllocator> >
00178 {
00179   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::nao_msgs::JointAngleTrajectory_<ContainerAllocator> & v) 
00180   {
00181     s << indent << "header: ";
00182 s << std::endl;
00183     Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + "  ", v.header);
00184     s << indent << "joint_names[]" << std::endl;
00185     for (size_t i = 0; i < v.joint_names.size(); ++i)
00186     {
00187       s << indent << "  joint_names[" << i << "]: ";
00188       Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.joint_names[i]);
00189     }
00190     s << indent << "joint_angles[]" << std::endl;
00191     for (size_t i = 0; i < v.joint_angles.size(); ++i)
00192     {
00193       s << indent << "  joint_angles[" << i << "]: ";
00194       Printer<float>::stream(s, indent + "  ", v.joint_angles[i]);
00195     }
00196     s << indent << "times[]" << std::endl;
00197     for (size_t i = 0; i < v.times.size(); ++i)
00198     {
00199       s << indent << "  times[" << i << "]: ";
00200       Printer<float>::stream(s, indent + "  ", v.times[i]);
00201     }
00202     s << indent << "relative: ";
00203     Printer<uint8_t>::stream(s, indent + "  ", v.relative);
00204   }
00205 };
00206 
00207 
00208 } // namespace message_operations
00209 } // namespace ros
00210 
00211 #endif // NAO_MSGS_MESSAGE_JOINTANGLETRAJECTORY_H
00212 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends


nao_msgs
Author(s): Armin Hornung, Stefan Osswald, Daniel Maier
autogenerated on Tue Oct 15 2013 10:05:22