00001
00002 #ifndef OBJECT_MANIPULATION_MSGS_MESSAGE_REACTIVEPLACEACTIONGOAL_H
00003 #define OBJECT_MANIPULATION_MSGS_MESSAGE_REACTIVEPLACEACTIONGOAL_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 "std_msgs/Header.h"
00014 #include "actionlib_msgs/GoalID.h"
00015 #include "object_manipulation_msgs/ReactivePlaceGoal.h"
00016
00017 namespace object_manipulation_msgs
00018 {
00019 template <class ContainerAllocator>
00020 struct ReactivePlaceActionGoal_ : public ros::Message
00021 {
00022 typedef ReactivePlaceActionGoal_<ContainerAllocator> Type;
00023
00024 ReactivePlaceActionGoal_()
00025 : header()
00026 , goal_id()
00027 , goal()
00028 {
00029 }
00030
00031 ReactivePlaceActionGoal_(const ContainerAllocator& _alloc)
00032 : header(_alloc)
00033 , goal_id(_alloc)
00034 , goal(_alloc)
00035 {
00036 }
00037
00038 typedef ::std_msgs::Header_<ContainerAllocator> _header_type;
00039 ::std_msgs::Header_<ContainerAllocator> header;
00040
00041 typedef ::actionlib_msgs::GoalID_<ContainerAllocator> _goal_id_type;
00042 ::actionlib_msgs::GoalID_<ContainerAllocator> goal_id;
00043
00044 typedef ::object_manipulation_msgs::ReactivePlaceGoal_<ContainerAllocator> _goal_type;
00045 ::object_manipulation_msgs::ReactivePlaceGoal_<ContainerAllocator> goal;
00046
00047
00048 private:
00049 static const char* __s_getDataType_() { return "object_manipulation_msgs/ReactivePlaceActionGoal"; }
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 "f70629d4244203e19c14919dbd7fb5d4"; }
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 "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00064 \n\
00065 Header header\n\
00066 actionlib_msgs/GoalID goal_id\n\
00067 ReactivePlaceGoal goal\n\
00068 \n\
00069 ================================================================================\n\
00070 MSG: std_msgs/Header\n\
00071 # Standard metadata for higher-level stamped data types.\n\
00072 # This is generally used to communicate timestamped data \n\
00073 # in a particular coordinate frame.\n\
00074 # \n\
00075 # sequence ID: consecutively increasing ID \n\
00076 uint32 seq\n\
00077 #Two-integer timestamp that is expressed as:\n\
00078 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00079 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00080 # time-handling sugar is provided by the client library\n\
00081 time stamp\n\
00082 #Frame this data is associated with\n\
00083 # 0: no frame\n\
00084 # 1: global frame\n\
00085 string frame_id\n\
00086 \n\
00087 ================================================================================\n\
00088 MSG: actionlib_msgs/GoalID\n\
00089 # The stamp should store the time at which this goal was requested.\n\
00090 # It is used by an action server when it tries to preempt all\n\
00091 # goals that were requested before a certain time\n\
00092 time stamp\n\
00093 \n\
00094 # The id provides a way to associate feedback and\n\
00095 # result message with specific goal requests. The id\n\
00096 # specified must be unique.\n\
00097 string id\n\
00098 \n\
00099 \n\
00100 ================================================================================\n\
00101 MSG: object_manipulation_msgs/ReactivePlaceGoal\n\
00102 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00103 # an action for placing the object using tactile sensor feedback.\n\
00104 # a reactive place starts from the current pose of the gripper and ends\n\
00105 # at a desired place pose, presumably using the touch sensors along the way\n\
00106 \n\
00107 # the name of the arm being used\n\
00108 string arm_name\n\
00109 \n\
00110 # the desired final place pose for the hand\n\
00111 geometry_msgs/PoseStamped final_place_pose\n\
00112 \n\
00113 # the joint trajectory to use for the place (if available)\n\
00114 # this trajectory is expected to start at the current pose of the gripper\n\
00115 # and end at the desired place pose\n\
00116 trajectory_msgs/JointTrajectory trajectory\n\
00117 \n\
00118 # the name of the support surface in the collision environment, if any\n\
00119 string collision_support_surface_name\n\
00120 \n\
00121 # the name in the collision environment of the object being placed, if any\n\
00122 string collision_object_name\n\
00123 \n\
00124 ================================================================================\n\
00125 MSG: geometry_msgs/PoseStamped\n\
00126 # A Pose with reference coordinate frame and timestamp\n\
00127 Header header\n\
00128 Pose pose\n\
00129 \n\
00130 ================================================================================\n\
00131 MSG: geometry_msgs/Pose\n\
00132 # A representation of pose in free space, composed of postion and orientation. \n\
00133 Point position\n\
00134 Quaternion orientation\n\
00135 \n\
00136 ================================================================================\n\
00137 MSG: geometry_msgs/Point\n\
00138 # This contains the position of a point in free space\n\
00139 float64 x\n\
00140 float64 y\n\
00141 float64 z\n\
00142 \n\
00143 ================================================================================\n\
00144 MSG: geometry_msgs/Quaternion\n\
00145 # This represents an orientation in free space in quaternion form.\n\
00146 \n\
00147 float64 x\n\
00148 float64 y\n\
00149 float64 z\n\
00150 float64 w\n\
00151 \n\
00152 ================================================================================\n\
00153 MSG: trajectory_msgs/JointTrajectory\n\
00154 Header header\n\
00155 string[] joint_names\n\
00156 JointTrajectoryPoint[] points\n\
00157 ================================================================================\n\
00158 MSG: trajectory_msgs/JointTrajectoryPoint\n\
00159 float64[] positions\n\
00160 float64[] velocities\n\
00161 float64[] accelerations\n\
00162 duration time_from_start\n\
00163 "; }
00164 public:
00165 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00166
00167 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00168
00169 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00170 {
00171 ros::serialization::OStream stream(write_ptr, 1000000000);
00172 ros::serialization::serialize(stream, header);
00173 ros::serialization::serialize(stream, goal_id);
00174 ros::serialization::serialize(stream, goal);
00175 return stream.getData();
00176 }
00177
00178 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00179 {
00180 ros::serialization::IStream stream(read_ptr, 1000000000);
00181 ros::serialization::deserialize(stream, header);
00182 ros::serialization::deserialize(stream, goal_id);
00183 ros::serialization::deserialize(stream, goal);
00184 return stream.getData();
00185 }
00186
00187 ROS_DEPRECATED virtual uint32_t serializationLength() const
00188 {
00189 uint32_t size = 0;
00190 size += ros::serialization::serializationLength(header);
00191 size += ros::serialization::serializationLength(goal_id);
00192 size += ros::serialization::serializationLength(goal);
00193 return size;
00194 }
00195
00196 typedef boost::shared_ptr< ::object_manipulation_msgs::ReactivePlaceActionGoal_<ContainerAllocator> > Ptr;
00197 typedef boost::shared_ptr< ::object_manipulation_msgs::ReactivePlaceActionGoal_<ContainerAllocator> const> ConstPtr;
00198 };
00199 typedef ::object_manipulation_msgs::ReactivePlaceActionGoal_<std::allocator<void> > ReactivePlaceActionGoal;
00200
00201 typedef boost::shared_ptr< ::object_manipulation_msgs::ReactivePlaceActionGoal> ReactivePlaceActionGoalPtr;
00202 typedef boost::shared_ptr< ::object_manipulation_msgs::ReactivePlaceActionGoal const> ReactivePlaceActionGoalConstPtr;
00203
00204
00205 template<typename ContainerAllocator>
00206 std::ostream& operator<<(std::ostream& s, const ::object_manipulation_msgs::ReactivePlaceActionGoal_<ContainerAllocator> & v)
00207 {
00208 ros::message_operations::Printer< ::object_manipulation_msgs::ReactivePlaceActionGoal_<ContainerAllocator> >::stream(s, "", v);
00209 return s;}
00210
00211 }
00212
00213 namespace ros
00214 {
00215 namespace message_traits
00216 {
00217 template<class ContainerAllocator>
00218 struct MD5Sum< ::object_manipulation_msgs::ReactivePlaceActionGoal_<ContainerAllocator> > {
00219 static const char* value()
00220 {
00221 return "f70629d4244203e19c14919dbd7fb5d4";
00222 }
00223
00224 static const char* value(const ::object_manipulation_msgs::ReactivePlaceActionGoal_<ContainerAllocator> &) { return value(); }
00225 static const uint64_t static_value1 = 0xf70629d4244203e1ULL;
00226 static const uint64_t static_value2 = 0x9c14919dbd7fb5d4ULL;
00227 };
00228
00229 template<class ContainerAllocator>
00230 struct DataType< ::object_manipulation_msgs::ReactivePlaceActionGoal_<ContainerAllocator> > {
00231 static const char* value()
00232 {
00233 return "object_manipulation_msgs/ReactivePlaceActionGoal";
00234 }
00235
00236 static const char* value(const ::object_manipulation_msgs::ReactivePlaceActionGoal_<ContainerAllocator> &) { return value(); }
00237 };
00238
00239 template<class ContainerAllocator>
00240 struct Definition< ::object_manipulation_msgs::ReactivePlaceActionGoal_<ContainerAllocator> > {
00241 static const char* value()
00242 {
00243 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00244 \n\
00245 Header header\n\
00246 actionlib_msgs/GoalID goal_id\n\
00247 ReactivePlaceGoal goal\n\
00248 \n\
00249 ================================================================================\n\
00250 MSG: std_msgs/Header\n\
00251 # Standard metadata for higher-level stamped data types.\n\
00252 # This is generally used to communicate timestamped data \n\
00253 # in a particular coordinate frame.\n\
00254 # \n\
00255 # sequence ID: consecutively increasing ID \n\
00256 uint32 seq\n\
00257 #Two-integer timestamp that is expressed as:\n\
00258 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00259 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00260 # time-handling sugar is provided by the client library\n\
00261 time stamp\n\
00262 #Frame this data is associated with\n\
00263 # 0: no frame\n\
00264 # 1: global frame\n\
00265 string frame_id\n\
00266 \n\
00267 ================================================================================\n\
00268 MSG: actionlib_msgs/GoalID\n\
00269 # The stamp should store the time at which this goal was requested.\n\
00270 # It is used by an action server when it tries to preempt all\n\
00271 # goals that were requested before a certain time\n\
00272 time stamp\n\
00273 \n\
00274 # The id provides a way to associate feedback and\n\
00275 # result message with specific goal requests. The id\n\
00276 # specified must be unique.\n\
00277 string id\n\
00278 \n\
00279 \n\
00280 ================================================================================\n\
00281 MSG: object_manipulation_msgs/ReactivePlaceGoal\n\
00282 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00283 # an action for placing the object using tactile sensor feedback.\n\
00284 # a reactive place starts from the current pose of the gripper and ends\n\
00285 # at a desired place pose, presumably using the touch sensors along the way\n\
00286 \n\
00287 # the name of the arm being used\n\
00288 string arm_name\n\
00289 \n\
00290 # the desired final place pose for the hand\n\
00291 geometry_msgs/PoseStamped final_place_pose\n\
00292 \n\
00293 # the joint trajectory to use for the place (if available)\n\
00294 # this trajectory is expected to start at the current pose of the gripper\n\
00295 # and end at the desired place pose\n\
00296 trajectory_msgs/JointTrajectory trajectory\n\
00297 \n\
00298 # the name of the support surface in the collision environment, if any\n\
00299 string collision_support_surface_name\n\
00300 \n\
00301 # the name in the collision environment of the object being placed, if any\n\
00302 string collision_object_name\n\
00303 \n\
00304 ================================================================================\n\
00305 MSG: geometry_msgs/PoseStamped\n\
00306 # A Pose with reference coordinate frame and timestamp\n\
00307 Header header\n\
00308 Pose pose\n\
00309 \n\
00310 ================================================================================\n\
00311 MSG: geometry_msgs/Pose\n\
00312 # A representation of pose in free space, composed of postion and orientation. \n\
00313 Point position\n\
00314 Quaternion orientation\n\
00315 \n\
00316 ================================================================================\n\
00317 MSG: geometry_msgs/Point\n\
00318 # This contains the position of a point in free space\n\
00319 float64 x\n\
00320 float64 y\n\
00321 float64 z\n\
00322 \n\
00323 ================================================================================\n\
00324 MSG: geometry_msgs/Quaternion\n\
00325 # This represents an orientation in free space in quaternion form.\n\
00326 \n\
00327 float64 x\n\
00328 float64 y\n\
00329 float64 z\n\
00330 float64 w\n\
00331 \n\
00332 ================================================================================\n\
00333 MSG: trajectory_msgs/JointTrajectory\n\
00334 Header header\n\
00335 string[] joint_names\n\
00336 JointTrajectoryPoint[] points\n\
00337 ================================================================================\n\
00338 MSG: trajectory_msgs/JointTrajectoryPoint\n\
00339 float64[] positions\n\
00340 float64[] velocities\n\
00341 float64[] accelerations\n\
00342 duration time_from_start\n\
00343 ";
00344 }
00345
00346 static const char* value(const ::object_manipulation_msgs::ReactivePlaceActionGoal_<ContainerAllocator> &) { return value(); }
00347 };
00348
00349 template<class ContainerAllocator> struct HasHeader< ::object_manipulation_msgs::ReactivePlaceActionGoal_<ContainerAllocator> > : public TrueType {};
00350 template<class ContainerAllocator> struct HasHeader< const ::object_manipulation_msgs::ReactivePlaceActionGoal_<ContainerAllocator> > : public TrueType {};
00351 }
00352 }
00353
00354 namespace ros
00355 {
00356 namespace serialization
00357 {
00358
00359 template<class ContainerAllocator> struct Serializer< ::object_manipulation_msgs::ReactivePlaceActionGoal_<ContainerAllocator> >
00360 {
00361 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00362 {
00363 stream.next(m.header);
00364 stream.next(m.goal_id);
00365 stream.next(m.goal);
00366 }
00367
00368 ROS_DECLARE_ALLINONE_SERIALIZER;
00369 };
00370 }
00371 }
00372
00373 namespace ros
00374 {
00375 namespace message_operations
00376 {
00377
00378 template<class ContainerAllocator>
00379 struct Printer< ::object_manipulation_msgs::ReactivePlaceActionGoal_<ContainerAllocator> >
00380 {
00381 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::object_manipulation_msgs::ReactivePlaceActionGoal_<ContainerAllocator> & v)
00382 {
00383 s << indent << "header: ";
00384 s << std::endl;
00385 Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + " ", v.header);
00386 s << indent << "goal_id: ";
00387 s << std::endl;
00388 Printer< ::actionlib_msgs::GoalID_<ContainerAllocator> >::stream(s, indent + " ", v.goal_id);
00389 s << indent << "goal: ";
00390 s << std::endl;
00391 Printer< ::object_manipulation_msgs::ReactivePlaceGoal_<ContainerAllocator> >::stream(s, indent + " ", v.goal);
00392 }
00393 };
00394
00395
00396 }
00397 }
00398
00399 #endif // OBJECT_MANIPULATION_MSGS_MESSAGE_REACTIVEPLACEACTIONGOAL_H
00400