00001
00002 #ifndef JOINT_STATES_SETTLER_MESSAGE_CONFIGACTION_H
00003 #define JOINT_STATES_SETTLER_MESSAGE_CONFIGACTION_H
00004 #include <string>
00005 #include <vector>
00006 #include <ostream>
00007 #include "ros/serialization.h"
00008 #include "ros/builtin_message_traits.h"
00009 #include "ros/message_operations.h"
00010 #include "ros/message.h"
00011 #include "ros/time.h"
00012
00013 #include "joint_states_settler/ConfigActionGoal.h"
00014 #include "joint_states_settler/ConfigActionResult.h"
00015 #include "joint_states_settler/ConfigActionFeedback.h"
00016
00017 namespace joint_states_settler
00018 {
00019 template <class ContainerAllocator>
00020 struct ConfigAction_ : public ros::Message
00021 {
00022 typedef ConfigAction_<ContainerAllocator> Type;
00023
00024 ConfigAction_()
00025 : action_goal()
00026 , action_result()
00027 , action_feedback()
00028 {
00029 }
00030
00031 ConfigAction_(const ContainerAllocator& _alloc)
00032 : action_goal(_alloc)
00033 , action_result(_alloc)
00034 , action_feedback(_alloc)
00035 {
00036 }
00037
00038 typedef ::joint_states_settler::ConfigActionGoal_<ContainerAllocator> _action_goal_type;
00039 ::joint_states_settler::ConfigActionGoal_<ContainerAllocator> action_goal;
00040
00041 typedef ::joint_states_settler::ConfigActionResult_<ContainerAllocator> _action_result_type;
00042 ::joint_states_settler::ConfigActionResult_<ContainerAllocator> action_result;
00043
00044 typedef ::joint_states_settler::ConfigActionFeedback_<ContainerAllocator> _action_feedback_type;
00045 ::joint_states_settler::ConfigActionFeedback_<ContainerAllocator> action_feedback;
00046
00047
00048 private:
00049 static const char* __s_getDataType_() { return "joint_states_settler/ConfigAction"; }
00050 public:
00051 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }
00052
00053 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); }
00054
00055 private:
00056 static const char* __s_getMD5Sum_() { return "baa9ae56369a6c832695f8fd10a504f5"; }
00057 public:
00058 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }
00059
00060 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); }
00061
00062 private:
00063 static const char* __s_getMessageDefinition_() { return "\n\
00064 ConfigActionGoal action_goal\n\
00065 ConfigActionResult action_result\n\
00066 ConfigActionFeedback action_feedback\n\
00067 \n\
00068 ================================================================================\n\
00069 MSG: joint_states_settler/ConfigActionGoal\n\
00070 \n\
00071 Header header\n\
00072 actionlib_msgs/GoalID goal_id\n\
00073 ConfigGoal goal\n\
00074 \n\
00075 ================================================================================\n\
00076 MSG: std_msgs/Header\n\
00077 # Standard metadata for higher-level stamped data types.\n\
00078 # This is generally used to communicate timestamped data \n\
00079 # in a particular coordinate frame.\n\
00080 # \n\
00081 # sequence ID: consecutively increasing ID \n\
00082 uint32 seq\n\
00083 #Two-integer timestamp that is expressed as:\n\
00084 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00085 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00086 # time-handling sugar is provided by the client library\n\
00087 time stamp\n\
00088 #Frame this data is associated with\n\
00089 # 0: no frame\n\
00090 # 1: global frame\n\
00091 string frame_id\n\
00092 \n\
00093 ================================================================================\n\
00094 MSG: actionlib_msgs/GoalID\n\
00095 # The stamp should store the time at which this goal was requested.\n\
00096 # It is used by an action server when it tries to preempt all\n\
00097 # goals that were requested before a certain time\n\
00098 time stamp\n\
00099 \n\
00100 # The id provides a way to associate feedback and\n\
00101 # result message with specific goal requests. The id\n\
00102 # specified must be unique.\n\
00103 string id\n\
00104 \n\
00105 \n\
00106 ================================================================================\n\
00107 MSG: joint_states_settler/ConfigGoal\n\
00108 string[] joint_names # Names of the joints we're waiting to settle\n\
00109 float64[] tolerances # Tolerance on each of the specified joints\n\
00110 duration max_step # The maximum timestep between two elements in an interval\n\
00111 uint32 cache_size # The size of our cache when searching for an interval\n\
00112 \n\
00113 ================================================================================\n\
00114 MSG: joint_states_settler/ConfigActionResult\n\
00115 \n\
00116 Header header\n\
00117 actionlib_msgs/GoalStatus status\n\
00118 ConfigResult result\n\
00119 \n\
00120 ================================================================================\n\
00121 MSG: actionlib_msgs/GoalStatus\n\
00122 GoalID goal_id\n\
00123 uint8 status\n\
00124 uint8 PENDING = 0 # The goal has yet to be processed by the action server\n\
00125 uint8 ACTIVE = 1 # The goal is currently being processed by the action server\n\
00126 uint8 PREEMPTED = 2 # The goal received a cancel request after it started executing\n\
00127 # and has since completed its execution (Terminal State)\n\
00128 uint8 SUCCEEDED = 3 # The goal was achieved successfully by the action server (Terminal State)\n\
00129 uint8 ABORTED = 4 # The goal was aborted during execution by the action server due\n\
00130 # to some failure (Terminal State)\n\
00131 uint8 REJECTED = 5 # The goal was rejected by the action server without being processed,\n\
00132 # because the goal was unattainable or invalid (Terminal State)\n\
00133 uint8 PREEMPTING = 6 # The goal received a cancel request after it started executing\n\
00134 # and has not yet completed execution\n\
00135 uint8 RECALLING = 7 # The goal received a cancel request before it started executing,\n\
00136 # but the action server has not yet confirmed that the goal is canceled\n\
00137 uint8 RECALLED = 8 # The goal received a cancel request before it started executing\n\
00138 # and was successfully cancelled (Terminal State)\n\
00139 uint8 LOST = 9 # An action client can determine that a goal is LOST. This should not be\n\
00140 # sent over the wire by an action server\n\
00141 \n\
00142 #Allow for the user to associate a string with GoalStatus for debugging\n\
00143 string text\n\
00144 \n\
00145 \n\
00146 ================================================================================\n\
00147 MSG: joint_states_settler/ConfigResult\n\
00148 \n\
00149 ================================================================================\n\
00150 MSG: joint_states_settler/ConfigActionFeedback\n\
00151 \n\
00152 Header header\n\
00153 actionlib_msgs/GoalStatus status\n\
00154 ConfigFeedback feedback\n\
00155 \n\
00156 ================================================================================\n\
00157 MSG: joint_states_settler/ConfigFeedback\n\
00158 \n\
00159 "; }
00160 public:
00161 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00162
00163 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00164
00165 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00166 {
00167 ros::serialization::OStream stream(write_ptr, 1000000000);
00168 ros::serialization::serialize(stream, action_goal);
00169 ros::serialization::serialize(stream, action_result);
00170 ros::serialization::serialize(stream, action_feedback);
00171 return stream.getData();
00172 }
00173
00174 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00175 {
00176 ros::serialization::IStream stream(read_ptr, 1000000000);
00177 ros::serialization::deserialize(stream, action_goal);
00178 ros::serialization::deserialize(stream, action_result);
00179 ros::serialization::deserialize(stream, action_feedback);
00180 return stream.getData();
00181 }
00182
00183 ROS_DEPRECATED virtual uint32_t serializationLength() const
00184 {
00185 uint32_t size = 0;
00186 size += ros::serialization::serializationLength(action_goal);
00187 size += ros::serialization::serializationLength(action_result);
00188 size += ros::serialization::serializationLength(action_feedback);
00189 return size;
00190 }
00191
00192 typedef boost::shared_ptr< ::joint_states_settler::ConfigAction_<ContainerAllocator> > Ptr;
00193 typedef boost::shared_ptr< ::joint_states_settler::ConfigAction_<ContainerAllocator> const> ConstPtr;
00194 };
00195 typedef ::joint_states_settler::ConfigAction_<std::allocator<void> > ConfigAction;
00196
00197 typedef boost::shared_ptr< ::joint_states_settler::ConfigAction> ConfigActionPtr;
00198 typedef boost::shared_ptr< ::joint_states_settler::ConfigAction const> ConfigActionConstPtr;
00199
00200
00201 template<typename ContainerAllocator>
00202 std::ostream& operator<<(std::ostream& s, const ::joint_states_settler::ConfigAction_<ContainerAllocator> & v)
00203 {
00204 ros::message_operations::Printer< ::joint_states_settler::ConfigAction_<ContainerAllocator> >::stream(s, "", v);
00205 return s;}
00206
00207 }
00208
00209 namespace ros
00210 {
00211 namespace message_traits
00212 {
00213 template<class ContainerAllocator>
00214 struct MD5Sum< ::joint_states_settler::ConfigAction_<ContainerAllocator> > {
00215 static const char* value()
00216 {
00217 return "baa9ae56369a6c832695f8fd10a504f5";
00218 }
00219
00220 static const char* value(const ::joint_states_settler::ConfigAction_<ContainerAllocator> &) { return value(); }
00221 static const uint64_t static_value1 = 0xbaa9ae56369a6c83ULL;
00222 static const uint64_t static_value2 = 0x2695f8fd10a504f5ULL;
00223 };
00224
00225 template<class ContainerAllocator>
00226 struct DataType< ::joint_states_settler::ConfigAction_<ContainerAllocator> > {
00227 static const char* value()
00228 {
00229 return "joint_states_settler/ConfigAction";
00230 }
00231
00232 static const char* value(const ::joint_states_settler::ConfigAction_<ContainerAllocator> &) { return value(); }
00233 };
00234
00235 template<class ContainerAllocator>
00236 struct Definition< ::joint_states_settler::ConfigAction_<ContainerAllocator> > {
00237 static const char* value()
00238 {
00239 return "\n\
00240 ConfigActionGoal action_goal\n\
00241 ConfigActionResult action_result\n\
00242 ConfigActionFeedback action_feedback\n\
00243 \n\
00244 ================================================================================\n\
00245 MSG: joint_states_settler/ConfigActionGoal\n\
00246 \n\
00247 Header header\n\
00248 actionlib_msgs/GoalID goal_id\n\
00249 ConfigGoal goal\n\
00250 \n\
00251 ================================================================================\n\
00252 MSG: std_msgs/Header\n\
00253 # Standard metadata for higher-level stamped data types.\n\
00254 # This is generally used to communicate timestamped data \n\
00255 # in a particular coordinate frame.\n\
00256 # \n\
00257 # sequence ID: consecutively increasing ID \n\
00258 uint32 seq\n\
00259 #Two-integer timestamp that is expressed as:\n\
00260 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00261 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00262 # time-handling sugar is provided by the client library\n\
00263 time stamp\n\
00264 #Frame this data is associated with\n\
00265 # 0: no frame\n\
00266 # 1: global frame\n\
00267 string frame_id\n\
00268 \n\
00269 ================================================================================\n\
00270 MSG: actionlib_msgs/GoalID\n\
00271 # The stamp should store the time at which this goal was requested.\n\
00272 # It is used by an action server when it tries to preempt all\n\
00273 # goals that were requested before a certain time\n\
00274 time stamp\n\
00275 \n\
00276 # The id provides a way to associate feedback and\n\
00277 # result message with specific goal requests. The id\n\
00278 # specified must be unique.\n\
00279 string id\n\
00280 \n\
00281 \n\
00282 ================================================================================\n\
00283 MSG: joint_states_settler/ConfigGoal\n\
00284 string[] joint_names # Names of the joints we're waiting to settle\n\
00285 float64[] tolerances # Tolerance on each of the specified joints\n\
00286 duration max_step # The maximum timestep between two elements in an interval\n\
00287 uint32 cache_size # The size of our cache when searching for an interval\n\
00288 \n\
00289 ================================================================================\n\
00290 MSG: joint_states_settler/ConfigActionResult\n\
00291 \n\
00292 Header header\n\
00293 actionlib_msgs/GoalStatus status\n\
00294 ConfigResult result\n\
00295 \n\
00296 ================================================================================\n\
00297 MSG: actionlib_msgs/GoalStatus\n\
00298 GoalID goal_id\n\
00299 uint8 status\n\
00300 uint8 PENDING = 0 # The goal has yet to be processed by the action server\n\
00301 uint8 ACTIVE = 1 # The goal is currently being processed by the action server\n\
00302 uint8 PREEMPTED = 2 # The goal received a cancel request after it started executing\n\
00303 # and has since completed its execution (Terminal State)\n\
00304 uint8 SUCCEEDED = 3 # The goal was achieved successfully by the action server (Terminal State)\n\
00305 uint8 ABORTED = 4 # The goal was aborted during execution by the action server due\n\
00306 # to some failure (Terminal State)\n\
00307 uint8 REJECTED = 5 # The goal was rejected by the action server without being processed,\n\
00308 # because the goal was unattainable or invalid (Terminal State)\n\
00309 uint8 PREEMPTING = 6 # The goal received a cancel request after it started executing\n\
00310 # and has not yet completed execution\n\
00311 uint8 RECALLING = 7 # The goal received a cancel request before it started executing,\n\
00312 # but the action server has not yet confirmed that the goal is canceled\n\
00313 uint8 RECALLED = 8 # The goal received a cancel request before it started executing\n\
00314 # and was successfully cancelled (Terminal State)\n\
00315 uint8 LOST = 9 # An action client can determine that a goal is LOST. This should not be\n\
00316 # sent over the wire by an action server\n\
00317 \n\
00318 #Allow for the user to associate a string with GoalStatus for debugging\n\
00319 string text\n\
00320 \n\
00321 \n\
00322 ================================================================================\n\
00323 MSG: joint_states_settler/ConfigResult\n\
00324 \n\
00325 ================================================================================\n\
00326 MSG: joint_states_settler/ConfigActionFeedback\n\
00327 \n\
00328 Header header\n\
00329 actionlib_msgs/GoalStatus status\n\
00330 ConfigFeedback feedback\n\
00331 \n\
00332 ================================================================================\n\
00333 MSG: joint_states_settler/ConfigFeedback\n\
00334 \n\
00335 ";
00336 }
00337
00338 static const char* value(const ::joint_states_settler::ConfigAction_<ContainerAllocator> &) { return value(); }
00339 };
00340
00341 }
00342 }
00343
00344 namespace ros
00345 {
00346 namespace serialization
00347 {
00348
00349 template<class ContainerAllocator> struct Serializer< ::joint_states_settler::ConfigAction_<ContainerAllocator> >
00350 {
00351 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00352 {
00353 stream.next(m.action_goal);
00354 stream.next(m.action_result);
00355 stream.next(m.action_feedback);
00356 }
00357
00358 ROS_DECLARE_ALLINONE_SERIALIZER;
00359 };
00360 }
00361 }
00362
00363 namespace ros
00364 {
00365 namespace message_operations
00366 {
00367
00368 template<class ContainerAllocator>
00369 struct Printer< ::joint_states_settler::ConfigAction_<ContainerAllocator> >
00370 {
00371 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::joint_states_settler::ConfigAction_<ContainerAllocator> & v)
00372 {
00373 s << indent << "action_goal: ";
00374 s << std::endl;
00375 Printer< ::joint_states_settler::ConfigActionGoal_<ContainerAllocator> >::stream(s, indent + " ", v.action_goal);
00376 s << indent << "action_result: ";
00377 s << std::endl;
00378 Printer< ::joint_states_settler::ConfigActionResult_<ContainerAllocator> >::stream(s, indent + " ", v.action_result);
00379 s << indent << "action_feedback: ";
00380 s << std::endl;
00381 Printer< ::joint_states_settler::ConfigActionFeedback_<ContainerAllocator> >::stream(s, indent + " ", v.action_feedback);
00382 }
00383 };
00384
00385
00386 }
00387 }
00388
00389 #endif // JOINT_STATES_SETTLER_MESSAGE_CONFIGACTION_H
00390