ModelObjectInHandGoal.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-pr2_object_manipulation/doc_stacks/2014-10-06_11-30-38.833395/pr2_object_manipulation/applications/pr2_create_object_model/msg/ModelObjectInHandGoal.msg */
00002 #ifndef PR2_CREATE_OBJECT_MODEL_MESSAGE_MODELOBJECTINHANDGOAL_H
00003 #define PR2_CREATE_OBJECT_MODEL_MESSAGE_MODELOBJECTINHANDGOAL_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/Vector3Stamped.h"
00018 #include "geometry_msgs/PoseStamped.h"
00019 
00020 namespace pr2_create_object_model
00021 {
00022 template <class ContainerAllocator>
00023 struct ModelObjectInHandGoal_ {
00024   typedef ModelObjectInHandGoal_<ContainerAllocator> Type;
00025 
00026   ModelObjectInHandGoal_()
00027   : arm_name()
00028   , clear_move()
00029   , rotate_pose()
00030   , rotate_object(0)
00031   , add_to_collision_map(0)
00032   , keep_level(0)
00033   {
00034   }
00035 
00036   ModelObjectInHandGoal_(const ContainerAllocator& _alloc)
00037   : arm_name(_alloc)
00038   , clear_move(_alloc)
00039   , rotate_pose(_alloc)
00040   , rotate_object(0)
00041   , add_to_collision_map(0)
00042   , keep_level(0)
00043   {
00044   }
00045 
00046   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _arm_name_type;
00047   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  arm_name;
00048 
00049   typedef  ::geometry_msgs::Vector3Stamped_<ContainerAllocator>  _clear_move_type;
00050    ::geometry_msgs::Vector3Stamped_<ContainerAllocator>  clear_move;
00051 
00052   typedef  ::geometry_msgs::PoseStamped_<ContainerAllocator>  _rotate_pose_type;
00053    ::geometry_msgs::PoseStamped_<ContainerAllocator>  rotate_pose;
00054 
00055   typedef uint8_t _rotate_object_type;
00056   uint8_t rotate_object;
00057 
00058   typedef uint8_t _add_to_collision_map_type;
00059   uint8_t add_to_collision_map;
00060 
00061   typedef uint8_t _keep_level_type;
00062   uint8_t keep_level;
00063 
00064 
00065   typedef boost::shared_ptr< ::pr2_create_object_model::ModelObjectInHandGoal_<ContainerAllocator> > Ptr;
00066   typedef boost::shared_ptr< ::pr2_create_object_model::ModelObjectInHandGoal_<ContainerAllocator>  const> ConstPtr;
00067   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00068 }; // struct ModelObjectInHandGoal
00069 typedef  ::pr2_create_object_model::ModelObjectInHandGoal_<std::allocator<void> > ModelObjectInHandGoal;
00070 
00071 typedef boost::shared_ptr< ::pr2_create_object_model::ModelObjectInHandGoal> ModelObjectInHandGoalPtr;
00072 typedef boost::shared_ptr< ::pr2_create_object_model::ModelObjectInHandGoal const> ModelObjectInHandGoalConstPtr;
00073 
00074 
00075 template<typename ContainerAllocator>
00076 std::ostream& operator<<(std::ostream& s, const  ::pr2_create_object_model::ModelObjectInHandGoal_<ContainerAllocator> & v)
00077 {
00078   ros::message_operations::Printer< ::pr2_create_object_model::ModelObjectInHandGoal_<ContainerAllocator> >::stream(s, "", v);
00079   return s;}
00080 
00081 } // namespace pr2_create_object_model
00082 
00083 namespace ros
00084 {
00085 namespace message_traits
00086 {
00087 template<class ContainerAllocator> struct IsMessage< ::pr2_create_object_model::ModelObjectInHandGoal_<ContainerAllocator> > : public TrueType {};
00088 template<class ContainerAllocator> struct IsMessage< ::pr2_create_object_model::ModelObjectInHandGoal_<ContainerAllocator>  const> : public TrueType {};
00089 template<class ContainerAllocator>
00090 struct MD5Sum< ::pr2_create_object_model::ModelObjectInHandGoal_<ContainerAllocator> > {
00091   static const char* value() 
00092   {
00093     return "dbd0a8f991b14588bbd523abc948c0b6";
00094   }
00095 
00096   static const char* value(const  ::pr2_create_object_model::ModelObjectInHandGoal_<ContainerAllocator> &) { return value(); } 
00097   static const uint64_t static_value1 = 0xdbd0a8f991b14588ULL;
00098   static const uint64_t static_value2 = 0xbbd523abc948c0b6ULL;
00099 };
00100 
00101 template<class ContainerAllocator>
00102 struct DataType< ::pr2_create_object_model::ModelObjectInHandGoal_<ContainerAllocator> > {
00103   static const char* value() 
00104   {
00105     return "pr2_create_object_model/ModelObjectInHandGoal";
00106   }
00107 
00108   static const char* value(const  ::pr2_create_object_model::ModelObjectInHandGoal_<ContainerAllocator> &) { return value(); } 
00109 };
00110 
00111 template<class ContainerAllocator>
00112 struct Definition< ::pr2_create_object_model::ModelObjectInHandGoal_<ContainerAllocator> > {
00113   static const char* value() 
00114   {
00115     return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00116 # which arm to use\n\
00117 string arm_name\n\
00118 \n\
00119 # the relative motion in which to move the gripper to get it clear of objects \n\
00120 #(if left unfilled, will not move)\n\
00121 geometry_msgs/Vector3Stamped clear_move\n\
00122 \n\
00123 # the pose to go to for rotating (if left unfilled, will not go)\n\
00124 geometry_msgs/PoseStamped rotate_pose\n\
00125 \n\
00126 # whether to rotate the object at rotate_pose to build up the model\n\
00127 uint8 rotate_object\n\
00128 \n\
00129 # whether to add the object to the collision map \n\
00130 uint8 add_to_collision_map\n\
00131 \n\
00132 # whether to keep the object level while rotating\n\
00133 uint8 keep_level\n\
00134 \n\
00135 \n\
00136 ================================================================================\n\
00137 MSG: geometry_msgs/Vector3Stamped\n\
00138 # This represents a Vector3 with reference coordinate frame and timestamp\n\
00139 Header header\n\
00140 Vector3 vector\n\
00141 \n\
00142 ================================================================================\n\
00143 MSG: std_msgs/Header\n\
00144 # Standard metadata for higher-level stamped data types.\n\
00145 # This is generally used to communicate timestamped data \n\
00146 # in a particular coordinate frame.\n\
00147 # \n\
00148 # sequence ID: consecutively increasing ID \n\
00149 uint32 seq\n\
00150 #Two-integer timestamp that is expressed as:\n\
00151 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00152 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00153 # time-handling sugar is provided by the client library\n\
00154 time stamp\n\
00155 #Frame this data is associated with\n\
00156 # 0: no frame\n\
00157 # 1: global frame\n\
00158 string frame_id\n\
00159 \n\
00160 ================================================================================\n\
00161 MSG: geometry_msgs/Vector3\n\
00162 # This represents a vector in free space. \n\
00163 \n\
00164 float64 x\n\
00165 float64 y\n\
00166 float64 z\n\
00167 ================================================================================\n\
00168 MSG: geometry_msgs/PoseStamped\n\
00169 # A Pose with reference coordinate frame and timestamp\n\
00170 Header header\n\
00171 Pose pose\n\
00172 \n\
00173 ================================================================================\n\
00174 MSG: geometry_msgs/Pose\n\
00175 # A representation of pose in free space, composed of postion and orientation. \n\
00176 Point position\n\
00177 Quaternion orientation\n\
00178 \n\
00179 ================================================================================\n\
00180 MSG: geometry_msgs/Point\n\
00181 # This contains the position of a point in free space\n\
00182 float64 x\n\
00183 float64 y\n\
00184 float64 z\n\
00185 \n\
00186 ================================================================================\n\
00187 MSG: geometry_msgs/Quaternion\n\
00188 # This represents an orientation in free space in quaternion form.\n\
00189 \n\
00190 float64 x\n\
00191 float64 y\n\
00192 float64 z\n\
00193 float64 w\n\
00194 \n\
00195 ";
00196   }
00197 
00198   static const char* value(const  ::pr2_create_object_model::ModelObjectInHandGoal_<ContainerAllocator> &) { return value(); } 
00199 };
00200 
00201 } // namespace message_traits
00202 } // namespace ros
00203 
00204 namespace ros
00205 {
00206 namespace serialization
00207 {
00208 
00209 template<class ContainerAllocator> struct Serializer< ::pr2_create_object_model::ModelObjectInHandGoal_<ContainerAllocator> >
00210 {
00211   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00212   {
00213     stream.next(m.arm_name);
00214     stream.next(m.clear_move);
00215     stream.next(m.rotate_pose);
00216     stream.next(m.rotate_object);
00217     stream.next(m.add_to_collision_map);
00218     stream.next(m.keep_level);
00219   }
00220 
00221   ROS_DECLARE_ALLINONE_SERIALIZER;
00222 }; // struct ModelObjectInHandGoal_
00223 } // namespace serialization
00224 } // namespace ros
00225 
00226 namespace ros
00227 {
00228 namespace message_operations
00229 {
00230 
00231 template<class ContainerAllocator>
00232 struct Printer< ::pr2_create_object_model::ModelObjectInHandGoal_<ContainerAllocator> >
00233 {
00234   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::pr2_create_object_model::ModelObjectInHandGoal_<ContainerAllocator> & v) 
00235   {
00236     s << indent << "arm_name: ";
00237     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.arm_name);
00238     s << indent << "clear_move: ";
00239 s << std::endl;
00240     Printer< ::geometry_msgs::Vector3Stamped_<ContainerAllocator> >::stream(s, indent + "  ", v.clear_move);
00241     s << indent << "rotate_pose: ";
00242 s << std::endl;
00243     Printer< ::geometry_msgs::PoseStamped_<ContainerAllocator> >::stream(s, indent + "  ", v.rotate_pose);
00244     s << indent << "rotate_object: ";
00245     Printer<uint8_t>::stream(s, indent + "  ", v.rotate_object);
00246     s << indent << "add_to_collision_map: ";
00247     Printer<uint8_t>::stream(s, indent + "  ", v.add_to_collision_map);
00248     s << indent << "keep_level: ";
00249     Printer<uint8_t>::stream(s, indent + "  ", v.keep_level);
00250   }
00251 };
00252 
00253 
00254 } // namespace message_operations
00255 } // namespace ros
00256 
00257 #endif // PR2_CREATE_OBJECT_MODEL_MESSAGE_MODELOBJECTINHANDGOAL_H
00258 


pr2_create_object_model
Author(s): Kaijen Hsiao
autogenerated on Mon Oct 6 2014 11:49:24