$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-alufr-humanoid_stacks/doc_stacks/2013-03-05_11-28-06.315559/nao_robot/nao_msgs/msg/JointTrajectoryGoal.msg */ 00002 #ifndef NAO_MSGS_MESSAGE_JOINTTRAJECTORYGOAL_H 00003 #define NAO_MSGS_MESSAGE_JOINTTRAJECTORYGOAL_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 "trajectory_msgs/JointTrajectory.h" 00018 00019 namespace nao_msgs 00020 { 00021 template <class ContainerAllocator> 00022 struct JointTrajectoryGoal_ { 00023 typedef JointTrajectoryGoal_<ContainerAllocator> Type; 00024 00025 JointTrajectoryGoal_() 00026 : trajectory() 00027 , relative(0) 00028 { 00029 } 00030 00031 JointTrajectoryGoal_(const ContainerAllocator& _alloc) 00032 : trajectory(_alloc) 00033 , relative(0) 00034 { 00035 } 00036 00037 typedef ::trajectory_msgs::JointTrajectory_<ContainerAllocator> _trajectory_type; 00038 ::trajectory_msgs::JointTrajectory_<ContainerAllocator> trajectory; 00039 00040 typedef uint8_t _relative_type; 00041 uint8_t relative; 00042 00043 00044 private: 00045 static const char* __s_getDataType_() { return "nao_msgs/JointTrajectoryGoal"; } 00046 public: 00047 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00048 00049 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00050 00051 private: 00052 static const char* __s_getMD5Sum_() { return "d206ff6714336d8099e6c534bc7eb204"; } 00053 public: 00054 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00055 00056 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00057 00058 private: 00059 static const char* __s_getMessageDefinition_() { return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00060 # goal: a joint angle trajectory\n\ 00061 trajectory_msgs/JointTrajectory trajectory\n\ 00062 # flag whether motion is absolute (=0, default) or relative (=1)\n\ 00063 uint8 relative\n\ 00064 \n\ 00065 ================================================================================\n\ 00066 MSG: trajectory_msgs/JointTrajectory\n\ 00067 Header header\n\ 00068 string[] joint_names\n\ 00069 JointTrajectoryPoint[] points\n\ 00070 ================================================================================\n\ 00071 MSG: std_msgs/Header\n\ 00072 # Standard metadata for higher-level stamped data types.\n\ 00073 # This is generally used to communicate timestamped data \n\ 00074 # in a particular coordinate frame.\n\ 00075 # \n\ 00076 # sequence ID: consecutively increasing ID \n\ 00077 uint32 seq\n\ 00078 #Two-integer timestamp that is expressed as:\n\ 00079 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00080 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00081 # time-handling sugar is provided by the client library\n\ 00082 time stamp\n\ 00083 #Frame this data is associated with\n\ 00084 # 0: no frame\n\ 00085 # 1: global frame\n\ 00086 string frame_id\n\ 00087 \n\ 00088 ================================================================================\n\ 00089 MSG: trajectory_msgs/JointTrajectoryPoint\n\ 00090 float64[] positions\n\ 00091 float64[] velocities\n\ 00092 float64[] accelerations\n\ 00093 duration time_from_start\n\ 00094 "; } 00095 public: 00096 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00097 00098 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00099 00100 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00101 { 00102 ros::serialization::OStream stream(write_ptr, 1000000000); 00103 ros::serialization::serialize(stream, trajectory); 00104 ros::serialization::serialize(stream, relative); 00105 return stream.getData(); 00106 } 00107 00108 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00109 { 00110 ros::serialization::IStream stream(read_ptr, 1000000000); 00111 ros::serialization::deserialize(stream, trajectory); 00112 ros::serialization::deserialize(stream, relative); 00113 return stream.getData(); 00114 } 00115 00116 ROS_DEPRECATED virtual uint32_t serializationLength() const 00117 { 00118 uint32_t size = 0; 00119 size += ros::serialization::serializationLength(trajectory); 00120 size += ros::serialization::serializationLength(relative); 00121 return size; 00122 } 00123 00124 typedef boost::shared_ptr< ::nao_msgs::JointTrajectoryGoal_<ContainerAllocator> > Ptr; 00125 typedef boost::shared_ptr< ::nao_msgs::JointTrajectoryGoal_<ContainerAllocator> const> ConstPtr; 00126 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00127 }; // struct JointTrajectoryGoal 00128 typedef ::nao_msgs::JointTrajectoryGoal_<std::allocator<void> > JointTrajectoryGoal; 00129 00130 typedef boost::shared_ptr< ::nao_msgs::JointTrajectoryGoal> JointTrajectoryGoalPtr; 00131 typedef boost::shared_ptr< ::nao_msgs::JointTrajectoryGoal const> JointTrajectoryGoalConstPtr; 00132 00133 00134 template<typename ContainerAllocator> 00135 std::ostream& operator<<(std::ostream& s, const ::nao_msgs::JointTrajectoryGoal_<ContainerAllocator> & v) 00136 { 00137 ros::message_operations::Printer< ::nao_msgs::JointTrajectoryGoal_<ContainerAllocator> >::stream(s, "", v); 00138 return s;} 00139 00140 } // namespace nao_msgs 00141 00142 namespace ros 00143 { 00144 namespace message_traits 00145 { 00146 template<class ContainerAllocator> struct IsMessage< ::nao_msgs::JointTrajectoryGoal_<ContainerAllocator> > : public TrueType {}; 00147 template<class ContainerAllocator> struct IsMessage< ::nao_msgs::JointTrajectoryGoal_<ContainerAllocator> const> : public TrueType {}; 00148 template<class ContainerAllocator> 00149 struct MD5Sum< ::nao_msgs::JointTrajectoryGoal_<ContainerAllocator> > { 00150 static const char* value() 00151 { 00152 return "d206ff6714336d8099e6c534bc7eb204"; 00153 } 00154 00155 static const char* value(const ::nao_msgs::JointTrajectoryGoal_<ContainerAllocator> &) { return value(); } 00156 static const uint64_t static_value1 = 0xd206ff6714336d80ULL; 00157 static const uint64_t static_value2 = 0x99e6c534bc7eb204ULL; 00158 }; 00159 00160 template<class ContainerAllocator> 00161 struct DataType< ::nao_msgs::JointTrajectoryGoal_<ContainerAllocator> > { 00162 static const char* value() 00163 { 00164 return "nao_msgs/JointTrajectoryGoal"; 00165 } 00166 00167 static const char* value(const ::nao_msgs::JointTrajectoryGoal_<ContainerAllocator> &) { return value(); } 00168 }; 00169 00170 template<class ContainerAllocator> 00171 struct Definition< ::nao_msgs::JointTrajectoryGoal_<ContainerAllocator> > { 00172 static const char* value() 00173 { 00174 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00175 # goal: a joint angle trajectory\n\ 00176 trajectory_msgs/JointTrajectory trajectory\n\ 00177 # flag whether motion is absolute (=0, default) or relative (=1)\n\ 00178 uint8 relative\n\ 00179 \n\ 00180 ================================================================================\n\ 00181 MSG: trajectory_msgs/JointTrajectory\n\ 00182 Header header\n\ 00183 string[] joint_names\n\ 00184 JointTrajectoryPoint[] points\n\ 00185 ================================================================================\n\ 00186 MSG: std_msgs/Header\n\ 00187 # Standard metadata for higher-level stamped data types.\n\ 00188 # This is generally used to communicate timestamped data \n\ 00189 # in a particular coordinate frame.\n\ 00190 # \n\ 00191 # sequence ID: consecutively increasing ID \n\ 00192 uint32 seq\n\ 00193 #Two-integer timestamp that is expressed as:\n\ 00194 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00195 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00196 # time-handling sugar is provided by the client library\n\ 00197 time stamp\n\ 00198 #Frame this data is associated with\n\ 00199 # 0: no frame\n\ 00200 # 1: global frame\n\ 00201 string frame_id\n\ 00202 \n\ 00203 ================================================================================\n\ 00204 MSG: trajectory_msgs/JointTrajectoryPoint\n\ 00205 float64[] positions\n\ 00206 float64[] velocities\n\ 00207 float64[] accelerations\n\ 00208 duration time_from_start\n\ 00209 "; 00210 } 00211 00212 static const char* value(const ::nao_msgs::JointTrajectoryGoal_<ContainerAllocator> &) { return value(); } 00213 }; 00214 00215 } // namespace message_traits 00216 } // namespace ros 00217 00218 namespace ros 00219 { 00220 namespace serialization 00221 { 00222 00223 template<class ContainerAllocator> struct Serializer< ::nao_msgs::JointTrajectoryGoal_<ContainerAllocator> > 00224 { 00225 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00226 { 00227 stream.next(m.trajectory); 00228 stream.next(m.relative); 00229 } 00230 00231 ROS_DECLARE_ALLINONE_SERIALIZER; 00232 }; // struct JointTrajectoryGoal_ 00233 } // namespace serialization 00234 } // namespace ros 00235 00236 namespace ros 00237 { 00238 namespace message_operations 00239 { 00240 00241 template<class ContainerAllocator> 00242 struct Printer< ::nao_msgs::JointTrajectoryGoal_<ContainerAllocator> > 00243 { 00244 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::nao_msgs::JointTrajectoryGoal_<ContainerAllocator> & v) 00245 { 00246 s << indent << "trajectory: "; 00247 s << std::endl; 00248 Printer< ::trajectory_msgs::JointTrajectory_<ContainerAllocator> >::stream(s, indent + " ", v.trajectory); 00249 s << indent << "relative: "; 00250 Printer<uint8_t>::stream(s, indent + " ", v.relative); 00251 } 00252 }; 00253 00254 00255 } // namespace message_operations 00256 } // namespace ros 00257 00258 #endif // NAO_MSGS_MESSAGE_JOINTTRAJECTORYGOAL_H 00259