PR2GripperGrabGoal.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/manipulation/pr2_gripper_sensor_msgs/msg/PR2GripperGrabGoal.msg */
00002 #ifndef PR2_GRIPPER_SENSOR_MSGS_MESSAGE_PR2GRIPPERGRABGOAL_H
00003 #define PR2_GRIPPER_SENSOR_MSGS_MESSAGE_PR2GRIPPERGRABGOAL_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 "pr2_gripper_sensor_msgs/PR2GripperGrabCommand.h"
00018 
00019 namespace pr2_gripper_sensor_msgs
00020 {
00021 template <class ContainerAllocator>
00022 struct PR2GripperGrabGoal_ {
00023   typedef PR2GripperGrabGoal_<ContainerAllocator> Type;
00024 
00025   PR2GripperGrabGoal_()
00026   : command()
00027   {
00028   }
00029 
00030   PR2GripperGrabGoal_(const ContainerAllocator& _alloc)
00031   : command(_alloc)
00032   {
00033   }
00034 
00035   typedef  ::pr2_gripper_sensor_msgs::PR2GripperGrabCommand_<ContainerAllocator>  _command_type;
00036    ::pr2_gripper_sensor_msgs::PR2GripperGrabCommand_<ContainerAllocator>  command;
00037 
00038 
00039   typedef boost::shared_ptr< ::pr2_gripper_sensor_msgs::PR2GripperGrabGoal_<ContainerAllocator> > Ptr;
00040   typedef boost::shared_ptr< ::pr2_gripper_sensor_msgs::PR2GripperGrabGoal_<ContainerAllocator>  const> ConstPtr;
00041   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00042 }; // struct PR2GripperGrabGoal
00043 typedef  ::pr2_gripper_sensor_msgs::PR2GripperGrabGoal_<std::allocator<void> > PR2GripperGrabGoal;
00044 
00045 typedef boost::shared_ptr< ::pr2_gripper_sensor_msgs::PR2GripperGrabGoal> PR2GripperGrabGoalPtr;
00046 typedef boost::shared_ptr< ::pr2_gripper_sensor_msgs::PR2GripperGrabGoal const> PR2GripperGrabGoalConstPtr;
00047 
00048 
00049 template<typename ContainerAllocator>
00050 std::ostream& operator<<(std::ostream& s, const  ::pr2_gripper_sensor_msgs::PR2GripperGrabGoal_<ContainerAllocator> & v)
00051 {
00052   ros::message_operations::Printer< ::pr2_gripper_sensor_msgs::PR2GripperGrabGoal_<ContainerAllocator> >::stream(s, "", v);
00053   return s;}
00054 
00055 } // namespace pr2_gripper_sensor_msgs
00056 
00057 namespace ros
00058 {
00059 namespace message_traits
00060 {
00061 template<class ContainerAllocator> struct IsMessage< ::pr2_gripper_sensor_msgs::PR2GripperGrabGoal_<ContainerAllocator> > : public TrueType {};
00062 template<class ContainerAllocator> struct IsMessage< ::pr2_gripper_sensor_msgs::PR2GripperGrabGoal_<ContainerAllocator>  const> : public TrueType {};
00063 template<class ContainerAllocator>
00064 struct MD5Sum< ::pr2_gripper_sensor_msgs::PR2GripperGrabGoal_<ContainerAllocator> > {
00065   static const char* value() 
00066   {
00067     return "4dec90ce1cb7519ca39577ac65441112";
00068   }
00069 
00070   static const char* value(const  ::pr2_gripper_sensor_msgs::PR2GripperGrabGoal_<ContainerAllocator> &) { return value(); } 
00071   static const uint64_t static_value1 = 0x4dec90ce1cb7519cULL;
00072   static const uint64_t static_value2 = 0xa39577ac65441112ULL;
00073 };
00074 
00075 template<class ContainerAllocator>
00076 struct DataType< ::pr2_gripper_sensor_msgs::PR2GripperGrabGoal_<ContainerAllocator> > {
00077   static const char* value() 
00078   {
00079     return "pr2_gripper_sensor_msgs/PR2GripperGrabGoal";
00080   }
00081 
00082   static const char* value(const  ::pr2_gripper_sensor_msgs::PR2GripperGrabGoal_<ContainerAllocator> &) { return value(); } 
00083 };
00084 
00085 template<class ContainerAllocator>
00086 struct Definition< ::pr2_gripper_sensor_msgs::PR2GripperGrabGoal_<ContainerAllocator> > {
00087   static const char* value() 
00088   {
00089     return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00090 #goal\n\
00091 PR2GripperGrabCommand command\n\
00092 \n\
00093 ================================================================================\n\
00094 MSG: pr2_gripper_sensor_msgs/PR2GripperGrabCommand\n\
00095 # The gain to use to evaluate how hard an object should be\n\
00096 # grasped after it is contacted. This is based on hardness\n\
00097 # estimation as outlined in TRO paper (see wiki).\n\
00098 # \n\
00099 # Try 0.03\n\
00100 #\n\
00101 # Units (N/(m/s^2))\n\
00102 float64 hardness_gain\n\
00103 \n\
00104 ";
00105   }
00106 
00107   static const char* value(const  ::pr2_gripper_sensor_msgs::PR2GripperGrabGoal_<ContainerAllocator> &) { return value(); } 
00108 };
00109 
00110 template<class ContainerAllocator> struct IsFixedSize< ::pr2_gripper_sensor_msgs::PR2GripperGrabGoal_<ContainerAllocator> > : public TrueType {};
00111 } // namespace message_traits
00112 } // namespace ros
00113 
00114 namespace ros
00115 {
00116 namespace serialization
00117 {
00118 
00119 template<class ContainerAllocator> struct Serializer< ::pr2_gripper_sensor_msgs::PR2GripperGrabGoal_<ContainerAllocator> >
00120 {
00121   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00122   {
00123     stream.next(m.command);
00124   }
00125 
00126   ROS_DECLARE_ALLINONE_SERIALIZER;
00127 }; // struct PR2GripperGrabGoal_
00128 } // namespace serialization
00129 } // namespace ros
00130 
00131 namespace ros
00132 {
00133 namespace message_operations
00134 {
00135 
00136 template<class ContainerAllocator>
00137 struct Printer< ::pr2_gripper_sensor_msgs::PR2GripperGrabGoal_<ContainerAllocator> >
00138 {
00139   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::pr2_gripper_sensor_msgs::PR2GripperGrabGoal_<ContainerAllocator> & v) 
00140   {
00141     s << indent << "command: ";
00142 s << std::endl;
00143     Printer< ::pr2_gripper_sensor_msgs::PR2GripperGrabCommand_<ContainerAllocator> >::stream(s, indent + "  ", v.command);
00144   }
00145 };
00146 
00147 
00148 } // namespace message_operations
00149 } // namespace ros
00150 
00151 #endif // PR2_GRIPPER_SENSOR_MSGS_MESSAGE_PR2GRIPPERGRABGOAL_H
00152 


pr2_gripper_sensor_msgs
Author(s): Joe Romano
autogenerated on Mon Oct 6 2014 12:17:33