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


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