00001
00002 #ifndef PR2_GRIPPER_SENSOR_MSGS_MESSAGE_PR2GRIPPERSLIPSERVOACTIONGOAL_H
00003 #define PR2_GRIPPER_SENSOR_MSGS_MESSAGE_PR2GRIPPERSLIPSERVOACTIONGOAL_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 "pr2_gripper_sensor_msgs/PR2GripperSlipServoGoal.h"
00020
00021 namespace pr2_gripper_sensor_msgs
00022 {
00023 template <class ContainerAllocator>
00024 struct PR2GripperSlipServoActionGoal_ {
00025 typedef PR2GripperSlipServoActionGoal_<ContainerAllocator> Type;
00026
00027 PR2GripperSlipServoActionGoal_()
00028 : header()
00029 , goal_id()
00030 , goal()
00031 {
00032 }
00033
00034 PR2GripperSlipServoActionGoal_(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 ::pr2_gripper_sensor_msgs::PR2GripperSlipServoGoal_<ContainerAllocator> _goal_type;
00048 ::pr2_gripper_sensor_msgs::PR2GripperSlipServoGoal_<ContainerAllocator> goal;
00049
00050
00051 private:
00052 static const char* __s_getDataType_() { return "pr2_gripper_sensor_msgs/PR2GripperSlipServoActionGoal"; }
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 "914602bece7e5362946a6609cb95300c"; }
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 PR2GripperSlipServoGoal 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: pr2_gripper_sensor_msgs/PR2GripperSlipServoGoal\n\
00105 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00106 # Action to launch the gripper into slip servoing mode \n\
00107 \n\
00108 #goals\n\
00109 PR2GripperSlipServoCommand command\n\
00110 \n\
00111 ================================================================================\n\
00112 MSG: pr2_gripper_sensor_msgs/PR2GripperSlipServoCommand\n\
00113 # this command is currently blank, but may see additional variable\n\
00114 # additions in the future\n\
00115 \n\
00116 # see the param server documentation for a list of variables that effect\n\
00117 # slip servo performance\n\
00118 "; }
00119 public:
00120 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00121
00122 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00123
00124 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00125 {
00126 ros::serialization::OStream stream(write_ptr, 1000000000);
00127 ros::serialization::serialize(stream, header);
00128 ros::serialization::serialize(stream, goal_id);
00129 ros::serialization::serialize(stream, goal);
00130 return stream.getData();
00131 }
00132
00133 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00134 {
00135 ros::serialization::IStream stream(read_ptr, 1000000000);
00136 ros::serialization::deserialize(stream, header);
00137 ros::serialization::deserialize(stream, goal_id);
00138 ros::serialization::deserialize(stream, goal);
00139 return stream.getData();
00140 }
00141
00142 ROS_DEPRECATED virtual uint32_t serializationLength() const
00143 {
00144 uint32_t size = 0;
00145 size += ros::serialization::serializationLength(header);
00146 size += ros::serialization::serializationLength(goal_id);
00147 size += ros::serialization::serializationLength(goal);
00148 return size;
00149 }
00150
00151 typedef boost::shared_ptr< ::pr2_gripper_sensor_msgs::PR2GripperSlipServoActionGoal_<ContainerAllocator> > Ptr;
00152 typedef boost::shared_ptr< ::pr2_gripper_sensor_msgs::PR2GripperSlipServoActionGoal_<ContainerAllocator> const> ConstPtr;
00153 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00154 };
00155 typedef ::pr2_gripper_sensor_msgs::PR2GripperSlipServoActionGoal_<std::allocator<void> > PR2GripperSlipServoActionGoal;
00156
00157 typedef boost::shared_ptr< ::pr2_gripper_sensor_msgs::PR2GripperSlipServoActionGoal> PR2GripperSlipServoActionGoalPtr;
00158 typedef boost::shared_ptr< ::pr2_gripper_sensor_msgs::PR2GripperSlipServoActionGoal const> PR2GripperSlipServoActionGoalConstPtr;
00159
00160
00161 template<typename ContainerAllocator>
00162 std::ostream& operator<<(std::ostream& s, const ::pr2_gripper_sensor_msgs::PR2GripperSlipServoActionGoal_<ContainerAllocator> & v)
00163 {
00164 ros::message_operations::Printer< ::pr2_gripper_sensor_msgs::PR2GripperSlipServoActionGoal_<ContainerAllocator> >::stream(s, "", v);
00165 return s;}
00166
00167 }
00168
00169 namespace ros
00170 {
00171 namespace message_traits
00172 {
00173 template<class ContainerAllocator> struct IsMessage< ::pr2_gripper_sensor_msgs::PR2GripperSlipServoActionGoal_<ContainerAllocator> > : public TrueType {};
00174 template<class ContainerAllocator> struct IsMessage< ::pr2_gripper_sensor_msgs::PR2GripperSlipServoActionGoal_<ContainerAllocator> const> : public TrueType {};
00175 template<class ContainerAllocator>
00176 struct MD5Sum< ::pr2_gripper_sensor_msgs::PR2GripperSlipServoActionGoal_<ContainerAllocator> > {
00177 static const char* value()
00178 {
00179 return "914602bece7e5362946a6609cb95300c";
00180 }
00181
00182 static const char* value(const ::pr2_gripper_sensor_msgs::PR2GripperSlipServoActionGoal_<ContainerAllocator> &) { return value(); }
00183 static const uint64_t static_value1 = 0x914602bece7e5362ULL;
00184 static const uint64_t static_value2 = 0x946a6609cb95300cULL;
00185 };
00186
00187 template<class ContainerAllocator>
00188 struct DataType< ::pr2_gripper_sensor_msgs::PR2GripperSlipServoActionGoal_<ContainerAllocator> > {
00189 static const char* value()
00190 {
00191 return "pr2_gripper_sensor_msgs/PR2GripperSlipServoActionGoal";
00192 }
00193
00194 static const char* value(const ::pr2_gripper_sensor_msgs::PR2GripperSlipServoActionGoal_<ContainerAllocator> &) { return value(); }
00195 };
00196
00197 template<class ContainerAllocator>
00198 struct Definition< ::pr2_gripper_sensor_msgs::PR2GripperSlipServoActionGoal_<ContainerAllocator> > {
00199 static const char* value()
00200 {
00201 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00202 \n\
00203 Header header\n\
00204 actionlib_msgs/GoalID goal_id\n\
00205 PR2GripperSlipServoGoal goal\n\
00206 \n\
00207 ================================================================================\n\
00208 MSG: std_msgs/Header\n\
00209 # Standard metadata for higher-level stamped data types.\n\
00210 # This is generally used to communicate timestamped data \n\
00211 # in a particular coordinate frame.\n\
00212 # \n\
00213 # sequence ID: consecutively increasing ID \n\
00214 uint32 seq\n\
00215 #Two-integer timestamp that is expressed as:\n\
00216 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00217 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00218 # time-handling sugar is provided by the client library\n\
00219 time stamp\n\
00220 #Frame this data is associated with\n\
00221 # 0: no frame\n\
00222 # 1: global frame\n\
00223 string frame_id\n\
00224 \n\
00225 ================================================================================\n\
00226 MSG: actionlib_msgs/GoalID\n\
00227 # The stamp should store the time at which this goal was requested.\n\
00228 # It is used by an action server when it tries to preempt all\n\
00229 # goals that were requested before a certain time\n\
00230 time stamp\n\
00231 \n\
00232 # The id provides a way to associate feedback and\n\
00233 # result message with specific goal requests. The id\n\
00234 # specified must be unique.\n\
00235 string id\n\
00236 \n\
00237 \n\
00238 ================================================================================\n\
00239 MSG: pr2_gripper_sensor_msgs/PR2GripperSlipServoGoal\n\
00240 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00241 # Action to launch the gripper into slip servoing mode \n\
00242 \n\
00243 #goals\n\
00244 PR2GripperSlipServoCommand command\n\
00245 \n\
00246 ================================================================================\n\
00247 MSG: pr2_gripper_sensor_msgs/PR2GripperSlipServoCommand\n\
00248 # this command is currently blank, but may see additional variable\n\
00249 # additions in the future\n\
00250 \n\
00251 # see the param server documentation for a list of variables that effect\n\
00252 # slip servo performance\n\
00253 ";
00254 }
00255
00256 static const char* value(const ::pr2_gripper_sensor_msgs::PR2GripperSlipServoActionGoal_<ContainerAllocator> &) { return value(); }
00257 };
00258
00259 template<class ContainerAllocator> struct HasHeader< ::pr2_gripper_sensor_msgs::PR2GripperSlipServoActionGoal_<ContainerAllocator> > : public TrueType {};
00260 template<class ContainerAllocator> struct HasHeader< const ::pr2_gripper_sensor_msgs::PR2GripperSlipServoActionGoal_<ContainerAllocator> > : public TrueType {};
00261 }
00262 }
00263
00264 namespace ros
00265 {
00266 namespace serialization
00267 {
00268
00269 template<class ContainerAllocator> struct Serializer< ::pr2_gripper_sensor_msgs::PR2GripperSlipServoActionGoal_<ContainerAllocator> >
00270 {
00271 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00272 {
00273 stream.next(m.header);
00274 stream.next(m.goal_id);
00275 stream.next(m.goal);
00276 }
00277
00278 ROS_DECLARE_ALLINONE_SERIALIZER;
00279 };
00280 }
00281 }
00282
00283 namespace ros
00284 {
00285 namespace message_operations
00286 {
00287
00288 template<class ContainerAllocator>
00289 struct Printer< ::pr2_gripper_sensor_msgs::PR2GripperSlipServoActionGoal_<ContainerAllocator> >
00290 {
00291 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::pr2_gripper_sensor_msgs::PR2GripperSlipServoActionGoal_<ContainerAllocator> & v)
00292 {
00293 s << indent << "header: ";
00294 s << std::endl;
00295 Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + " ", v.header);
00296 s << indent << "goal_id: ";
00297 s << std::endl;
00298 Printer< ::actionlib_msgs::GoalID_<ContainerAllocator> >::stream(s, indent + " ", v.goal_id);
00299 s << indent << "goal: ";
00300 s << std::endl;
00301 Printer< ::pr2_gripper_sensor_msgs::PR2GripperSlipServoGoal_<ContainerAllocator> >::stream(s, indent + " ", v.goal);
00302 }
00303 };
00304
00305
00306 }
00307 }
00308
00309 #endif // PR2_GRIPPER_SENSOR_MSGS_MESSAGE_PR2GRIPPERSLIPSERVOACTIONGOAL_H
00310