Go to the documentation of this file.00001
00002 #ifndef CONTROL_MSGS_MESSAGE_FOLLOWJOINTTRAJECTORYFEEDBACK_H
00003 #define CONTROL_MSGS_MESSAGE_FOLLOWJOINTTRAJECTORYFEEDBACK_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 "trajectory_msgs/JointTrajectoryPoint.h"
00019 #include "trajectory_msgs/JointTrajectoryPoint.h"
00020 #include "trajectory_msgs/JointTrajectoryPoint.h"
00021
00022 namespace control_msgs
00023 {
00024 template <class ContainerAllocator>
00025 struct FollowJointTrajectoryFeedback_ {
00026 typedef FollowJointTrajectoryFeedback_<ContainerAllocator> Type;
00027
00028 FollowJointTrajectoryFeedback_()
00029 : header()
00030 , joint_names()
00031 , desired()
00032 , actual()
00033 , error()
00034 {
00035 }
00036
00037 FollowJointTrajectoryFeedback_(const ContainerAllocator& _alloc)
00038 : header(_alloc)
00039 , joint_names(_alloc)
00040 , desired(_alloc)
00041 , actual(_alloc)
00042 , error(_alloc)
00043 {
00044 }
00045
00046 typedef ::std_msgs::Header_<ContainerAllocator> _header_type;
00047 ::std_msgs::Header_<ContainerAllocator> header;
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 > _joint_names_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 > joint_names;
00051
00052 typedef ::trajectory_msgs::JointTrajectoryPoint_<ContainerAllocator> _desired_type;
00053 ::trajectory_msgs::JointTrajectoryPoint_<ContainerAllocator> desired;
00054
00055 typedef ::trajectory_msgs::JointTrajectoryPoint_<ContainerAllocator> _actual_type;
00056 ::trajectory_msgs::JointTrajectoryPoint_<ContainerAllocator> actual;
00057
00058 typedef ::trajectory_msgs::JointTrajectoryPoint_<ContainerAllocator> _error_type;
00059 ::trajectory_msgs::JointTrajectoryPoint_<ContainerAllocator> error;
00060
00061
00062 typedef boost::shared_ptr< ::control_msgs::FollowJointTrajectoryFeedback_<ContainerAllocator> > Ptr;
00063 typedef boost::shared_ptr< ::control_msgs::FollowJointTrajectoryFeedback_<ContainerAllocator> const> ConstPtr;
00064 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00065 };
00066 typedef ::control_msgs::FollowJointTrajectoryFeedback_<std::allocator<void> > FollowJointTrajectoryFeedback;
00067
00068 typedef boost::shared_ptr< ::control_msgs::FollowJointTrajectoryFeedback> FollowJointTrajectoryFeedbackPtr;
00069 typedef boost::shared_ptr< ::control_msgs::FollowJointTrajectoryFeedback const> FollowJointTrajectoryFeedbackConstPtr;
00070
00071
00072 template<typename ContainerAllocator>
00073 std::ostream& operator<<(std::ostream& s, const ::control_msgs::FollowJointTrajectoryFeedback_<ContainerAllocator> & v)
00074 {
00075 ros::message_operations::Printer< ::control_msgs::FollowJointTrajectoryFeedback_<ContainerAllocator> >::stream(s, "", v);
00076 return s;}
00077
00078 }
00079
00080 namespace ros
00081 {
00082 namespace message_traits
00083 {
00084 template<class ContainerAllocator> struct IsMessage< ::control_msgs::FollowJointTrajectoryFeedback_<ContainerAllocator> > : public TrueType {};
00085 template<class ContainerAllocator> struct IsMessage< ::control_msgs::FollowJointTrajectoryFeedback_<ContainerAllocator> const> : public TrueType {};
00086 template<class ContainerAllocator>
00087 struct MD5Sum< ::control_msgs::FollowJointTrajectoryFeedback_<ContainerAllocator> > {
00088 static const char* value()
00089 {
00090 return "b11d532a92ee589417fdd76559eb1d9e";
00091 }
00092
00093 static const char* value(const ::control_msgs::FollowJointTrajectoryFeedback_<ContainerAllocator> &) { return value(); }
00094 static const uint64_t static_value1 = 0xb11d532a92ee5894ULL;
00095 static const uint64_t static_value2 = 0x17fdd76559eb1d9eULL;
00096 };
00097
00098 template<class ContainerAllocator>
00099 struct DataType< ::control_msgs::FollowJointTrajectoryFeedback_<ContainerAllocator> > {
00100 static const char* value()
00101 {
00102 return "control_msgs/FollowJointTrajectoryFeedback";
00103 }
00104
00105 static const char* value(const ::control_msgs::FollowJointTrajectoryFeedback_<ContainerAllocator> &) { return value(); }
00106 };
00107
00108 template<class ContainerAllocator>
00109 struct Definition< ::control_msgs::FollowJointTrajectoryFeedback_<ContainerAllocator> > {
00110 static const char* value()
00111 {
00112 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00113 Header header\n\
00114 string[] joint_names\n\
00115 trajectory_msgs/JointTrajectoryPoint desired\n\
00116 trajectory_msgs/JointTrajectoryPoint actual\n\
00117 trajectory_msgs/JointTrajectoryPoint error\n\
00118 \n\
00119 \n\
00120 ================================================================================\n\
00121 MSG: std_msgs/Header\n\
00122 # Standard metadata for higher-level stamped data types.\n\
00123 # This is generally used to communicate timestamped data \n\
00124 # in a particular coordinate frame.\n\
00125 # \n\
00126 # sequence ID: consecutively increasing ID \n\
00127 uint32 seq\n\
00128 #Two-integer timestamp that is expressed as:\n\
00129 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00130 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00131 # time-handling sugar is provided by the client library\n\
00132 time stamp\n\
00133 #Frame this data is associated with\n\
00134 # 0: no frame\n\
00135 # 1: global frame\n\
00136 string frame_id\n\
00137 \n\
00138 ================================================================================\n\
00139 MSG: trajectory_msgs/JointTrajectoryPoint\n\
00140 float64[] positions\n\
00141 float64[] velocities\n\
00142 float64[] accelerations\n\
00143 duration time_from_start\n\
00144 ";
00145 }
00146
00147 static const char* value(const ::control_msgs::FollowJointTrajectoryFeedback_<ContainerAllocator> &) { return value(); }
00148 };
00149
00150 template<class ContainerAllocator> struct HasHeader< ::control_msgs::FollowJointTrajectoryFeedback_<ContainerAllocator> > : public TrueType {};
00151 template<class ContainerAllocator> struct HasHeader< const ::control_msgs::FollowJointTrajectoryFeedback_<ContainerAllocator> > : public TrueType {};
00152 }
00153 }
00154
00155 namespace ros
00156 {
00157 namespace serialization
00158 {
00159
00160 template<class ContainerAllocator> struct Serializer< ::control_msgs::FollowJointTrajectoryFeedback_<ContainerAllocator> >
00161 {
00162 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00163 {
00164 stream.next(m.header);
00165 stream.next(m.joint_names);
00166 stream.next(m.desired);
00167 stream.next(m.actual);
00168 stream.next(m.error);
00169 }
00170
00171 ROS_DECLARE_ALLINONE_SERIALIZER;
00172 };
00173 }
00174 }
00175
00176 namespace ros
00177 {
00178 namespace message_operations
00179 {
00180
00181 template<class ContainerAllocator>
00182 struct Printer< ::control_msgs::FollowJointTrajectoryFeedback_<ContainerAllocator> >
00183 {
00184 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::control_msgs::FollowJointTrajectoryFeedback_<ContainerAllocator> & v)
00185 {
00186 s << indent << "header: ";
00187 s << std::endl;
00188 Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + " ", v.header);
00189 s << indent << "joint_names[]" << std::endl;
00190 for (size_t i = 0; i < v.joint_names.size(); ++i)
00191 {
00192 s << indent << " joint_names[" << i << "]: ";
00193 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.joint_names[i]);
00194 }
00195 s << indent << "desired: ";
00196 s << std::endl;
00197 Printer< ::trajectory_msgs::JointTrajectoryPoint_<ContainerAllocator> >::stream(s, indent + " ", v.desired);
00198 s << indent << "actual: ";
00199 s << std::endl;
00200 Printer< ::trajectory_msgs::JointTrajectoryPoint_<ContainerAllocator> >::stream(s, indent + " ", v.actual);
00201 s << indent << "error: ";
00202 s << std::endl;
00203 Printer< ::trajectory_msgs::JointTrajectoryPoint_<ContainerAllocator> >::stream(s, indent + " ", v.error);
00204 }
00205 };
00206
00207
00208 }
00209 }
00210
00211 #endif // CONTROL_MSGS_MESSAGE_FOLLOWJOINTTRAJECTORYFEEDBACK_H
00212