PR2GripperForceServoFeedback.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/PR2GripperForceServoFeedback.msg */
00002 #ifndef PR2_GRIPPER_SENSOR_MSGS_MESSAGE_PR2GRIPPERFORCESERVOFEEDBACK_H
00003 #define PR2_GRIPPER_SENSOR_MSGS_MESSAGE_PR2GRIPPERFORCESERVOFEEDBACK_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/PR2GripperForceServoData.h"
00018 
00019 namespace pr2_gripper_sensor_msgs
00020 {
00021 template <class ContainerAllocator>
00022 struct PR2GripperForceServoFeedback_ {
00023   typedef PR2GripperForceServoFeedback_<ContainerAllocator> Type;
00024 
00025   PR2GripperForceServoFeedback_()
00026   : data()
00027   {
00028   }
00029 
00030   PR2GripperForceServoFeedback_(const ContainerAllocator& _alloc)
00031   : data(_alloc)
00032   {
00033   }
00034 
00035   typedef  ::pr2_gripper_sensor_msgs::PR2GripperForceServoData_<ContainerAllocator>  _data_type;
00036    ::pr2_gripper_sensor_msgs::PR2GripperForceServoData_<ContainerAllocator>  data;
00037 
00038 
00039   typedef boost::shared_ptr< ::pr2_gripper_sensor_msgs::PR2GripperForceServoFeedback_<ContainerAllocator> > Ptr;
00040   typedef boost::shared_ptr< ::pr2_gripper_sensor_msgs::PR2GripperForceServoFeedback_<ContainerAllocator>  const> ConstPtr;
00041   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00042 }; // struct PR2GripperForceServoFeedback
00043 typedef  ::pr2_gripper_sensor_msgs::PR2GripperForceServoFeedback_<std::allocator<void> > PR2GripperForceServoFeedback;
00044 
00045 typedef boost::shared_ptr< ::pr2_gripper_sensor_msgs::PR2GripperForceServoFeedback> PR2GripperForceServoFeedbackPtr;
00046 typedef boost::shared_ptr< ::pr2_gripper_sensor_msgs::PR2GripperForceServoFeedback const> PR2GripperForceServoFeedbackConstPtr;
00047 
00048 
00049 template<typename ContainerAllocator>
00050 std::ostream& operator<<(std::ostream& s, const  ::pr2_gripper_sensor_msgs::PR2GripperForceServoFeedback_<ContainerAllocator> & v)
00051 {
00052   ros::message_operations::Printer< ::pr2_gripper_sensor_msgs::PR2GripperForceServoFeedback_<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::PR2GripperForceServoFeedback_<ContainerAllocator> > : public TrueType {};
00062 template<class ContainerAllocator> struct IsMessage< ::pr2_gripper_sensor_msgs::PR2GripperForceServoFeedback_<ContainerAllocator>  const> : public TrueType {};
00063 template<class ContainerAllocator>
00064 struct MD5Sum< ::pr2_gripper_sensor_msgs::PR2GripperForceServoFeedback_<ContainerAllocator> > {
00065   static const char* value() 
00066   {
00067     return "a85c0d43537b45945527f5de565ab7c2";
00068   }
00069 
00070   static const char* value(const  ::pr2_gripper_sensor_msgs::PR2GripperForceServoFeedback_<ContainerAllocator> &) { return value(); } 
00071   static const uint64_t static_value1 = 0xa85c0d43537b4594ULL;
00072   static const uint64_t static_value2 = 0x5527f5de565ab7c2ULL;
00073 };
00074 
00075 template<class ContainerAllocator>
00076 struct DataType< ::pr2_gripper_sensor_msgs::PR2GripperForceServoFeedback_<ContainerAllocator> > {
00077   static const char* value() 
00078   {
00079     return "pr2_gripper_sensor_msgs/PR2GripperForceServoFeedback";
00080   }
00081 
00082   static const char* value(const  ::pr2_gripper_sensor_msgs::PR2GripperForceServoFeedback_<ContainerAllocator> &) { return value(); } 
00083 };
00084 
00085 template<class ContainerAllocator>
00086 struct Definition< ::pr2_gripper_sensor_msgs::PR2GripperForceServoFeedback_<ContainerAllocator> > {
00087   static const char* value() 
00088   {
00089     return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00090 \n\
00091 #feedback\n\
00092 PR2GripperForceServoData data\n\
00093 \n\
00094 ================================================================================\n\
00095 MSG: pr2_gripper_sensor_msgs/PR2GripperForceServoData\n\
00096 # Time the data was recorded at\n\
00097 time stamp\n\
00098 \n\
00099 # the force experienced by the finger Pads  (N)\n\
00100 # NOTE:this ignores data from the edges of the finger pressure\n\
00101 float64 left_fingertip_pad_force\n\
00102 float64 right_fingertip_pad_force\n\
00103 \n\
00104 # the current gripper virtual parallel joint effort (in N)\n\
00105 float64 joint_effort\n\
00106 \n\
00107 # true when the gripper is no longer moving\n\
00108 # and we have reached the desired force level\n\
00109 bool force_achieved\n\
00110 \n\
00111 \n\
00112 # the control state of our realtime controller\n\
00113 PR2GripperSensorRTState rtstate\n\
00114 \n\
00115 ================================================================================\n\
00116 MSG: pr2_gripper_sensor_msgs/PR2GripperSensorRTState\n\
00117 # the control state of our realtime controller\n\
00118 int8 realtime_controller_state\n\
00119 \n\
00120 # predefined values to indicate our realtime_controller_state\n\
00121 int8 DISABLED = 0\n\
00122 int8 POSITION_SERVO = 3\n\
00123 int8 FORCE_SERVO = 4\n\
00124 int8 FIND_CONTACT = 5\n\
00125 int8 SLIP_SERVO = 6\n\
00126 ";
00127   }
00128 
00129   static const char* value(const  ::pr2_gripper_sensor_msgs::PR2GripperForceServoFeedback_<ContainerAllocator> &) { return value(); } 
00130 };
00131 
00132 template<class ContainerAllocator> struct IsFixedSize< ::pr2_gripper_sensor_msgs::PR2GripperForceServoFeedback_<ContainerAllocator> > : public TrueType {};
00133 } // namespace message_traits
00134 } // namespace ros
00135 
00136 namespace ros
00137 {
00138 namespace serialization
00139 {
00140 
00141 template<class ContainerAllocator> struct Serializer< ::pr2_gripper_sensor_msgs::PR2GripperForceServoFeedback_<ContainerAllocator> >
00142 {
00143   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00144   {
00145     stream.next(m.data);
00146   }
00147 
00148   ROS_DECLARE_ALLINONE_SERIALIZER;
00149 }; // struct PR2GripperForceServoFeedback_
00150 } // namespace serialization
00151 } // namespace ros
00152 
00153 namespace ros
00154 {
00155 namespace message_operations
00156 {
00157 
00158 template<class ContainerAllocator>
00159 struct Printer< ::pr2_gripper_sensor_msgs::PR2GripperForceServoFeedback_<ContainerAllocator> >
00160 {
00161   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::pr2_gripper_sensor_msgs::PR2GripperForceServoFeedback_<ContainerAllocator> & v) 
00162   {
00163     s << indent << "data: ";
00164 s << std::endl;
00165     Printer< ::pr2_gripper_sensor_msgs::PR2GripperForceServoData_<ContainerAllocator> >::stream(s, indent + "  ", v.data);
00166   }
00167 };
00168 
00169 
00170 } // namespace message_operations
00171 } // namespace ros
00172 
00173 #endif // PR2_GRIPPER_SENSOR_MSGS_MESSAGE_PR2GRIPPERFORCESERVOFEEDBACK_H
00174 


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