$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-uos/doc_stacks/2013-03-05_12-26-08.414952/katana_driver/katana_msgs/msg/JointMovementActionGoal.msg */ 00002 #ifndef KATANA_MSGS_MESSAGE_JOINTMOVEMENTACTIONGOAL_H 00003 #define KATANA_MSGS_MESSAGE_JOINTMOVEMENTACTIONGOAL_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 "katana_msgs/JointMovementGoal.h" 00020 00021 namespace katana_msgs 00022 { 00023 template <class ContainerAllocator> 00024 struct JointMovementActionGoal_ { 00025 typedef JointMovementActionGoal_<ContainerAllocator> Type; 00026 00027 JointMovementActionGoal_() 00028 : header() 00029 , goal_id() 00030 , goal() 00031 { 00032 } 00033 00034 JointMovementActionGoal_(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 ::katana_msgs::JointMovementGoal_<ContainerAllocator> _goal_type; 00048 ::katana_msgs::JointMovementGoal_<ContainerAllocator> goal; 00049 00050 00051 private: 00052 static const char* __s_getDataType_() { return "katana_msgs/JointMovementActionGoal"; } 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 "2b6e9b9692b7ab0a124ca0558966f79a"; } 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 JointMovementGoal 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: katana_msgs/JointMovementGoal\n\ 00105 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00106 #goal definition\n\ 00107 sensor_msgs/JointState jointGoal\n\ 00108 \n\ 00109 ================================================================================\n\ 00110 MSG: sensor_msgs/JointState\n\ 00111 # This is a message that holds data to describe the state of a set of torque controlled joints. \n\ 00112 #\n\ 00113 # The state of each joint (revolute or prismatic) is defined by:\n\ 00114 # * the position of the joint (rad or m),\n\ 00115 # * the velocity of the joint (rad/s or m/s) and \n\ 00116 # * the effort that is applied in the joint (Nm or N).\n\ 00117 #\n\ 00118 # Each joint is uniquely identified by its name\n\ 00119 # The header specifies the time at which the joint states were recorded. All the joint states\n\ 00120 # in one message have to be recorded at the same time.\n\ 00121 #\n\ 00122 # This message consists of a multiple arrays, one for each part of the joint state. \n\ 00123 # The goal is to make each of the fields optional. When e.g. your joints have no\n\ 00124 # effort associated with them, you can leave the effort array empty. \n\ 00125 #\n\ 00126 # All arrays in this message should have the same size, or be empty.\n\ 00127 # This is the only way to uniquely associate the joint name with the correct\n\ 00128 # states.\n\ 00129 \n\ 00130 \n\ 00131 Header header\n\ 00132 \n\ 00133 string[] name\n\ 00134 float64[] position\n\ 00135 float64[] velocity\n\ 00136 float64[] effort\n\ 00137 \n\ 00138 "; } 00139 public: 00140 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00141 00142 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00143 00144 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00145 { 00146 ros::serialization::OStream stream(write_ptr, 1000000000); 00147 ros::serialization::serialize(stream, header); 00148 ros::serialization::serialize(stream, goal_id); 00149 ros::serialization::serialize(stream, goal); 00150 return stream.getData(); 00151 } 00152 00153 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00154 { 00155 ros::serialization::IStream stream(read_ptr, 1000000000); 00156 ros::serialization::deserialize(stream, header); 00157 ros::serialization::deserialize(stream, goal_id); 00158 ros::serialization::deserialize(stream, goal); 00159 return stream.getData(); 00160 } 00161 00162 ROS_DEPRECATED virtual uint32_t serializationLength() const 00163 { 00164 uint32_t size = 0; 00165 size += ros::serialization::serializationLength(header); 00166 size += ros::serialization::serializationLength(goal_id); 00167 size += ros::serialization::serializationLength(goal); 00168 return size; 00169 } 00170 00171 typedef boost::shared_ptr< ::katana_msgs::JointMovementActionGoal_<ContainerAllocator> > Ptr; 00172 typedef boost::shared_ptr< ::katana_msgs::JointMovementActionGoal_<ContainerAllocator> const> ConstPtr; 00173 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00174 }; // struct JointMovementActionGoal 00175 typedef ::katana_msgs::JointMovementActionGoal_<std::allocator<void> > JointMovementActionGoal; 00176 00177 typedef boost::shared_ptr< ::katana_msgs::JointMovementActionGoal> JointMovementActionGoalPtr; 00178 typedef boost::shared_ptr< ::katana_msgs::JointMovementActionGoal const> JointMovementActionGoalConstPtr; 00179 00180 00181 template<typename ContainerAllocator> 00182 std::ostream& operator<<(std::ostream& s, const ::katana_msgs::JointMovementActionGoal_<ContainerAllocator> & v) 00183 { 00184 ros::message_operations::Printer< ::katana_msgs::JointMovementActionGoal_<ContainerAllocator> >::stream(s, "", v); 00185 return s;} 00186 00187 } // namespace katana_msgs 00188 00189 namespace ros 00190 { 00191 namespace message_traits 00192 { 00193 template<class ContainerAllocator> struct IsMessage< ::katana_msgs::JointMovementActionGoal_<ContainerAllocator> > : public TrueType {}; 00194 template<class ContainerAllocator> struct IsMessage< ::katana_msgs::JointMovementActionGoal_<ContainerAllocator> const> : public TrueType {}; 00195 template<class ContainerAllocator> 00196 struct MD5Sum< ::katana_msgs::JointMovementActionGoal_<ContainerAllocator> > { 00197 static const char* value() 00198 { 00199 return "2b6e9b9692b7ab0a124ca0558966f79a"; 00200 } 00201 00202 static const char* value(const ::katana_msgs::JointMovementActionGoal_<ContainerAllocator> &) { return value(); } 00203 static const uint64_t static_value1 = 0x2b6e9b9692b7ab0aULL; 00204 static const uint64_t static_value2 = 0x124ca0558966f79aULL; 00205 }; 00206 00207 template<class ContainerAllocator> 00208 struct DataType< ::katana_msgs::JointMovementActionGoal_<ContainerAllocator> > { 00209 static const char* value() 00210 { 00211 return "katana_msgs/JointMovementActionGoal"; 00212 } 00213 00214 static const char* value(const ::katana_msgs::JointMovementActionGoal_<ContainerAllocator> &) { return value(); } 00215 }; 00216 00217 template<class ContainerAllocator> 00218 struct Definition< ::katana_msgs::JointMovementActionGoal_<ContainerAllocator> > { 00219 static const char* value() 00220 { 00221 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00222 \n\ 00223 Header header\n\ 00224 actionlib_msgs/GoalID goal_id\n\ 00225 JointMovementGoal goal\n\ 00226 \n\ 00227 ================================================================================\n\ 00228 MSG: std_msgs/Header\n\ 00229 # Standard metadata for higher-level stamped data types.\n\ 00230 # This is generally used to communicate timestamped data \n\ 00231 # in a particular coordinate frame.\n\ 00232 # \n\ 00233 # sequence ID: consecutively increasing ID \n\ 00234 uint32 seq\n\ 00235 #Two-integer timestamp that is expressed as:\n\ 00236 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00237 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00238 # time-handling sugar is provided by the client library\n\ 00239 time stamp\n\ 00240 #Frame this data is associated with\n\ 00241 # 0: no frame\n\ 00242 # 1: global frame\n\ 00243 string frame_id\n\ 00244 \n\ 00245 ================================================================================\n\ 00246 MSG: actionlib_msgs/GoalID\n\ 00247 # The stamp should store the time at which this goal was requested.\n\ 00248 # It is used by an action server when it tries to preempt all\n\ 00249 # goals that were requested before a certain time\n\ 00250 time stamp\n\ 00251 \n\ 00252 # The id provides a way to associate feedback and\n\ 00253 # result message with specific goal requests. The id\n\ 00254 # specified must be unique.\n\ 00255 string id\n\ 00256 \n\ 00257 \n\ 00258 ================================================================================\n\ 00259 MSG: katana_msgs/JointMovementGoal\n\ 00260 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00261 #goal definition\n\ 00262 sensor_msgs/JointState jointGoal\n\ 00263 \n\ 00264 ================================================================================\n\ 00265 MSG: sensor_msgs/JointState\n\ 00266 # This is a message that holds data to describe the state of a set of torque controlled joints. \n\ 00267 #\n\ 00268 # The state of each joint (revolute or prismatic) is defined by:\n\ 00269 # * the position of the joint (rad or m),\n\ 00270 # * the velocity of the joint (rad/s or m/s) and \n\ 00271 # * the effort that is applied in the joint (Nm or N).\n\ 00272 #\n\ 00273 # Each joint is uniquely identified by its name\n\ 00274 # The header specifies the time at which the joint states were recorded. All the joint states\n\ 00275 # in one message have to be recorded at the same time.\n\ 00276 #\n\ 00277 # This message consists of a multiple arrays, one for each part of the joint state. \n\ 00278 # The goal is to make each of the fields optional. When e.g. your joints have no\n\ 00279 # effort associated with them, you can leave the effort array empty. \n\ 00280 #\n\ 00281 # All arrays in this message should have the same size, or be empty.\n\ 00282 # This is the only way to uniquely associate the joint name with the correct\n\ 00283 # states.\n\ 00284 \n\ 00285 \n\ 00286 Header header\n\ 00287 \n\ 00288 string[] name\n\ 00289 float64[] position\n\ 00290 float64[] velocity\n\ 00291 float64[] effort\n\ 00292 \n\ 00293 "; 00294 } 00295 00296 static const char* value(const ::katana_msgs::JointMovementActionGoal_<ContainerAllocator> &) { return value(); } 00297 }; 00298 00299 template<class ContainerAllocator> struct HasHeader< ::katana_msgs::JointMovementActionGoal_<ContainerAllocator> > : public TrueType {}; 00300 template<class ContainerAllocator> struct HasHeader< const ::katana_msgs::JointMovementActionGoal_<ContainerAllocator> > : public TrueType {}; 00301 } // namespace message_traits 00302 } // namespace ros 00303 00304 namespace ros 00305 { 00306 namespace serialization 00307 { 00308 00309 template<class ContainerAllocator> struct Serializer< ::katana_msgs::JointMovementActionGoal_<ContainerAllocator> > 00310 { 00311 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00312 { 00313 stream.next(m.header); 00314 stream.next(m.goal_id); 00315 stream.next(m.goal); 00316 } 00317 00318 ROS_DECLARE_ALLINONE_SERIALIZER; 00319 }; // struct JointMovementActionGoal_ 00320 } // namespace serialization 00321 } // namespace ros 00322 00323 namespace ros 00324 { 00325 namespace message_operations 00326 { 00327 00328 template<class ContainerAllocator> 00329 struct Printer< ::katana_msgs::JointMovementActionGoal_<ContainerAllocator> > 00330 { 00331 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::katana_msgs::JointMovementActionGoal_<ContainerAllocator> & v) 00332 { 00333 s << indent << "header: "; 00334 s << std::endl; 00335 Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + " ", v.header); 00336 s << indent << "goal_id: "; 00337 s << std::endl; 00338 Printer< ::actionlib_msgs::GoalID_<ContainerAllocator> >::stream(s, indent + " ", v.goal_id); 00339 s << indent << "goal: "; 00340 s << std::endl; 00341 Printer< ::katana_msgs::JointMovementGoal_<ContainerAllocator> >::stream(s, indent + " ", v.goal); 00342 } 00343 }; 00344 00345 00346 } // namespace message_operations 00347 } // namespace ros 00348 00349 #endif // KATANA_MSGS_MESSAGE_JOINTMOVEMENTACTIONGOAL_H 00350