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