Go to the documentation of this file.00001
00002 #ifndef MANIPULATION_TRANSFORMS_MESSAGE_EFFECTORTRAJECTORIESPOINT_H
00003 #define MANIPULATION_TRANSFORMS_MESSAGE_EFFECTORTRAJECTORIESPOINT_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/PoseStamped.h"
00018 #include "geometry_msgs/TwistStamped.h"
00019
00020 namespace manipulation_transforms
00021 {
00022 template <class ContainerAllocator>
00023 struct EffectorTrajectoriesPoint_ {
00024 typedef EffectorTrajectoriesPoint_<ContainerAllocator> Type;
00025
00026 EffectorTrajectoriesPoint_()
00027 : poses()
00028 , twists()
00029 {
00030 }
00031
00032 EffectorTrajectoriesPoint_(const ContainerAllocator& _alloc)
00033 : poses(_alloc)
00034 , twists(_alloc)
00035 {
00036 }
00037
00038 typedef std::vector< ::geometry_msgs::PoseStamped_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::PoseStamped_<ContainerAllocator> >::other > _poses_type;
00039 std::vector< ::geometry_msgs::PoseStamped_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::PoseStamped_<ContainerAllocator> >::other > poses;
00040
00041 typedef std::vector< ::geometry_msgs::TwistStamped_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::TwistStamped_<ContainerAllocator> >::other > _twists_type;
00042 std::vector< ::geometry_msgs::TwistStamped_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::TwistStamped_<ContainerAllocator> >::other > twists;
00043
00044
00045 typedef boost::shared_ptr< ::manipulation_transforms::EffectorTrajectoriesPoint_<ContainerAllocator> > Ptr;
00046 typedef boost::shared_ptr< ::manipulation_transforms::EffectorTrajectoriesPoint_<ContainerAllocator> const> ConstPtr;
00047 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00048 };
00049 typedef ::manipulation_transforms::EffectorTrajectoriesPoint_<std::allocator<void> > EffectorTrajectoriesPoint;
00050
00051 typedef boost::shared_ptr< ::manipulation_transforms::EffectorTrajectoriesPoint> EffectorTrajectoriesPointPtr;
00052 typedef boost::shared_ptr< ::manipulation_transforms::EffectorTrajectoriesPoint const> EffectorTrajectoriesPointConstPtr;
00053
00054
00055 template<typename ContainerAllocator>
00056 std::ostream& operator<<(std::ostream& s, const ::manipulation_transforms::EffectorTrajectoriesPoint_<ContainerAllocator> & v)
00057 {
00058 ros::message_operations::Printer< ::manipulation_transforms::EffectorTrajectoriesPoint_<ContainerAllocator> >::stream(s, "", v);
00059 return s;}
00060
00061 }
00062
00063 namespace ros
00064 {
00065 namespace message_traits
00066 {
00067 template<class ContainerAllocator> struct IsMessage< ::manipulation_transforms::EffectorTrajectoriesPoint_<ContainerAllocator> > : public TrueType {};
00068 template<class ContainerAllocator> struct IsMessage< ::manipulation_transforms::EffectorTrajectoriesPoint_<ContainerAllocator> const> : public TrueType {};
00069 template<class ContainerAllocator>
00070 struct MD5Sum< ::manipulation_transforms::EffectorTrajectoriesPoint_<ContainerAllocator> > {
00071 static const char* value()
00072 {
00073 return "e801e3ee2cea9c4100e0018babf72f59";
00074 }
00075
00076 static const char* value(const ::manipulation_transforms::EffectorTrajectoriesPoint_<ContainerAllocator> &) { return value(); }
00077 static const uint64_t static_value1 = 0xe801e3ee2cea9c41ULL;
00078 static const uint64_t static_value2 = 0x00e0018babf72f59ULL;
00079 };
00080
00081 template<class ContainerAllocator>
00082 struct DataType< ::manipulation_transforms::EffectorTrajectoriesPoint_<ContainerAllocator> > {
00083 static const char* value()
00084 {
00085 return "manipulation_transforms/EffectorTrajectoriesPoint";
00086 }
00087
00088 static const char* value(const ::manipulation_transforms::EffectorTrajectoriesPoint_<ContainerAllocator> &) { return value(); }
00089 };
00090
00091 template<class ContainerAllocator>
00092 struct Definition< ::manipulation_transforms::EffectorTrajectoriesPoint_<ContainerAllocator> > {
00093 static const char* value()
00094 {
00095 return "# Array of poses, one for each effector\n\
00096 geometry_msgs/PoseStamped[] poses\n\
00097 \n\
00098 # Array of twists, one for each effector\n\
00099 geometry_msgs/TwistStamped[] twists\n\
00100 \n\
00101 \n\
00102 ================================================================================\n\
00103 MSG: geometry_msgs/PoseStamped\n\
00104 # A Pose with reference coordinate frame and timestamp\n\
00105 Header header\n\
00106 Pose pose\n\
00107 \n\
00108 ================================================================================\n\
00109 MSG: std_msgs/Header\n\
00110 # Standard metadata for higher-level stamped data types.\n\
00111 # This is generally used to communicate timestamped data \n\
00112 # in a particular coordinate frame.\n\
00113 # \n\
00114 # sequence ID: consecutively increasing ID \n\
00115 uint32 seq\n\
00116 #Two-integer timestamp that is expressed as:\n\
00117 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00118 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00119 # time-handling sugar is provided by the client library\n\
00120 time stamp\n\
00121 #Frame this data is associated with\n\
00122 # 0: no frame\n\
00123 # 1: global frame\n\
00124 string frame_id\n\
00125 \n\
00126 ================================================================================\n\
00127 MSG: geometry_msgs/Pose\n\
00128 # A representation of pose in free space, composed of postion and orientation. \n\
00129 Point position\n\
00130 Quaternion orientation\n\
00131 \n\
00132 ================================================================================\n\
00133 MSG: geometry_msgs/Point\n\
00134 # This contains the position of a point in free space\n\
00135 float64 x\n\
00136 float64 y\n\
00137 float64 z\n\
00138 \n\
00139 ================================================================================\n\
00140 MSG: geometry_msgs/Quaternion\n\
00141 # This represents an orientation in free space in quaternion form.\n\
00142 \n\
00143 float64 x\n\
00144 float64 y\n\
00145 float64 z\n\
00146 float64 w\n\
00147 \n\
00148 ================================================================================\n\
00149 MSG: geometry_msgs/TwistStamped\n\
00150 # A twist with reference coordinate frame and timestamp\n\
00151 Header header\n\
00152 Twist twist\n\
00153 \n\
00154 ================================================================================\n\
00155 MSG: geometry_msgs/Twist\n\
00156 # This expresses velocity in free space broken into it's linear and angular parts. \n\
00157 Vector3 linear\n\
00158 Vector3 angular\n\
00159 \n\
00160 ================================================================================\n\
00161 MSG: geometry_msgs/Vector3\n\
00162 # This represents a vector in free space. \n\
00163 \n\
00164 float64 x\n\
00165 float64 y\n\
00166 float64 z\n\
00167 ";
00168 }
00169
00170 static const char* value(const ::manipulation_transforms::EffectorTrajectoriesPoint_<ContainerAllocator> &) { return value(); }
00171 };
00172
00173 }
00174 }
00175
00176 namespace ros
00177 {
00178 namespace serialization
00179 {
00180
00181 template<class ContainerAllocator> struct Serializer< ::manipulation_transforms::EffectorTrajectoriesPoint_<ContainerAllocator> >
00182 {
00183 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00184 {
00185 stream.next(m.poses);
00186 stream.next(m.twists);
00187 }
00188
00189 ROS_DECLARE_ALLINONE_SERIALIZER;
00190 };
00191 }
00192 }
00193
00194 namespace ros
00195 {
00196 namespace message_operations
00197 {
00198
00199 template<class ContainerAllocator>
00200 struct Printer< ::manipulation_transforms::EffectorTrajectoriesPoint_<ContainerAllocator> >
00201 {
00202 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::manipulation_transforms::EffectorTrajectoriesPoint_<ContainerAllocator> & v)
00203 {
00204 s << indent << "poses[]" << std::endl;
00205 for (size_t i = 0; i < v.poses.size(); ++i)
00206 {
00207 s << indent << " poses[" << i << "]: ";
00208 s << std::endl;
00209 s << indent;
00210 Printer< ::geometry_msgs::PoseStamped_<ContainerAllocator> >::stream(s, indent + " ", v.poses[i]);
00211 }
00212 s << indent << "twists[]" << std::endl;
00213 for (size_t i = 0; i < v.twists.size(); ++i)
00214 {
00215 s << indent << " twists[" << i << "]: ";
00216 s << std::endl;
00217 s << indent;
00218 Printer< ::geometry_msgs::TwistStamped_<ContainerAllocator> >::stream(s, indent + " ", v.twists[i]);
00219 }
00220 }
00221 };
00222
00223
00224 }
00225 }
00226
00227 #endif // MANIPULATION_TRANSFORMS_MESSAGE_EFFECTORTRAJECTORIESPOINT_H
00228