PR2GripperSlipServoResult.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/PR2GripperSlipServoResult.msg */
00002 #ifndef PR2_GRIPPER_SENSOR_MSGS_MESSAGE_PR2GRIPPERSLIPSERVORESULT_H
00003 #define PR2_GRIPPER_SENSOR_MSGS_MESSAGE_PR2GRIPPERSLIPSERVORESULT_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/PR2GripperSlipServoData.h"
00018 
00019 namespace pr2_gripper_sensor_msgs
00020 {
00021 template <class ContainerAllocator>
00022 struct PR2GripperSlipServoResult_ {
00023   typedef PR2GripperSlipServoResult_<ContainerAllocator> Type;
00024 
00025   PR2GripperSlipServoResult_()
00026   : data()
00027   {
00028   }
00029 
00030   PR2GripperSlipServoResult_(const ContainerAllocator& _alloc)
00031   : data(_alloc)
00032   {
00033   }
00034 
00035   typedef  ::pr2_gripper_sensor_msgs::PR2GripperSlipServoData_<ContainerAllocator>  _data_type;
00036    ::pr2_gripper_sensor_msgs::PR2GripperSlipServoData_<ContainerAllocator>  data;
00037 
00038 
00039   typedef boost::shared_ptr< ::pr2_gripper_sensor_msgs::PR2GripperSlipServoResult_<ContainerAllocator> > Ptr;
00040   typedef boost::shared_ptr< ::pr2_gripper_sensor_msgs::PR2GripperSlipServoResult_<ContainerAllocator>  const> ConstPtr;
00041   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00042 }; // struct PR2GripperSlipServoResult
00043 typedef  ::pr2_gripper_sensor_msgs::PR2GripperSlipServoResult_<std::allocator<void> > PR2GripperSlipServoResult;
00044 
00045 typedef boost::shared_ptr< ::pr2_gripper_sensor_msgs::PR2GripperSlipServoResult> PR2GripperSlipServoResultPtr;
00046 typedef boost::shared_ptr< ::pr2_gripper_sensor_msgs::PR2GripperSlipServoResult const> PR2GripperSlipServoResultConstPtr;
00047 
00048 
00049 template<typename ContainerAllocator>
00050 std::ostream& operator<<(std::ostream& s, const  ::pr2_gripper_sensor_msgs::PR2GripperSlipServoResult_<ContainerAllocator> & v)
00051 {
00052   ros::message_operations::Printer< ::pr2_gripper_sensor_msgs::PR2GripperSlipServoResult_<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::PR2GripperSlipServoResult_<ContainerAllocator> > : public TrueType {};
00062 template<class ContainerAllocator> struct IsMessage< ::pr2_gripper_sensor_msgs::PR2GripperSlipServoResult_<ContainerAllocator>  const> : public TrueType {};
00063 template<class ContainerAllocator>
00064 struct MD5Sum< ::pr2_gripper_sensor_msgs::PR2GripperSlipServoResult_<ContainerAllocator> > {
00065   static const char* value() 
00066   {
00067     return "1b10af616c7e94f609790b12cde04c6d";
00068   }
00069 
00070   static const char* value(const  ::pr2_gripper_sensor_msgs::PR2GripperSlipServoResult_<ContainerAllocator> &) { return value(); } 
00071   static const uint64_t static_value1 = 0x1b10af616c7e94f6ULL;
00072   static const uint64_t static_value2 = 0x09790b12cde04c6dULL;
00073 };
00074 
00075 template<class ContainerAllocator>
00076 struct DataType< ::pr2_gripper_sensor_msgs::PR2GripperSlipServoResult_<ContainerAllocator> > {
00077   static const char* value() 
00078   {
00079     return "pr2_gripper_sensor_msgs/PR2GripperSlipServoResult";
00080   }
00081 
00082   static const char* value(const  ::pr2_gripper_sensor_msgs::PR2GripperSlipServoResult_<ContainerAllocator> &) { return value(); } 
00083 };
00084 
00085 template<class ContainerAllocator>
00086 struct Definition< ::pr2_gripper_sensor_msgs::PR2GripperSlipServoResult_<ContainerAllocator> > {
00087   static const char* value() 
00088   {
00089     return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00090 \n\
00091 #result\n\
00092 PR2GripperSlipServoData data\n\
00093 \n\
00094 \n\
00095 ================================================================================\n\
00096 MSG: pr2_gripper_sensor_msgs/PR2GripperSlipServoData\n\
00097 # time the data was recorded at\n\
00098 time stamp\n\
00099 \n\
00100 # the amount of deformation from action start (in meters)\n\
00101 float64 deformation\n\
00102 \n\
00103 # the force experinced by the finger Pads  (N)\n\
00104 # NOTE:this ignores data from the edges of the finger pressure\n\
00105 float64 left_fingertip_pad_force\n\
00106 float64 right_fingertip_pad_force\n\
00107 \n\
00108 # the current virtual parallel joint effort of the gripper (in N)\n\
00109 float64 joint_effort\n\
00110 \n\
00111 # true if the object recently slipped\n\
00112 bool slip_detected\n\
00113 \n\
00114 # true if we are at or exceeding the deformation limit\n\
00115 # (see wiki page and param server for more info)\n\
00116 bool deformation_limit_reached\n\
00117 \n\
00118 # true if we are at or exceeding our force \n\
00119 # (see wiki page and param server for more info)\n\
00120 bool fingertip_force_limit_reached\n\
00121 \n\
00122 # true if the controller thinks the gripper is empty\n\
00123 # (see wiki page for more info)\n\
00124 bool gripper_empty\n\
00125 \n\
00126 # the control state of our realtime controller\n\
00127 PR2GripperSensorRTState rtstate\n\
00128 ================================================================================\n\
00129 MSG: pr2_gripper_sensor_msgs/PR2GripperSensorRTState\n\
00130 # the control state of our realtime controller\n\
00131 int8 realtime_controller_state\n\
00132 \n\
00133 # predefined values to indicate our realtime_controller_state\n\
00134 int8 DISABLED = 0\n\
00135 int8 POSITION_SERVO = 3\n\
00136 int8 FORCE_SERVO = 4\n\
00137 int8 FIND_CONTACT = 5\n\
00138 int8 SLIP_SERVO = 6\n\
00139 ";
00140   }
00141 
00142   static const char* value(const  ::pr2_gripper_sensor_msgs::PR2GripperSlipServoResult_<ContainerAllocator> &) { return value(); } 
00143 };
00144 
00145 template<class ContainerAllocator> struct IsFixedSize< ::pr2_gripper_sensor_msgs::PR2GripperSlipServoResult_<ContainerAllocator> > : public TrueType {};
00146 } // namespace message_traits
00147 } // namespace ros
00148 
00149 namespace ros
00150 {
00151 namespace serialization
00152 {
00153 
00154 template<class ContainerAllocator> struct Serializer< ::pr2_gripper_sensor_msgs::PR2GripperSlipServoResult_<ContainerAllocator> >
00155 {
00156   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00157   {
00158     stream.next(m.data);
00159   }
00160 
00161   ROS_DECLARE_ALLINONE_SERIALIZER;
00162 }; // struct PR2GripperSlipServoResult_
00163 } // namespace serialization
00164 } // namespace ros
00165 
00166 namespace ros
00167 {
00168 namespace message_operations
00169 {
00170 
00171 template<class ContainerAllocator>
00172 struct Printer< ::pr2_gripper_sensor_msgs::PR2GripperSlipServoResult_<ContainerAllocator> >
00173 {
00174   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::pr2_gripper_sensor_msgs::PR2GripperSlipServoResult_<ContainerAllocator> & v) 
00175   {
00176     s << indent << "data: ";
00177 s << std::endl;
00178     Printer< ::pr2_gripper_sensor_msgs::PR2GripperSlipServoData_<ContainerAllocator> >::stream(s, indent + "  ", v.data);
00179   }
00180 };
00181 
00182 
00183 } // namespace message_operations
00184 } // namespace ros
00185 
00186 #endif // PR2_GRIPPER_SENSOR_MSGS_MESSAGE_PR2GRIPPERSLIPSERVORESULT_H
00187 


pr2_gripper_sensor_msgs
Author(s): Joe Romano
autogenerated on Fri Jan 3 2014 11:53:00