$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/JointAnglesWithSpeedActionGoal.msg */ 00002 #ifndef NAO_MSGS_MESSAGE_JOINTANGLESWITHSPEEDACTIONGOAL_H 00003 #define NAO_MSGS_MESSAGE_JOINTANGLESWITHSPEEDACTIONGOAL_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 "actionlib_msgs/GoalID.h" 00019 #include "nao_msgs/JointAnglesWithSpeedGoal.h" 00020 00021 namespace nao_msgs 00022 { 00023 template <class ContainerAllocator> 00024 struct JointAnglesWithSpeedActionGoal_ { 00025 typedef JointAnglesWithSpeedActionGoal_<ContainerAllocator> Type; 00026 00027 JointAnglesWithSpeedActionGoal_() 00028 : header() 00029 , goal_id() 00030 , goal() 00031 { 00032 } 00033 00034 JointAnglesWithSpeedActionGoal_(const ContainerAllocator& _alloc) 00035 : header(_alloc) 00036 , goal_id(_alloc) 00037 , goal(_alloc) 00038 { 00039 } 00040 00041 typedef ::std_msgs::Header_<ContainerAllocator> _header_type; 00042 ::std_msgs::Header_<ContainerAllocator> header; 00043 00044 typedef ::actionlib_msgs::GoalID_<ContainerAllocator> _goal_id_type; 00045 ::actionlib_msgs::GoalID_<ContainerAllocator> goal_id; 00046 00047 typedef ::nao_msgs::JointAnglesWithSpeedGoal_<ContainerAllocator> _goal_type; 00048 ::nao_msgs::JointAnglesWithSpeedGoal_<ContainerAllocator> goal; 00049 00050 00051 private: 00052 static const char* __s_getDataType_() { return "nao_msgs/JointAnglesWithSpeedActionGoal"; } 00053 public: 00054 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00055 00056 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00057 00058 private: 00059 static const char* __s_getMD5Sum_() { return "9b722e9749aa53fc0e8ca7aa12e95efb"; } 00060 public: 00061 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00062 00063 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00064 00065 private: 00066 static const char* __s_getMessageDefinition_() { return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00067 \n\ 00068 Header header\n\ 00069 actionlib_msgs/GoalID goal_id\n\ 00070 JointAnglesWithSpeedGoal goal\n\ 00071 \n\ 00072 ================================================================================\n\ 00073 MSG: std_msgs/Header\n\ 00074 # Standard metadata for higher-level stamped data types.\n\ 00075 # This is generally used to communicate timestamped data \n\ 00076 # in a particular coordinate frame.\n\ 00077 # \n\ 00078 # sequence ID: consecutively increasing ID \n\ 00079 uint32 seq\n\ 00080 #Two-integer timestamp that is expressed as:\n\ 00081 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00082 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00083 # time-handling sugar is provided by the client library\n\ 00084 time stamp\n\ 00085 #Frame this data is associated with\n\ 00086 # 0: no frame\n\ 00087 # 1: global frame\n\ 00088 string frame_id\n\ 00089 \n\ 00090 ================================================================================\n\ 00091 MSG: actionlib_msgs/GoalID\n\ 00092 # The stamp should store the time at which this goal was requested.\n\ 00093 # It is used by an action server when it tries to preempt all\n\ 00094 # goals that were requested before a certain time\n\ 00095 time stamp\n\ 00096 \n\ 00097 # The id provides a way to associate feedback and\n\ 00098 # result message with specific goal requests. The id\n\ 00099 # specified must be unique.\n\ 00100 string id\n\ 00101 \n\ 00102 \n\ 00103 ================================================================================\n\ 00104 MSG: nao_msgs/JointAnglesWithSpeedGoal\n\ 00105 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00106 # goal: a registered body pose name\n\ 00107 nao_msgs/JointAnglesWithSpeed joint_angles\n\ 00108 \n\ 00109 ================================================================================\n\ 00110 MSG: nao_msgs/JointAnglesWithSpeed\n\ 00111 Header header\n\ 00112 \n\ 00113 # A list of joint names, corresponding to their names in the Nao docs.\n\ 00114 # This must be either the same lenght of joint_angles or 1 if it's a\n\ 00115 # keyword such as 'Body' (for all angles)\n\ 00116 string[] joint_names\n\ 00117 float32[] joint_angles\n\ 00118 \n\ 00119 #fraction of max joint velocity [0:1]\n\ 00120 float32 speed\n\ 00121 \n\ 00122 # Absolute angle(=0, default) or relative change\n\ 00123 uint8 relative\n\ 00124 \n\ 00125 "; } 00126 public: 00127 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00128 00129 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00130 00131 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00132 { 00133 ros::serialization::OStream stream(write_ptr, 1000000000); 00134 ros::serialization::serialize(stream, header); 00135 ros::serialization::serialize(stream, goal_id); 00136 ros::serialization::serialize(stream, goal); 00137 return stream.getData(); 00138 } 00139 00140 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00141 { 00142 ros::serialization::IStream stream(read_ptr, 1000000000); 00143 ros::serialization::deserialize(stream, header); 00144 ros::serialization::deserialize(stream, goal_id); 00145 ros::serialization::deserialize(stream, goal); 00146 return stream.getData(); 00147 } 00148 00149 ROS_DEPRECATED virtual uint32_t serializationLength() const 00150 { 00151 uint32_t size = 0; 00152 size += ros::serialization::serializationLength(header); 00153 size += ros::serialization::serializationLength(goal_id); 00154 size += ros::serialization::serializationLength(goal); 00155 return size; 00156 } 00157 00158 typedef boost::shared_ptr< ::nao_msgs::JointAnglesWithSpeedActionGoal_<ContainerAllocator> > Ptr; 00159 typedef boost::shared_ptr< ::nao_msgs::JointAnglesWithSpeedActionGoal_<ContainerAllocator> const> ConstPtr; 00160 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00161 }; // struct JointAnglesWithSpeedActionGoal 00162 typedef ::nao_msgs::JointAnglesWithSpeedActionGoal_<std::allocator<void> > JointAnglesWithSpeedActionGoal; 00163 00164 typedef boost::shared_ptr< ::nao_msgs::JointAnglesWithSpeedActionGoal> JointAnglesWithSpeedActionGoalPtr; 00165 typedef boost::shared_ptr< ::nao_msgs::JointAnglesWithSpeedActionGoal const> JointAnglesWithSpeedActionGoalConstPtr; 00166 00167 00168 template<typename ContainerAllocator> 00169 std::ostream& operator<<(std::ostream& s, const ::nao_msgs::JointAnglesWithSpeedActionGoal_<ContainerAllocator> & v) 00170 { 00171 ros::message_operations::Printer< ::nao_msgs::JointAnglesWithSpeedActionGoal_<ContainerAllocator> >::stream(s, "", v); 00172 return s;} 00173 00174 } // namespace nao_msgs 00175 00176 namespace ros 00177 { 00178 namespace message_traits 00179 { 00180 template<class ContainerAllocator> struct IsMessage< ::nao_msgs::JointAnglesWithSpeedActionGoal_<ContainerAllocator> > : public TrueType {}; 00181 template<class ContainerAllocator> struct IsMessage< ::nao_msgs::JointAnglesWithSpeedActionGoal_<ContainerAllocator> const> : public TrueType {}; 00182 template<class ContainerAllocator> 00183 struct MD5Sum< ::nao_msgs::JointAnglesWithSpeedActionGoal_<ContainerAllocator> > { 00184 static const char* value() 00185 { 00186 return "9b722e9749aa53fc0e8ca7aa12e95efb"; 00187 } 00188 00189 static const char* value(const ::nao_msgs::JointAnglesWithSpeedActionGoal_<ContainerAllocator> &) { return value(); } 00190 static const uint64_t static_value1 = 0x9b722e9749aa53fcULL; 00191 static const uint64_t static_value2 = 0x0e8ca7aa12e95efbULL; 00192 }; 00193 00194 template<class ContainerAllocator> 00195 struct DataType< ::nao_msgs::JointAnglesWithSpeedActionGoal_<ContainerAllocator> > { 00196 static const char* value() 00197 { 00198 return "nao_msgs/JointAnglesWithSpeedActionGoal"; 00199 } 00200 00201 static const char* value(const ::nao_msgs::JointAnglesWithSpeedActionGoal_<ContainerAllocator> &) { return value(); } 00202 }; 00203 00204 template<class ContainerAllocator> 00205 struct Definition< ::nao_msgs::JointAnglesWithSpeedActionGoal_<ContainerAllocator> > { 00206 static const char* value() 00207 { 00208 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00209 \n\ 00210 Header header\n\ 00211 actionlib_msgs/GoalID goal_id\n\ 00212 JointAnglesWithSpeedGoal goal\n\ 00213 \n\ 00214 ================================================================================\n\ 00215 MSG: std_msgs/Header\n\ 00216 # Standard metadata for higher-level stamped data types.\n\ 00217 # This is generally used to communicate timestamped data \n\ 00218 # in a particular coordinate frame.\n\ 00219 # \n\ 00220 # sequence ID: consecutively increasing ID \n\ 00221 uint32 seq\n\ 00222 #Two-integer timestamp that is expressed as:\n\ 00223 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00224 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00225 # time-handling sugar is provided by the client library\n\ 00226 time stamp\n\ 00227 #Frame this data is associated with\n\ 00228 # 0: no frame\n\ 00229 # 1: global frame\n\ 00230 string frame_id\n\ 00231 \n\ 00232 ================================================================================\n\ 00233 MSG: actionlib_msgs/GoalID\n\ 00234 # The stamp should store the time at which this goal was requested.\n\ 00235 # It is used by an action server when it tries to preempt all\n\ 00236 # goals that were requested before a certain time\n\ 00237 time stamp\n\ 00238 \n\ 00239 # The id provides a way to associate feedback and\n\ 00240 # result message with specific goal requests. The id\n\ 00241 # specified must be unique.\n\ 00242 string id\n\ 00243 \n\ 00244 \n\ 00245 ================================================================================\n\ 00246 MSG: nao_msgs/JointAnglesWithSpeedGoal\n\ 00247 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00248 # goal: a registered body pose name\n\ 00249 nao_msgs/JointAnglesWithSpeed joint_angles\n\ 00250 \n\ 00251 ================================================================================\n\ 00252 MSG: nao_msgs/JointAnglesWithSpeed\n\ 00253 Header header\n\ 00254 \n\ 00255 # A list of joint names, corresponding to their names in the Nao docs.\n\ 00256 # This must be either the same lenght of joint_angles or 1 if it's a\n\ 00257 # keyword such as 'Body' (for all angles)\n\ 00258 string[] joint_names\n\ 00259 float32[] joint_angles\n\ 00260 \n\ 00261 #fraction of max joint velocity [0:1]\n\ 00262 float32 speed\n\ 00263 \n\ 00264 # Absolute angle(=0, default) or relative change\n\ 00265 uint8 relative\n\ 00266 \n\ 00267 "; 00268 } 00269 00270 static const char* value(const ::nao_msgs::JointAnglesWithSpeedActionGoal_<ContainerAllocator> &) { return value(); } 00271 }; 00272 00273 template<class ContainerAllocator> struct HasHeader< ::nao_msgs::JointAnglesWithSpeedActionGoal_<ContainerAllocator> > : public TrueType {}; 00274 template<class ContainerAllocator> struct HasHeader< const ::nao_msgs::JointAnglesWithSpeedActionGoal_<ContainerAllocator> > : public TrueType {}; 00275 } // namespace message_traits 00276 } // namespace ros 00277 00278 namespace ros 00279 { 00280 namespace serialization 00281 { 00282 00283 template<class ContainerAllocator> struct Serializer< ::nao_msgs::JointAnglesWithSpeedActionGoal_<ContainerAllocator> > 00284 { 00285 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00286 { 00287 stream.next(m.header); 00288 stream.next(m.goal_id); 00289 stream.next(m.goal); 00290 } 00291 00292 ROS_DECLARE_ALLINONE_SERIALIZER; 00293 }; // struct JointAnglesWithSpeedActionGoal_ 00294 } // namespace serialization 00295 } // namespace ros 00296 00297 namespace ros 00298 { 00299 namespace message_operations 00300 { 00301 00302 template<class ContainerAllocator> 00303 struct Printer< ::nao_msgs::JointAnglesWithSpeedActionGoal_<ContainerAllocator> > 00304 { 00305 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::nao_msgs::JointAnglesWithSpeedActionGoal_<ContainerAllocator> & v) 00306 { 00307 s << indent << "header: "; 00308 s << std::endl; 00309 Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + " ", v.header); 00310 s << indent << "goal_id: "; 00311 s << std::endl; 00312 Printer< ::actionlib_msgs::GoalID_<ContainerAllocator> >::stream(s, indent + " ", v.goal_id); 00313 s << indent << "goal: "; 00314 s << std::endl; 00315 Printer< ::nao_msgs::JointAnglesWithSpeedGoal_<ContainerAllocator> >::stream(s, indent + " ", v.goal); 00316 } 00317 }; 00318 00319 00320 } // namespace message_operations 00321 } // namespace ros 00322 00323 #endif // NAO_MSGS_MESSAGE_JOINTANGLESWITHSPEEDACTIONGOAL_H 00324