Pr2GripperCommandFeedback.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-pr2_controllers/doc_stacks/2014-04-24_15-41-20.176555/pr2_controllers/pr2_controllers_msgs/msg/Pr2GripperCommandFeedback.msg */
00002 #ifndef PR2_CONTROLLERS_MSGS_MESSAGE_PR2GRIPPERCOMMANDFEEDBACK_H
00003 #define PR2_CONTROLLERS_MSGS_MESSAGE_PR2GRIPPERCOMMANDFEEDBACK_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_controllers_msgs
00019 {
00020 template <class ContainerAllocator>
00021 struct Pr2GripperCommandFeedback_ {
00022   typedef Pr2GripperCommandFeedback_<ContainerAllocator> Type;
00023 
00024   Pr2GripperCommandFeedback_()
00025   : position(0.0)
00026   , effort(0.0)
00027   , stalled(false)
00028   , reached_goal(false)
00029   {
00030   }
00031 
00032   Pr2GripperCommandFeedback_(const ContainerAllocator& _alloc)
00033   : position(0.0)
00034   , effort(0.0)
00035   , stalled(false)
00036   , reached_goal(false)
00037   {
00038   }
00039 
00040   typedef double _position_type;
00041   double position;
00042 
00043   typedef double _effort_type;
00044   double effort;
00045 
00046   typedef uint8_t _stalled_type;
00047   uint8_t stalled;
00048 
00049   typedef uint8_t _reached_goal_type;
00050   uint8_t reached_goal;
00051 
00052 
00053   typedef boost::shared_ptr< ::pr2_controllers_msgs::Pr2GripperCommandFeedback_<ContainerAllocator> > Ptr;
00054   typedef boost::shared_ptr< ::pr2_controllers_msgs::Pr2GripperCommandFeedback_<ContainerAllocator>  const> ConstPtr;
00055   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00056 }; // struct Pr2GripperCommandFeedback
00057 typedef  ::pr2_controllers_msgs::Pr2GripperCommandFeedback_<std::allocator<void> > Pr2GripperCommandFeedback;
00058 
00059 typedef boost::shared_ptr< ::pr2_controllers_msgs::Pr2GripperCommandFeedback> Pr2GripperCommandFeedbackPtr;
00060 typedef boost::shared_ptr< ::pr2_controllers_msgs::Pr2GripperCommandFeedback const> Pr2GripperCommandFeedbackConstPtr;
00061 
00062 
00063 template<typename ContainerAllocator>
00064 std::ostream& operator<<(std::ostream& s, const  ::pr2_controllers_msgs::Pr2GripperCommandFeedback_<ContainerAllocator> & v)
00065 {
00066   ros::message_operations::Printer< ::pr2_controllers_msgs::Pr2GripperCommandFeedback_<ContainerAllocator> >::stream(s, "", v);
00067   return s;}
00068 
00069 } // namespace pr2_controllers_msgs
00070 
00071 namespace ros
00072 {
00073 namespace message_traits
00074 {
00075 template<class ContainerAllocator> struct IsMessage< ::pr2_controllers_msgs::Pr2GripperCommandFeedback_<ContainerAllocator> > : public TrueType {};
00076 template<class ContainerAllocator> struct IsMessage< ::pr2_controllers_msgs::Pr2GripperCommandFeedback_<ContainerAllocator>  const> : public TrueType {};
00077 template<class ContainerAllocator>
00078 struct MD5Sum< ::pr2_controllers_msgs::Pr2GripperCommandFeedback_<ContainerAllocator> > {
00079   static const char* value() 
00080   {
00081     return "e4cbff56d3562bcf113da5a5adeef91f";
00082   }
00083 
00084   static const char* value(const  ::pr2_controllers_msgs::Pr2GripperCommandFeedback_<ContainerAllocator> &) { return value(); } 
00085   static const uint64_t static_value1 = 0xe4cbff56d3562bcfULL;
00086   static const uint64_t static_value2 = 0x113da5a5adeef91fULL;
00087 };
00088 
00089 template<class ContainerAllocator>
00090 struct DataType< ::pr2_controllers_msgs::Pr2GripperCommandFeedback_<ContainerAllocator> > {
00091   static const char* value() 
00092   {
00093     return "pr2_controllers_msgs/Pr2GripperCommandFeedback";
00094   }
00095 
00096   static const char* value(const  ::pr2_controllers_msgs::Pr2GripperCommandFeedback_<ContainerAllocator> &) { return value(); } 
00097 };
00098 
00099 template<class ContainerAllocator>
00100 struct Definition< ::pr2_controllers_msgs::Pr2GripperCommandFeedback_<ContainerAllocator> > {
00101   static const char* value() 
00102   {
00103     return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00104 float64 position  # The current gripper gap size (in meters)\n\
00105 float64 effort    # The current effort exerted (in Newtons)\n\
00106 bool stalled      # True iff the gripper is exerting max effort and not moving\n\
00107 bool reached_goal # True iff the gripper position has reached the commanded setpoint\n\
00108 \n\
00109 \n\
00110 ";
00111   }
00112 
00113   static const char* value(const  ::pr2_controllers_msgs::Pr2GripperCommandFeedback_<ContainerAllocator> &) { return value(); } 
00114 };
00115 
00116 template<class ContainerAllocator> struct IsFixedSize< ::pr2_controllers_msgs::Pr2GripperCommandFeedback_<ContainerAllocator> > : public TrueType {};
00117 } // namespace message_traits
00118 } // namespace ros
00119 
00120 namespace ros
00121 {
00122 namespace serialization
00123 {
00124 
00125 template<class ContainerAllocator> struct Serializer< ::pr2_controllers_msgs::Pr2GripperCommandFeedback_<ContainerAllocator> >
00126 {
00127   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00128   {
00129     stream.next(m.position);
00130     stream.next(m.effort);
00131     stream.next(m.stalled);
00132     stream.next(m.reached_goal);
00133   }
00134 
00135   ROS_DECLARE_ALLINONE_SERIALIZER;
00136 }; // struct Pr2GripperCommandFeedback_
00137 } // namespace serialization
00138 } // namespace ros
00139 
00140 namespace ros
00141 {
00142 namespace message_operations
00143 {
00144 
00145 template<class ContainerAllocator>
00146 struct Printer< ::pr2_controllers_msgs::Pr2GripperCommandFeedback_<ContainerAllocator> >
00147 {
00148   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::pr2_controllers_msgs::Pr2GripperCommandFeedback_<ContainerAllocator> & v) 
00149   {
00150     s << indent << "position: ";
00151     Printer<double>::stream(s, indent + "  ", v.position);
00152     s << indent << "effort: ";
00153     Printer<double>::stream(s, indent + "  ", v.effort);
00154     s << indent << "stalled: ";
00155     Printer<uint8_t>::stream(s, indent + "  ", v.stalled);
00156     s << indent << "reached_goal: ";
00157     Printer<uint8_t>::stream(s, indent + "  ", v.reached_goal);
00158   }
00159 };
00160 
00161 
00162 } // namespace message_operations
00163 } // namespace ros
00164 
00165 #endif // PR2_CONTROLLERS_MSGS_MESSAGE_PR2GRIPPERCOMMANDFEEDBACK_H
00166 


pr2_controllers_msgs
Author(s): Stuart Glaser
autogenerated on Thu Apr 24 2014 15:44:13