$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-pr2_calibration/doc_stacks/2013-03-01_16-35-11.769043/pr2_calibration/joint_states_settler/msg/ConfigActionGoal.msg */ 00002 #ifndef JOINT_STATES_SETTLER_MESSAGE_CONFIGACTIONGOAL_H 00003 #define JOINT_STATES_SETTLER_MESSAGE_CONFIGACTIONGOAL_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 "joint_states_settler/ConfigGoal.h" 00020 00021 namespace joint_states_settler 00022 { 00023 template <class ContainerAllocator> 00024 struct ConfigActionGoal_ { 00025 typedef ConfigActionGoal_<ContainerAllocator> Type; 00026 00027 ConfigActionGoal_() 00028 : header() 00029 , goal_id() 00030 , goal() 00031 { 00032 } 00033 00034 ConfigActionGoal_(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 ::joint_states_settler::ConfigGoal_<ContainerAllocator> _goal_type; 00048 ::joint_states_settler::ConfigGoal_<ContainerAllocator> goal; 00049 00050 00051 private: 00052 static const char* __s_getDataType_() { return "joint_states_settler/ConfigActionGoal"; } 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 "f19566577bee3cc11a5cee78c14228fe"; } 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 "\n\ 00067 Header header\n\ 00068 actionlib_msgs/GoalID goal_id\n\ 00069 ConfigGoal goal\n\ 00070 \n\ 00071 ================================================================================\n\ 00072 MSG: std_msgs/Header\n\ 00073 # Standard metadata for higher-level stamped data types.\n\ 00074 # This is generally used to communicate timestamped data \n\ 00075 # in a particular coordinate frame.\n\ 00076 # \n\ 00077 # sequence ID: consecutively increasing ID \n\ 00078 uint32 seq\n\ 00079 #Two-integer timestamp that is expressed as:\n\ 00080 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00081 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00082 # time-handling sugar is provided by the client library\n\ 00083 time stamp\n\ 00084 #Frame this data is associated with\n\ 00085 # 0: no frame\n\ 00086 # 1: global frame\n\ 00087 string frame_id\n\ 00088 \n\ 00089 ================================================================================\n\ 00090 MSG: actionlib_msgs/GoalID\n\ 00091 # The stamp should store the time at which this goal was requested.\n\ 00092 # It is used by an action server when it tries to preempt all\n\ 00093 # goals that were requested before a certain time\n\ 00094 time stamp\n\ 00095 \n\ 00096 # The id provides a way to associate feedback and\n\ 00097 # result message with specific goal requests. The id\n\ 00098 # specified must be unique.\n\ 00099 string id\n\ 00100 \n\ 00101 \n\ 00102 ================================================================================\n\ 00103 MSG: joint_states_settler/ConfigGoal\n\ 00104 string[] joint_names # Names of the joints we're waiting to settle\n\ 00105 float64[] tolerances # Tolerance on each of the specified joints\n\ 00106 duration max_step # The maximum timestep between two elements in an interval\n\ 00107 uint32 cache_size # The size of our cache when searching for an interval\n\ 00108 \n\ 00109 "; } 00110 public: 00111 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00112 00113 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00114 00115 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00116 { 00117 ros::serialization::OStream stream(write_ptr, 1000000000); 00118 ros::serialization::serialize(stream, header); 00119 ros::serialization::serialize(stream, goal_id); 00120 ros::serialization::serialize(stream, goal); 00121 return stream.getData(); 00122 } 00123 00124 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00125 { 00126 ros::serialization::IStream stream(read_ptr, 1000000000); 00127 ros::serialization::deserialize(stream, header); 00128 ros::serialization::deserialize(stream, goal_id); 00129 ros::serialization::deserialize(stream, goal); 00130 return stream.getData(); 00131 } 00132 00133 ROS_DEPRECATED virtual uint32_t serializationLength() const 00134 { 00135 uint32_t size = 0; 00136 size += ros::serialization::serializationLength(header); 00137 size += ros::serialization::serializationLength(goal_id); 00138 size += ros::serialization::serializationLength(goal); 00139 return size; 00140 } 00141 00142 typedef boost::shared_ptr< ::joint_states_settler::ConfigActionGoal_<ContainerAllocator> > Ptr; 00143 typedef boost::shared_ptr< ::joint_states_settler::ConfigActionGoal_<ContainerAllocator> const> ConstPtr; 00144 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00145 }; // struct ConfigActionGoal 00146 typedef ::joint_states_settler::ConfigActionGoal_<std::allocator<void> > ConfigActionGoal; 00147 00148 typedef boost::shared_ptr< ::joint_states_settler::ConfigActionGoal> ConfigActionGoalPtr; 00149 typedef boost::shared_ptr< ::joint_states_settler::ConfigActionGoal const> ConfigActionGoalConstPtr; 00150 00151 00152 template<typename ContainerAllocator> 00153 std::ostream& operator<<(std::ostream& s, const ::joint_states_settler::ConfigActionGoal_<ContainerAllocator> & v) 00154 { 00155 ros::message_operations::Printer< ::joint_states_settler::ConfigActionGoal_<ContainerAllocator> >::stream(s, "", v); 00156 return s;} 00157 00158 } // namespace joint_states_settler 00159 00160 namespace ros 00161 { 00162 namespace message_traits 00163 { 00164 template<class ContainerAllocator> struct IsMessage< ::joint_states_settler::ConfigActionGoal_<ContainerAllocator> > : public TrueType {}; 00165 template<class ContainerAllocator> struct IsMessage< ::joint_states_settler::ConfigActionGoal_<ContainerAllocator> const> : public TrueType {}; 00166 template<class ContainerAllocator> 00167 struct MD5Sum< ::joint_states_settler::ConfigActionGoal_<ContainerAllocator> > { 00168 static const char* value() 00169 { 00170 return "f19566577bee3cc11a5cee78c14228fe"; 00171 } 00172 00173 static const char* value(const ::joint_states_settler::ConfigActionGoal_<ContainerAllocator> &) { return value(); } 00174 static const uint64_t static_value1 = 0xf19566577bee3cc1ULL; 00175 static const uint64_t static_value2 = 0x1a5cee78c14228feULL; 00176 }; 00177 00178 template<class ContainerAllocator> 00179 struct DataType< ::joint_states_settler::ConfigActionGoal_<ContainerAllocator> > { 00180 static const char* value() 00181 { 00182 return "joint_states_settler/ConfigActionGoal"; 00183 } 00184 00185 static const char* value(const ::joint_states_settler::ConfigActionGoal_<ContainerAllocator> &) { return value(); } 00186 }; 00187 00188 template<class ContainerAllocator> 00189 struct Definition< ::joint_states_settler::ConfigActionGoal_<ContainerAllocator> > { 00190 static const char* value() 00191 { 00192 return "\n\ 00193 Header header\n\ 00194 actionlib_msgs/GoalID goal_id\n\ 00195 ConfigGoal goal\n\ 00196 \n\ 00197 ================================================================================\n\ 00198 MSG: std_msgs/Header\n\ 00199 # Standard metadata for higher-level stamped data types.\n\ 00200 # This is generally used to communicate timestamped data \n\ 00201 # in a particular coordinate frame.\n\ 00202 # \n\ 00203 # sequence ID: consecutively increasing ID \n\ 00204 uint32 seq\n\ 00205 #Two-integer timestamp that is expressed as:\n\ 00206 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00207 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00208 # time-handling sugar is provided by the client library\n\ 00209 time stamp\n\ 00210 #Frame this data is associated with\n\ 00211 # 0: no frame\n\ 00212 # 1: global frame\n\ 00213 string frame_id\n\ 00214 \n\ 00215 ================================================================================\n\ 00216 MSG: actionlib_msgs/GoalID\n\ 00217 # The stamp should store the time at which this goal was requested.\n\ 00218 # It is used by an action server when it tries to preempt all\n\ 00219 # goals that were requested before a certain time\n\ 00220 time stamp\n\ 00221 \n\ 00222 # The id provides a way to associate feedback and\n\ 00223 # result message with specific goal requests. The id\n\ 00224 # specified must be unique.\n\ 00225 string id\n\ 00226 \n\ 00227 \n\ 00228 ================================================================================\n\ 00229 MSG: joint_states_settler/ConfigGoal\n\ 00230 string[] joint_names # Names of the joints we're waiting to settle\n\ 00231 float64[] tolerances # Tolerance on each of the specified joints\n\ 00232 duration max_step # The maximum timestep between two elements in an interval\n\ 00233 uint32 cache_size # The size of our cache when searching for an interval\n\ 00234 \n\ 00235 "; 00236 } 00237 00238 static const char* value(const ::joint_states_settler::ConfigActionGoal_<ContainerAllocator> &) { return value(); } 00239 }; 00240 00241 template<class ContainerAllocator> struct HasHeader< ::joint_states_settler::ConfigActionGoal_<ContainerAllocator> > : public TrueType {}; 00242 template<class ContainerAllocator> struct HasHeader< const ::joint_states_settler::ConfigActionGoal_<ContainerAllocator> > : public TrueType {}; 00243 } // namespace message_traits 00244 } // namespace ros 00245 00246 namespace ros 00247 { 00248 namespace serialization 00249 { 00250 00251 template<class ContainerAllocator> struct Serializer< ::joint_states_settler::ConfigActionGoal_<ContainerAllocator> > 00252 { 00253 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00254 { 00255 stream.next(m.header); 00256 stream.next(m.goal_id); 00257 stream.next(m.goal); 00258 } 00259 00260 ROS_DECLARE_ALLINONE_SERIALIZER; 00261 }; // struct ConfigActionGoal_ 00262 } // namespace serialization 00263 } // namespace ros 00264 00265 namespace ros 00266 { 00267 namespace message_operations 00268 { 00269 00270 template<class ContainerAllocator> 00271 struct Printer< ::joint_states_settler::ConfigActionGoal_<ContainerAllocator> > 00272 { 00273 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::joint_states_settler::ConfigActionGoal_<ContainerAllocator> & v) 00274 { 00275 s << indent << "header: "; 00276 s << std::endl; 00277 Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + " ", v.header); 00278 s << indent << "goal_id: "; 00279 s << std::endl; 00280 Printer< ::actionlib_msgs::GoalID_<ContainerAllocator> >::stream(s, indent + " ", v.goal_id); 00281 s << indent << "goal: "; 00282 s << std::endl; 00283 Printer< ::joint_states_settler::ConfigGoal_<ContainerAllocator> >::stream(s, indent + " ", v.goal); 00284 } 00285 }; 00286 00287 00288 } // namespace message_operations 00289 } // namespace ros 00290 00291 #endif // JOINT_STATES_SETTLER_MESSAGE_CONFIGACTIONGOAL_H 00292