00001
00002 #ifndef TURTLEBOT_BLOCK_MANIPULATION_MESSAGE_PICKANDPLACEGOAL_H
00003 #define TURTLEBOT_BLOCK_MANIPULATION_MESSAGE_PICKANDPLACEGOAL_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 "geometry_msgs/Pose.h"
00018 #include "geometry_msgs/Pose.h"
00019
00020 namespace turtlebot_block_manipulation
00021 {
00022 template <class ContainerAllocator>
00023 struct PickAndPlaceGoal_ {
00024 typedef PickAndPlaceGoal_<ContainerAllocator> Type;
00025
00026 PickAndPlaceGoal_()
00027 : frame()
00028 , z_up(0.0)
00029 , gripper_open(0.0)
00030 , gripper_closed(0.0)
00031 , pickup_pose()
00032 , place_pose()
00033 , topic()
00034 {
00035 }
00036
00037 PickAndPlaceGoal_(const ContainerAllocator& _alloc)
00038 : frame(_alloc)
00039 , z_up(0.0)
00040 , gripper_open(0.0)
00041 , gripper_closed(0.0)
00042 , pickup_pose(_alloc)
00043 , place_pose(_alloc)
00044 , topic(_alloc)
00045 {
00046 }
00047
00048 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _frame_type;
00049 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > frame;
00050
00051 typedef float _z_up_type;
00052 float z_up;
00053
00054 typedef float _gripper_open_type;
00055 float gripper_open;
00056
00057 typedef float _gripper_closed_type;
00058 float gripper_closed;
00059
00060 typedef ::geometry_msgs::Pose_<ContainerAllocator> _pickup_pose_type;
00061 ::geometry_msgs::Pose_<ContainerAllocator> pickup_pose;
00062
00063 typedef ::geometry_msgs::Pose_<ContainerAllocator> _place_pose_type;
00064 ::geometry_msgs::Pose_<ContainerAllocator> place_pose;
00065
00066 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _topic_type;
00067 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > topic;
00068
00069
00070 typedef boost::shared_ptr< ::turtlebot_block_manipulation::PickAndPlaceGoal_<ContainerAllocator> > Ptr;
00071 typedef boost::shared_ptr< ::turtlebot_block_manipulation::PickAndPlaceGoal_<ContainerAllocator> const> ConstPtr;
00072 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00073 };
00074 typedef ::turtlebot_block_manipulation::PickAndPlaceGoal_<std::allocator<void> > PickAndPlaceGoal;
00075
00076 typedef boost::shared_ptr< ::turtlebot_block_manipulation::PickAndPlaceGoal> PickAndPlaceGoalPtr;
00077 typedef boost::shared_ptr< ::turtlebot_block_manipulation::PickAndPlaceGoal const> PickAndPlaceGoalConstPtr;
00078
00079
00080 template<typename ContainerAllocator>
00081 std::ostream& operator<<(std::ostream& s, const ::turtlebot_block_manipulation::PickAndPlaceGoal_<ContainerAllocator> & v)
00082 {
00083 ros::message_operations::Printer< ::turtlebot_block_manipulation::PickAndPlaceGoal_<ContainerAllocator> >::stream(s, "", v);
00084 return s;}
00085
00086 }
00087
00088 namespace ros
00089 {
00090 namespace message_traits
00091 {
00092 template<class ContainerAllocator> struct IsMessage< ::turtlebot_block_manipulation::PickAndPlaceGoal_<ContainerAllocator> > : public TrueType {};
00093 template<class ContainerAllocator> struct IsMessage< ::turtlebot_block_manipulation::PickAndPlaceGoal_<ContainerAllocator> const> : public TrueType {};
00094 template<class ContainerAllocator>
00095 struct MD5Sum< ::turtlebot_block_manipulation::PickAndPlaceGoal_<ContainerAllocator> > {
00096 static const char* value()
00097 {
00098 return "406b9d2b14d3c2ad49cf6e087a7292df";
00099 }
00100
00101 static const char* value(const ::turtlebot_block_manipulation::PickAndPlaceGoal_<ContainerAllocator> &) { return value(); }
00102 static const uint64_t static_value1 = 0x406b9d2b14d3c2adULL;
00103 static const uint64_t static_value2 = 0x49cf6e087a7292dfULL;
00104 };
00105
00106 template<class ContainerAllocator>
00107 struct DataType< ::turtlebot_block_manipulation::PickAndPlaceGoal_<ContainerAllocator> > {
00108 static const char* value()
00109 {
00110 return "turtlebot_block_manipulation/PickAndPlaceGoal";
00111 }
00112
00113 static const char* value(const ::turtlebot_block_manipulation::PickAndPlaceGoal_<ContainerAllocator> &) { return value(); }
00114 };
00115
00116 template<class ContainerAllocator>
00117 struct Definition< ::turtlebot_block_manipulation::PickAndPlaceGoal_<ContainerAllocator> > {
00118 static const char* value()
00119 {
00120 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00121 #goal definition\n\
00122 string frame\n\
00123 float32 z_up\n\
00124 float32 gripper_open\n\
00125 float32 gripper_closed\n\
00126 geometry_msgs/Pose pickup_pose\n\
00127 geometry_msgs/Pose place_pose\n\
00128 string topic\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 ";
00153 }
00154
00155 static const char* value(const ::turtlebot_block_manipulation::PickAndPlaceGoal_<ContainerAllocator> &) { return value(); }
00156 };
00157
00158 }
00159 }
00160
00161 namespace ros
00162 {
00163 namespace serialization
00164 {
00165
00166 template<class ContainerAllocator> struct Serializer< ::turtlebot_block_manipulation::PickAndPlaceGoal_<ContainerAllocator> >
00167 {
00168 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00169 {
00170 stream.next(m.frame);
00171 stream.next(m.z_up);
00172 stream.next(m.gripper_open);
00173 stream.next(m.gripper_closed);
00174 stream.next(m.pickup_pose);
00175 stream.next(m.place_pose);
00176 stream.next(m.topic);
00177 }
00178
00179 ROS_DECLARE_ALLINONE_SERIALIZER;
00180 };
00181 }
00182 }
00183
00184 namespace ros
00185 {
00186 namespace message_operations
00187 {
00188
00189 template<class ContainerAllocator>
00190 struct Printer< ::turtlebot_block_manipulation::PickAndPlaceGoal_<ContainerAllocator> >
00191 {
00192 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::turtlebot_block_manipulation::PickAndPlaceGoal_<ContainerAllocator> & v)
00193 {
00194 s << indent << "frame: ";
00195 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.frame);
00196 s << indent << "z_up: ";
00197 Printer<float>::stream(s, indent + " ", v.z_up);
00198 s << indent << "gripper_open: ";
00199 Printer<float>::stream(s, indent + " ", v.gripper_open);
00200 s << indent << "gripper_closed: ";
00201 Printer<float>::stream(s, indent + " ", v.gripper_closed);
00202 s << indent << "pickup_pose: ";
00203 s << std::endl;
00204 Printer< ::geometry_msgs::Pose_<ContainerAllocator> >::stream(s, indent + " ", v.pickup_pose);
00205 s << indent << "place_pose: ";
00206 s << std::endl;
00207 Printer< ::geometry_msgs::Pose_<ContainerAllocator> >::stream(s, indent + " ", v.place_pose);
00208 s << indent << "topic: ";
00209 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.topic);
00210 }
00211 };
00212
00213
00214 }
00215 }
00216
00217 #endif // TURTLEBOT_BLOCK_MANIPULATION_MESSAGE_PICKANDPLACEGOAL_H
00218