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