00001
00002 #ifndef ARM_NAVIGATION_MSGS_MESSAGE_MULTIDOFJOINTTRAJECTORY_H
00003 #define ARM_NAVIGATION_MSGS_MESSAGE_MULTIDOFJOINTTRAJECTORY_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 "arm_navigation_msgs/MultiDOFJointTrajectoryPoint.h"
00018
00019 namespace arm_navigation_msgs
00020 {
00021 template <class ContainerAllocator>
00022 struct MultiDOFJointTrajectory_ {
00023 typedef MultiDOFJointTrajectory_<ContainerAllocator> Type;
00024
00025 MultiDOFJointTrajectory_()
00026 : stamp()
00027 , joint_names()
00028 , frame_ids()
00029 , child_frame_ids()
00030 , points()
00031 {
00032 }
00033
00034 MultiDOFJointTrajectory_(const ContainerAllocator& _alloc)
00035 : stamp()
00036 , joint_names(_alloc)
00037 , frame_ids(_alloc)
00038 , child_frame_ids(_alloc)
00039 , points(_alloc)
00040 {
00041 }
00042
00043 typedef ros::Duration _stamp_type;
00044 ros::Duration stamp;
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<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 > _frame_ids_type;
00050 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 > frame_ids;
00051
00052 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 > _child_frame_ids_type;
00053 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 > child_frame_ids;
00054
00055 typedef std::vector< ::arm_navigation_msgs::MultiDOFJointTrajectoryPoint_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::arm_navigation_msgs::MultiDOFJointTrajectoryPoint_<ContainerAllocator> >::other > _points_type;
00056 std::vector< ::arm_navigation_msgs::MultiDOFJointTrajectoryPoint_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::arm_navigation_msgs::MultiDOFJointTrajectoryPoint_<ContainerAllocator> >::other > points;
00057
00058
00059 typedef boost::shared_ptr< ::arm_navigation_msgs::MultiDOFJointTrajectory_<ContainerAllocator> > Ptr;
00060 typedef boost::shared_ptr< ::arm_navigation_msgs::MultiDOFJointTrajectory_<ContainerAllocator> const> ConstPtr;
00061 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00062 };
00063 typedef ::arm_navigation_msgs::MultiDOFJointTrajectory_<std::allocator<void> > MultiDOFJointTrajectory;
00064
00065 typedef boost::shared_ptr< ::arm_navigation_msgs::MultiDOFJointTrajectory> MultiDOFJointTrajectoryPtr;
00066 typedef boost::shared_ptr< ::arm_navigation_msgs::MultiDOFJointTrajectory const> MultiDOFJointTrajectoryConstPtr;
00067
00068
00069 template<typename ContainerAllocator>
00070 std::ostream& operator<<(std::ostream& s, const ::arm_navigation_msgs::MultiDOFJointTrajectory_<ContainerAllocator> & v)
00071 {
00072 ros::message_operations::Printer< ::arm_navigation_msgs::MultiDOFJointTrajectory_<ContainerAllocator> >::stream(s, "", v);
00073 return s;}
00074
00075 }
00076
00077 namespace ros
00078 {
00079 namespace message_traits
00080 {
00081 template<class ContainerAllocator> struct IsMessage< ::arm_navigation_msgs::MultiDOFJointTrajectory_<ContainerAllocator> > : public TrueType {};
00082 template<class ContainerAllocator> struct IsMessage< ::arm_navigation_msgs::MultiDOFJointTrajectory_<ContainerAllocator> const> : public TrueType {};
00083 template<class ContainerAllocator>
00084 struct MD5Sum< ::arm_navigation_msgs::MultiDOFJointTrajectory_<ContainerAllocator> > {
00085 static const char* value()
00086 {
00087 return "524f128fb0a65e2838b0e3e3f75207d0";
00088 }
00089
00090 static const char* value(const ::arm_navigation_msgs::MultiDOFJointTrajectory_<ContainerAllocator> &) { return value(); }
00091 static const uint64_t static_value1 = 0x524f128fb0a65e28ULL;
00092 static const uint64_t static_value2 = 0x38b0e3e3f75207d0ULL;
00093 };
00094
00095 template<class ContainerAllocator>
00096 struct DataType< ::arm_navigation_msgs::MultiDOFJointTrajectory_<ContainerAllocator> > {
00097 static const char* value()
00098 {
00099 return "arm_navigation_msgs/MultiDOFJointTrajectory";
00100 }
00101
00102 static const char* value(const ::arm_navigation_msgs::MultiDOFJointTrajectory_<ContainerAllocator> &) { return value(); }
00103 };
00104
00105 template<class ContainerAllocator>
00106 struct Definition< ::arm_navigation_msgs::MultiDOFJointTrajectory_<ContainerAllocator> > {
00107 static const char* value()
00108 {
00109 return "#A representation of a multi-dof joint trajectory\n\
00110 duration stamp\n\
00111 string[] joint_names\n\
00112 string[] frame_ids\n\
00113 string[] child_frame_ids\n\
00114 MultiDOFJointTrajectoryPoint[] points\n\
00115 \n\
00116 ================================================================================\n\
00117 MSG: arm_navigation_msgs/MultiDOFJointTrajectoryPoint\n\
00118 geometry_msgs/Pose[] poses\n\
00119 duration time_from_start\n\
00120 ================================================================================\n\
00121 MSG: geometry_msgs/Pose\n\
00122 # A representation of pose in free space, composed of postion and orientation. \n\
00123 Point position\n\
00124 Quaternion orientation\n\
00125 \n\
00126 ================================================================================\n\
00127 MSG: geometry_msgs/Point\n\
00128 # This contains the position of a point in free space\n\
00129 float64 x\n\
00130 float64 y\n\
00131 float64 z\n\
00132 \n\
00133 ================================================================================\n\
00134 MSG: geometry_msgs/Quaternion\n\
00135 # This represents an orientation in free space in quaternion form.\n\
00136 \n\
00137 float64 x\n\
00138 float64 y\n\
00139 float64 z\n\
00140 float64 w\n\
00141 \n\
00142 ";
00143 }
00144
00145 static const char* value(const ::arm_navigation_msgs::MultiDOFJointTrajectory_<ContainerAllocator> &) { return value(); }
00146 };
00147
00148 }
00149 }
00150
00151 namespace ros
00152 {
00153 namespace serialization
00154 {
00155
00156 template<class ContainerAllocator> struct Serializer< ::arm_navigation_msgs::MultiDOFJointTrajectory_<ContainerAllocator> >
00157 {
00158 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00159 {
00160 stream.next(m.stamp);
00161 stream.next(m.joint_names);
00162 stream.next(m.frame_ids);
00163 stream.next(m.child_frame_ids);
00164 stream.next(m.points);
00165 }
00166
00167 ROS_DECLARE_ALLINONE_SERIALIZER;
00168 };
00169 }
00170 }
00171
00172 namespace ros
00173 {
00174 namespace message_operations
00175 {
00176
00177 template<class ContainerAllocator>
00178 struct Printer< ::arm_navigation_msgs::MultiDOFJointTrajectory_<ContainerAllocator> >
00179 {
00180 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::arm_navigation_msgs::MultiDOFJointTrajectory_<ContainerAllocator> & v)
00181 {
00182 s << indent << "stamp: ";
00183 Printer<ros::Duration>::stream(s, indent + " ", v.stamp);
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 << "frame_ids[]" << std::endl;
00191 for (size_t i = 0; i < v.frame_ids.size(); ++i)
00192 {
00193 s << indent << " frame_ids[" << i << "]: ";
00194 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.frame_ids[i]);
00195 }
00196 s << indent << "child_frame_ids[]" << std::endl;
00197 for (size_t i = 0; i < v.child_frame_ids.size(); ++i)
00198 {
00199 s << indent << " child_frame_ids[" << i << "]: ";
00200 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.child_frame_ids[i]);
00201 }
00202 s << indent << "points[]" << std::endl;
00203 for (size_t i = 0; i < v.points.size(); ++i)
00204 {
00205 s << indent << " points[" << i << "]: ";
00206 s << std::endl;
00207 s << indent;
00208 Printer< ::arm_navigation_msgs::MultiDOFJointTrajectoryPoint_<ContainerAllocator> >::stream(s, indent + " ", v.points[i]);
00209 }
00210 }
00211 };
00212
00213
00214 }
00215 }
00216
00217 #endif // ARM_NAVIGATION_MSGS_MESSAGE_MULTIDOFJOINTTRAJECTORY_H
00218