PR2GripperFindContactGoal.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-pr2_object_manipulation/doc_stacks/2014-01-03_11-39-44.427894/pr2_object_manipulation/manipulation/pr2_gripper_sensor_msgs/msg/PR2GripperFindContactGoal.msg */
00002 #ifndef PR2_GRIPPER_SENSOR_MSGS_MESSAGE_PR2GRIPPERFINDCONTACTGOAL_H
00003 #define PR2_GRIPPER_SENSOR_MSGS_MESSAGE_PR2GRIPPERFINDCONTACTGOAL_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/PR2GripperFindContactCommand.h"
00018 
00019 namespace pr2_gripper_sensor_msgs
00020 {
00021 template <class ContainerAllocator>
00022 struct PR2GripperFindContactGoal_ {
00023   typedef PR2GripperFindContactGoal_<ContainerAllocator> Type;
00024 
00025   PR2GripperFindContactGoal_()
00026   : command()
00027   {
00028   }
00029 
00030   PR2GripperFindContactGoal_(const ContainerAllocator& _alloc)
00031   : command(_alloc)
00032   {
00033   }
00034 
00035   typedef  ::pr2_gripper_sensor_msgs::PR2GripperFindContactCommand_<ContainerAllocator>  _command_type;
00036    ::pr2_gripper_sensor_msgs::PR2GripperFindContactCommand_<ContainerAllocator>  command;
00037 
00038 
00039   typedef boost::shared_ptr< ::pr2_gripper_sensor_msgs::PR2GripperFindContactGoal_<ContainerAllocator> > Ptr;
00040   typedef boost::shared_ptr< ::pr2_gripper_sensor_msgs::PR2GripperFindContactGoal_<ContainerAllocator>  const> ConstPtr;
00041   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00042 }; // struct PR2GripperFindContactGoal
00043 typedef  ::pr2_gripper_sensor_msgs::PR2GripperFindContactGoal_<std::allocator<void> > PR2GripperFindContactGoal;
00044 
00045 typedef boost::shared_ptr< ::pr2_gripper_sensor_msgs::PR2GripperFindContactGoal> PR2GripperFindContactGoalPtr;
00046 typedef boost::shared_ptr< ::pr2_gripper_sensor_msgs::PR2GripperFindContactGoal const> PR2GripperFindContactGoalConstPtr;
00047 
00048 
00049 template<typename ContainerAllocator>
00050 std::ostream& operator<<(std::ostream& s, const  ::pr2_gripper_sensor_msgs::PR2GripperFindContactGoal_<ContainerAllocator> & v)
00051 {
00052   ros::message_operations::Printer< ::pr2_gripper_sensor_msgs::PR2GripperFindContactGoal_<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::PR2GripperFindContactGoal_<ContainerAllocator> > : public TrueType {};
00062 template<class ContainerAllocator> struct IsMessage< ::pr2_gripper_sensor_msgs::PR2GripperFindContactGoal_<ContainerAllocator>  const> : public TrueType {};
00063 template<class ContainerAllocator>
00064 struct MD5Sum< ::pr2_gripper_sensor_msgs::PR2GripperFindContactGoal_<ContainerAllocator> > {
00065   static const char* value() 
00066   {
00067     return "f0ae570e217e7429eba0f205341933a0";
00068   }
00069 
00070   static const char* value(const  ::pr2_gripper_sensor_msgs::PR2GripperFindContactGoal_<ContainerAllocator> &) { return value(); } 
00071   static const uint64_t static_value1 = 0xf0ae570e217e7429ULL;
00072   static const uint64_t static_value2 = 0xeba0f205341933a0ULL;
00073 };
00074 
00075 template<class ContainerAllocator>
00076 struct DataType< ::pr2_gripper_sensor_msgs::PR2GripperFindContactGoal_<ContainerAllocator> > {
00077   static const char* value() 
00078   {
00079     return "pr2_gripper_sensor_msgs/PR2GripperFindContactGoal";
00080   }
00081 
00082   static const char* value(const  ::pr2_gripper_sensor_msgs::PR2GripperFindContactGoal_<ContainerAllocator> &) { return value(); } 
00083 };
00084 
00085 template<class ContainerAllocator>
00086 struct Definition< ::pr2_gripper_sensor_msgs::PR2GripperFindContactGoal_<ContainerAllocator> > {
00087   static const char* value() 
00088   {
00089     return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00090 # Contact action used to close fingers and find object contacts \n\
00091 # quickly while still stopping fast in real-time to not damage \n\
00092 # objects\n\
00093 \n\
00094 #goal\n\
00095 PR2GripperFindContactCommand command\n\
00096 \n\
00097 ================================================================================\n\
00098 MSG: pr2_gripper_sensor_msgs/PR2GripperFindContactCommand\n\
00099 # set true if you want to calibrate the fingertip sensors on the start\n\
00100 # of the find_contact action. While this is not necessary (and\n\
00101 # the default value will not calibrate the sensors) for best \n\
00102 # performance it is recommended that you set this to true each time \n\
00103 # you are calling find_contact and are confident the fingertips are \n\
00104 # not touching anything\n\
00105 # NOTE: SHOULD ONLY BE TRUE WHEN BOTH FINGERS ARE TOUCHING NOTHING\n\
00106 bool zero_fingertip_sensors\n\
00107 \n\
00108 # the finger contact conditions that determine what our goal is\n\
00109 # Leaving this field blank will result in the robot closing until\n\
00110 # contact on BOTH fingers is achieved\n\
00111 int8 contact_conditions\n\
00112 \n\
00113 # predefined values for the above contact_conditions variable\n\
00114 int8 BOTH = 0   # both fingers must make contact\n\
00115 int8 LEFT = 1   # just the left finger \n\
00116 int8 RIGHT = 2  # just the right finger\n\
00117 int8 EITHER = 3 # either finger, we don't care which\n\
00118 \n\
00119 ";
00120   }
00121 
00122   static const char* value(const  ::pr2_gripper_sensor_msgs::PR2GripperFindContactGoal_<ContainerAllocator> &) { return value(); } 
00123 };
00124 
00125 template<class ContainerAllocator> struct IsFixedSize< ::pr2_gripper_sensor_msgs::PR2GripperFindContactGoal_<ContainerAllocator> > : public TrueType {};
00126 } // namespace message_traits
00127 } // namespace ros
00128 
00129 namespace ros
00130 {
00131 namespace serialization
00132 {
00133 
00134 template<class ContainerAllocator> struct Serializer< ::pr2_gripper_sensor_msgs::PR2GripperFindContactGoal_<ContainerAllocator> >
00135 {
00136   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00137   {
00138     stream.next(m.command);
00139   }
00140 
00141   ROS_DECLARE_ALLINONE_SERIALIZER;
00142 }; // struct PR2GripperFindContactGoal_
00143 } // namespace serialization
00144 } // namespace ros
00145 
00146 namespace ros
00147 {
00148 namespace message_operations
00149 {
00150 
00151 template<class ContainerAllocator>
00152 struct Printer< ::pr2_gripper_sensor_msgs::PR2GripperFindContactGoal_<ContainerAllocator> >
00153 {
00154   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::pr2_gripper_sensor_msgs::PR2GripperFindContactGoal_<ContainerAllocator> & v) 
00155   {
00156     s << indent << "command: ";
00157 s << std::endl;
00158     Printer< ::pr2_gripper_sensor_msgs::PR2GripperFindContactCommand_<ContainerAllocator> >::stream(s, indent + "  ", v.command);
00159   }
00160 };
00161 
00162 
00163 } // namespace message_operations
00164 } // namespace ros
00165 
00166 #endif // PR2_GRIPPER_SENSOR_MSGS_MESSAGE_PR2GRIPPERFINDCONTACTGOAL_H
00167 


pr2_gripper_sensor_msgs
Author(s): Joe Romano
autogenerated on Fri Jan 3 2014 11:52:59