$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/JointTrajectoryResult.msg */ 00002 #ifndef NAO_MSGS_MESSAGE_JOINTTRAJECTORYRESULT_H 00003 #define NAO_MSGS_MESSAGE_JOINTTRAJECTORYRESULT_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 "sensor_msgs/JointState.h" 00018 00019 namespace nao_msgs 00020 { 00021 template <class ContainerAllocator> 00022 struct JointTrajectoryResult_ { 00023 typedef JointTrajectoryResult_<ContainerAllocator> Type; 00024 00025 JointTrajectoryResult_() 00026 : goal_position() 00027 { 00028 } 00029 00030 JointTrajectoryResult_(const ContainerAllocator& _alloc) 00031 : goal_position(_alloc) 00032 { 00033 } 00034 00035 typedef ::sensor_msgs::JointState_<ContainerAllocator> _goal_position_type; 00036 ::sensor_msgs::JointState_<ContainerAllocator> goal_position; 00037 00038 00039 private: 00040 static const char* __s_getDataType_() { return "nao_msgs/JointTrajectoryResult"; } 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 "1c77b3d9dc137611510fd16c3b792046"; } 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 # result is the actually reached position\n\ 00056 sensor_msgs/JointState goal_position\n\ 00057 \n\ 00058 ================================================================================\n\ 00059 MSG: sensor_msgs/JointState\n\ 00060 # This is a message that holds data to describe the state of a set of torque controlled joints. \n\ 00061 #\n\ 00062 # The state of each joint (revolute or prismatic) is defined by:\n\ 00063 # * the position of the joint (rad or m),\n\ 00064 # * the velocity of the joint (rad/s or m/s) and \n\ 00065 # * the effort that is applied in the joint (Nm or N).\n\ 00066 #\n\ 00067 # Each joint is uniquely identified by its name\n\ 00068 # The header specifies the time at which the joint states were recorded. All the joint states\n\ 00069 # in one message have to be recorded at the same time.\n\ 00070 #\n\ 00071 # This message consists of a multiple arrays, one for each part of the joint state. \n\ 00072 # The goal is to make each of the fields optional. When e.g. your joints have no\n\ 00073 # effort associated with them, you can leave the effort array empty. \n\ 00074 #\n\ 00075 # All arrays in this message should have the same size, or be empty.\n\ 00076 # This is the only way to uniquely associate the joint name with the correct\n\ 00077 # states.\n\ 00078 \n\ 00079 \n\ 00080 Header header\n\ 00081 \n\ 00082 string[] name\n\ 00083 float64[] position\n\ 00084 float64[] velocity\n\ 00085 float64[] effort\n\ 00086 \n\ 00087 ================================================================================\n\ 00088 MSG: std_msgs/Header\n\ 00089 # Standard metadata for higher-level stamped data types.\n\ 00090 # This is generally used to communicate timestamped data \n\ 00091 # in a particular coordinate frame.\n\ 00092 # \n\ 00093 # sequence ID: consecutively increasing ID \n\ 00094 uint32 seq\n\ 00095 #Two-integer timestamp that is expressed as:\n\ 00096 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00097 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00098 # time-handling sugar is provided by the client library\n\ 00099 time stamp\n\ 00100 #Frame this data is associated with\n\ 00101 # 0: no frame\n\ 00102 # 1: global frame\n\ 00103 string frame_id\n\ 00104 \n\ 00105 "; } 00106 public: 00107 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00108 00109 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00110 00111 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00112 { 00113 ros::serialization::OStream stream(write_ptr, 1000000000); 00114 ros::serialization::serialize(stream, goal_position); 00115 return stream.getData(); 00116 } 00117 00118 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00119 { 00120 ros::serialization::IStream stream(read_ptr, 1000000000); 00121 ros::serialization::deserialize(stream, goal_position); 00122 return stream.getData(); 00123 } 00124 00125 ROS_DEPRECATED virtual uint32_t serializationLength() const 00126 { 00127 uint32_t size = 0; 00128 size += ros::serialization::serializationLength(goal_position); 00129 return size; 00130 } 00131 00132 typedef boost::shared_ptr< ::nao_msgs::JointTrajectoryResult_<ContainerAllocator> > Ptr; 00133 typedef boost::shared_ptr< ::nao_msgs::JointTrajectoryResult_<ContainerAllocator> const> ConstPtr; 00134 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00135 }; // struct JointTrajectoryResult 00136 typedef ::nao_msgs::JointTrajectoryResult_<std::allocator<void> > JointTrajectoryResult; 00137 00138 typedef boost::shared_ptr< ::nao_msgs::JointTrajectoryResult> JointTrajectoryResultPtr; 00139 typedef boost::shared_ptr< ::nao_msgs::JointTrajectoryResult const> JointTrajectoryResultConstPtr; 00140 00141 00142 template<typename ContainerAllocator> 00143 std::ostream& operator<<(std::ostream& s, const ::nao_msgs::JointTrajectoryResult_<ContainerAllocator> & v) 00144 { 00145 ros::message_operations::Printer< ::nao_msgs::JointTrajectoryResult_<ContainerAllocator> >::stream(s, "", v); 00146 return s;} 00147 00148 } // namespace nao_msgs 00149 00150 namespace ros 00151 { 00152 namespace message_traits 00153 { 00154 template<class ContainerAllocator> struct IsMessage< ::nao_msgs::JointTrajectoryResult_<ContainerAllocator> > : public TrueType {}; 00155 template<class ContainerAllocator> struct IsMessage< ::nao_msgs::JointTrajectoryResult_<ContainerAllocator> const> : public TrueType {}; 00156 template<class ContainerAllocator> 00157 struct MD5Sum< ::nao_msgs::JointTrajectoryResult_<ContainerAllocator> > { 00158 static const char* value() 00159 { 00160 return "1c77b3d9dc137611510fd16c3b792046"; 00161 } 00162 00163 static const char* value(const ::nao_msgs::JointTrajectoryResult_<ContainerAllocator> &) { return value(); } 00164 static const uint64_t static_value1 = 0x1c77b3d9dc137611ULL; 00165 static const uint64_t static_value2 = 0x510fd16c3b792046ULL; 00166 }; 00167 00168 template<class ContainerAllocator> 00169 struct DataType< ::nao_msgs::JointTrajectoryResult_<ContainerAllocator> > { 00170 static const char* value() 00171 { 00172 return "nao_msgs/JointTrajectoryResult"; 00173 } 00174 00175 static const char* value(const ::nao_msgs::JointTrajectoryResult_<ContainerAllocator> &) { return value(); } 00176 }; 00177 00178 template<class ContainerAllocator> 00179 struct Definition< ::nao_msgs::JointTrajectoryResult_<ContainerAllocator> > { 00180 static const char* value() 00181 { 00182 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00183 # result is the actually reached position\n\ 00184 sensor_msgs/JointState goal_position\n\ 00185 \n\ 00186 ================================================================================\n\ 00187 MSG: sensor_msgs/JointState\n\ 00188 # This is a message that holds data to describe the state of a set of torque controlled joints. \n\ 00189 #\n\ 00190 # The state of each joint (revolute or prismatic) is defined by:\n\ 00191 # * the position of the joint (rad or m),\n\ 00192 # * the velocity of the joint (rad/s or m/s) and \n\ 00193 # * the effort that is applied in the joint (Nm or N).\n\ 00194 #\n\ 00195 # Each joint is uniquely identified by its name\n\ 00196 # The header specifies the time at which the joint states were recorded. All the joint states\n\ 00197 # in one message have to be recorded at the same time.\n\ 00198 #\n\ 00199 # This message consists of a multiple arrays, one for each part of the joint state. \n\ 00200 # The goal is to make each of the fields optional. When e.g. your joints have no\n\ 00201 # effort associated with them, you can leave the effort array empty. \n\ 00202 #\n\ 00203 # All arrays in this message should have the same size, or be empty.\n\ 00204 # This is the only way to uniquely associate the joint name with the correct\n\ 00205 # states.\n\ 00206 \n\ 00207 \n\ 00208 Header header\n\ 00209 \n\ 00210 string[] name\n\ 00211 float64[] position\n\ 00212 float64[] velocity\n\ 00213 float64[] effort\n\ 00214 \n\ 00215 ================================================================================\n\ 00216 MSG: std_msgs/Header\n\ 00217 # Standard metadata for higher-level stamped data types.\n\ 00218 # This is generally used to communicate timestamped data \n\ 00219 # in a particular coordinate frame.\n\ 00220 # \n\ 00221 # sequence ID: consecutively increasing ID \n\ 00222 uint32 seq\n\ 00223 #Two-integer timestamp that is expressed as:\n\ 00224 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00225 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00226 # time-handling sugar is provided by the client library\n\ 00227 time stamp\n\ 00228 #Frame this data is associated with\n\ 00229 # 0: no frame\n\ 00230 # 1: global frame\n\ 00231 string frame_id\n\ 00232 \n\ 00233 "; 00234 } 00235 00236 static const char* value(const ::nao_msgs::JointTrajectoryResult_<ContainerAllocator> &) { return value(); } 00237 }; 00238 00239 } // namespace message_traits 00240 } // namespace ros 00241 00242 namespace ros 00243 { 00244 namespace serialization 00245 { 00246 00247 template<class ContainerAllocator> struct Serializer< ::nao_msgs::JointTrajectoryResult_<ContainerAllocator> > 00248 { 00249 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00250 { 00251 stream.next(m.goal_position); 00252 } 00253 00254 ROS_DECLARE_ALLINONE_SERIALIZER; 00255 }; // struct JointTrajectoryResult_ 00256 } // namespace serialization 00257 } // namespace ros 00258 00259 namespace ros 00260 { 00261 namespace message_operations 00262 { 00263 00264 template<class ContainerAllocator> 00265 struct Printer< ::nao_msgs::JointTrajectoryResult_<ContainerAllocator> > 00266 { 00267 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::nao_msgs::JointTrajectoryResult_<ContainerAllocator> & v) 00268 { 00269 s << indent << "goal_position: "; 00270 s << std::endl; 00271 Printer< ::sensor_msgs::JointState_<ContainerAllocator> >::stream(s, indent + " ", v.goal_position); 00272 } 00273 }; 00274 00275 00276 } // namespace message_operations 00277 } // namespace ros 00278 00279 #endif // NAO_MSGS_MESSAGE_JOINTTRAJECTORYRESULT_H 00280