$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-control/doc_stacks/2013-03-01_15-05-58.341785/control/control_msgs/msg/FollowJointTrajectoryFeedback.msg */ 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 ROS_DEPRECATED uint32_t get_joint_names_size() const { return (uint32_t)joint_names.size(); } 00063 ROS_DEPRECATED void set_joint_names_size(uint32_t size) { joint_names.resize((size_t)size); } 00064 ROS_DEPRECATED void get_joint_names_vec(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 > & vec) const { vec = this->joint_names; } 00065 ROS_DEPRECATED void set_joint_names_vec(const 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 > & vec) { this->joint_names = vec; } 00066 private: 00067 static const char* __s_getDataType_() { return "control_msgs/FollowJointTrajectoryFeedback"; } 00068 public: 00069 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00070 00071 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00072 00073 private: 00074 static const char* __s_getMD5Sum_() { return "b11d532a92ee589417fdd76559eb1d9e"; } 00075 public: 00076 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00077 00078 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00079 00080 private: 00081 static const char* __s_getMessageDefinition_() { return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00082 Header header\n\ 00083 string[] joint_names\n\ 00084 trajectory_msgs/JointTrajectoryPoint desired\n\ 00085 trajectory_msgs/JointTrajectoryPoint actual\n\ 00086 trajectory_msgs/JointTrajectoryPoint error\n\ 00087 \n\ 00088 \n\ 00089 ================================================================================\n\ 00090 MSG: std_msgs/Header\n\ 00091 # Standard metadata for higher-level stamped data types.\n\ 00092 # This is generally used to communicate timestamped data \n\ 00093 # in a particular coordinate frame.\n\ 00094 # \n\ 00095 # sequence ID: consecutively increasing ID \n\ 00096 uint32 seq\n\ 00097 #Two-integer timestamp that is expressed as:\n\ 00098 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00099 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00100 # time-handling sugar is provided by the client library\n\ 00101 time stamp\n\ 00102 #Frame this data is associated with\n\ 00103 # 0: no frame\n\ 00104 # 1: global frame\n\ 00105 string frame_id\n\ 00106 \n\ 00107 ================================================================================\n\ 00108 MSG: trajectory_msgs/JointTrajectoryPoint\n\ 00109 float64[] positions\n\ 00110 float64[] velocities\n\ 00111 float64[] accelerations\n\ 00112 duration time_from_start\n\ 00113 "; } 00114 public: 00115 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00116 00117 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00118 00119 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00120 { 00121 ros::serialization::OStream stream(write_ptr, 1000000000); 00122 ros::serialization::serialize(stream, header); 00123 ros::serialization::serialize(stream, joint_names); 00124 ros::serialization::serialize(stream, desired); 00125 ros::serialization::serialize(stream, actual); 00126 ros::serialization::serialize(stream, error); 00127 return stream.getData(); 00128 } 00129 00130 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00131 { 00132 ros::serialization::IStream stream(read_ptr, 1000000000); 00133 ros::serialization::deserialize(stream, header); 00134 ros::serialization::deserialize(stream, joint_names); 00135 ros::serialization::deserialize(stream, desired); 00136 ros::serialization::deserialize(stream, actual); 00137 ros::serialization::deserialize(stream, error); 00138 return stream.getData(); 00139 } 00140 00141 ROS_DEPRECATED virtual uint32_t serializationLength() const 00142 { 00143 uint32_t size = 0; 00144 size += ros::serialization::serializationLength(header); 00145 size += ros::serialization::serializationLength(joint_names); 00146 size += ros::serialization::serializationLength(desired); 00147 size += ros::serialization::serializationLength(actual); 00148 size += ros::serialization::serializationLength(error); 00149 return size; 00150 } 00151 00152 typedef boost::shared_ptr< ::control_msgs::FollowJointTrajectoryFeedback_<ContainerAllocator> > Ptr; 00153 typedef boost::shared_ptr< ::control_msgs::FollowJointTrajectoryFeedback_<ContainerAllocator> const> ConstPtr; 00154 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00155 }; // struct FollowJointTrajectoryFeedback 00156 typedef ::control_msgs::FollowJointTrajectoryFeedback_<std::allocator<void> > FollowJointTrajectoryFeedback; 00157 00158 typedef boost::shared_ptr< ::control_msgs::FollowJointTrajectoryFeedback> FollowJointTrajectoryFeedbackPtr; 00159 typedef boost::shared_ptr< ::control_msgs::FollowJointTrajectoryFeedback const> FollowJointTrajectoryFeedbackConstPtr; 00160 00161 00162 template<typename ContainerAllocator> 00163 std::ostream& operator<<(std::ostream& s, const ::control_msgs::FollowJointTrajectoryFeedback_<ContainerAllocator> & v) 00164 { 00165 ros::message_operations::Printer< ::control_msgs::FollowJointTrajectoryFeedback_<ContainerAllocator> >::stream(s, "", v); 00166 return s;} 00167 00168 } // namespace control_msgs 00169 00170 namespace ros 00171 { 00172 namespace message_traits 00173 { 00174 template<class ContainerAllocator> struct IsMessage< ::control_msgs::FollowJointTrajectoryFeedback_<ContainerAllocator> > : public TrueType {}; 00175 template<class ContainerAllocator> struct IsMessage< ::control_msgs::FollowJointTrajectoryFeedback_<ContainerAllocator> const> : public TrueType {}; 00176 template<class ContainerAllocator> 00177 struct MD5Sum< ::control_msgs::FollowJointTrajectoryFeedback_<ContainerAllocator> > { 00178 static const char* value() 00179 { 00180 return "b11d532a92ee589417fdd76559eb1d9e"; 00181 } 00182 00183 static const char* value(const ::control_msgs::FollowJointTrajectoryFeedback_<ContainerAllocator> &) { return value(); } 00184 static const uint64_t static_value1 = 0xb11d532a92ee5894ULL; 00185 static const uint64_t static_value2 = 0x17fdd76559eb1d9eULL; 00186 }; 00187 00188 template<class ContainerAllocator> 00189 struct DataType< ::control_msgs::FollowJointTrajectoryFeedback_<ContainerAllocator> > { 00190 static const char* value() 00191 { 00192 return "control_msgs/FollowJointTrajectoryFeedback"; 00193 } 00194 00195 static const char* value(const ::control_msgs::FollowJointTrajectoryFeedback_<ContainerAllocator> &) { return value(); } 00196 }; 00197 00198 template<class ContainerAllocator> 00199 struct Definition< ::control_msgs::FollowJointTrajectoryFeedback_<ContainerAllocator> > { 00200 static const char* value() 00201 { 00202 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00203 Header header\n\ 00204 string[] joint_names\n\ 00205 trajectory_msgs/JointTrajectoryPoint desired\n\ 00206 trajectory_msgs/JointTrajectoryPoint actual\n\ 00207 trajectory_msgs/JointTrajectoryPoint error\n\ 00208 \n\ 00209 \n\ 00210 ================================================================================\n\ 00211 MSG: std_msgs/Header\n\ 00212 # Standard metadata for higher-level stamped data types.\n\ 00213 # This is generally used to communicate timestamped data \n\ 00214 # in a particular coordinate frame.\n\ 00215 # \n\ 00216 # sequence ID: consecutively increasing ID \n\ 00217 uint32 seq\n\ 00218 #Two-integer timestamp that is expressed as:\n\ 00219 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00220 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00221 # time-handling sugar is provided by the client library\n\ 00222 time stamp\n\ 00223 #Frame this data is associated with\n\ 00224 # 0: no frame\n\ 00225 # 1: global frame\n\ 00226 string frame_id\n\ 00227 \n\ 00228 ================================================================================\n\ 00229 MSG: trajectory_msgs/JointTrajectoryPoint\n\ 00230 float64[] positions\n\ 00231 float64[] velocities\n\ 00232 float64[] accelerations\n\ 00233 duration time_from_start\n\ 00234 "; 00235 } 00236 00237 static const char* value(const ::control_msgs::FollowJointTrajectoryFeedback_<ContainerAllocator> &) { return value(); } 00238 }; 00239 00240 template<class ContainerAllocator> struct HasHeader< ::control_msgs::FollowJointTrajectoryFeedback_<ContainerAllocator> > : public TrueType {}; 00241 template<class ContainerAllocator> struct HasHeader< const ::control_msgs::FollowJointTrajectoryFeedback_<ContainerAllocator> > : public TrueType {}; 00242 } // namespace message_traits 00243 } // namespace ros 00244 00245 namespace ros 00246 { 00247 namespace serialization 00248 { 00249 00250 template<class ContainerAllocator> struct Serializer< ::control_msgs::FollowJointTrajectoryFeedback_<ContainerAllocator> > 00251 { 00252 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00253 { 00254 stream.next(m.header); 00255 stream.next(m.joint_names); 00256 stream.next(m.desired); 00257 stream.next(m.actual); 00258 stream.next(m.error); 00259 } 00260 00261 ROS_DECLARE_ALLINONE_SERIALIZER; 00262 }; // struct FollowJointTrajectoryFeedback_ 00263 } // namespace serialization 00264 } // namespace ros 00265 00266 namespace ros 00267 { 00268 namespace message_operations 00269 { 00270 00271 template<class ContainerAllocator> 00272 struct Printer< ::control_msgs::FollowJointTrajectoryFeedback_<ContainerAllocator> > 00273 { 00274 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::control_msgs::FollowJointTrajectoryFeedback_<ContainerAllocator> & v) 00275 { 00276 s << indent << "header: "; 00277 s << std::endl; 00278 Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + " ", v.header); 00279 s << indent << "joint_names[]" << std::endl; 00280 for (size_t i = 0; i < v.joint_names.size(); ++i) 00281 { 00282 s << indent << " joint_names[" << i << "]: "; 00283 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.joint_names[i]); 00284 } 00285 s << indent << "desired: "; 00286 s << std::endl; 00287 Printer< ::trajectory_msgs::JointTrajectoryPoint_<ContainerAllocator> >::stream(s, indent + " ", v.desired); 00288 s << indent << "actual: "; 00289 s << std::endl; 00290 Printer< ::trajectory_msgs::JointTrajectoryPoint_<ContainerAllocator> >::stream(s, indent + " ", v.actual); 00291 s << indent << "error: "; 00292 s << std::endl; 00293 Printer< ::trajectory_msgs::JointTrajectoryPoint_<ContainerAllocator> >::stream(s, indent + " ", v.error); 00294 } 00295 }; 00296 00297 00298 } // namespace message_operations 00299 } // namespace ros 00300 00301 #endif // CONTROL_MSGS_MESSAGE_FOLLOWJOINTTRAJECTORYFEEDBACK_H 00302