OmniFeedback.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-gt-ros-pkg/doc_stacks/2013-11-27_11-23-35.692702/hrl/hrl_hardware_drivers/phantom_omni/msg/OmniFeedback.msg */
00002 #ifndef PHANTOM_OMNI_MESSAGE_OMNIFEEDBACK_H
00003 #define PHANTOM_OMNI_MESSAGE_OMNIFEEDBACK_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 "geometry_msgs/Vector3.h"
00018 #include "geometry_msgs/Vector3.h"
00019 
00020 namespace phantom_omni
00021 {
00022 template <class ContainerAllocator>
00023 struct OmniFeedback_ {
00024   typedef OmniFeedback_<ContainerAllocator> Type;
00025 
00026   OmniFeedback_()
00027   : force()
00028   , position()
00029   {
00030   }
00031 
00032   OmniFeedback_(const ContainerAllocator& _alloc)
00033   : force(_alloc)
00034   , position(_alloc)
00035   {
00036   }
00037 
00038   typedef  ::geometry_msgs::Vector3_<ContainerAllocator>  _force_type;
00039    ::geometry_msgs::Vector3_<ContainerAllocator>  force;
00040 
00041   typedef  ::geometry_msgs::Vector3_<ContainerAllocator>  _position_type;
00042    ::geometry_msgs::Vector3_<ContainerAllocator>  position;
00043 
00044 
00045   typedef boost::shared_ptr< ::phantom_omni::OmniFeedback_<ContainerAllocator> > Ptr;
00046   typedef boost::shared_ptr< ::phantom_omni::OmniFeedback_<ContainerAllocator>  const> ConstPtr;
00047   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00048 }; // struct OmniFeedback
00049 typedef  ::phantom_omni::OmniFeedback_<std::allocator<void> > OmniFeedback;
00050 
00051 typedef boost::shared_ptr< ::phantom_omni::OmniFeedback> OmniFeedbackPtr;
00052 typedef boost::shared_ptr< ::phantom_omni::OmniFeedback const> OmniFeedbackConstPtr;
00053 
00054 
00055 template<typename ContainerAllocator>
00056 std::ostream& operator<<(std::ostream& s, const  ::phantom_omni::OmniFeedback_<ContainerAllocator> & v)
00057 {
00058   ros::message_operations::Printer< ::phantom_omni::OmniFeedback_<ContainerAllocator> >::stream(s, "", v);
00059   return s;}
00060 
00061 } // namespace phantom_omni
00062 
00063 namespace ros
00064 {
00065 namespace message_traits
00066 {
00067 template<class ContainerAllocator> struct IsMessage< ::phantom_omni::OmniFeedback_<ContainerAllocator> > : public TrueType {};
00068 template<class ContainerAllocator> struct IsMessage< ::phantom_omni::OmniFeedback_<ContainerAllocator>  const> : public TrueType {};
00069 template<class ContainerAllocator>
00070 struct MD5Sum< ::phantom_omni::OmniFeedback_<ContainerAllocator> > {
00071   static const char* value() 
00072   {
00073     return "e9083ac4fd95494e94fbb0c0f90b6c00";
00074   }
00075 
00076   static const char* value(const  ::phantom_omni::OmniFeedback_<ContainerAllocator> &) { return value(); } 
00077   static const uint64_t static_value1 = 0xe9083ac4fd95494eULL;
00078   static const uint64_t static_value2 = 0x94fbb0c0f90b6c00ULL;
00079 };
00080 
00081 template<class ContainerAllocator>
00082 struct DataType< ::phantom_omni::OmniFeedback_<ContainerAllocator> > {
00083   static const char* value() 
00084   {
00085     return "phantom_omni/OmniFeedback";
00086   }
00087 
00088   static const char* value(const  ::phantom_omni::OmniFeedback_<ContainerAllocator> &) { return value(); } 
00089 };
00090 
00091 template<class ContainerAllocator>
00092 struct Definition< ::phantom_omni::OmniFeedback_<ContainerAllocator> > {
00093   static const char* value() 
00094   {
00095     return "# This is the force as estimated from the applied torques as well as the current\n\
00096 # end effector position of the robot arm                           \n\
00097 geometry_msgs/Vector3  force                                                                  \n\
00098 geometry_msgs/Vector3  position  \n\
00099 ================================================================================\n\
00100 MSG: geometry_msgs/Vector3\n\
00101 # This represents a vector in free space. \n\
00102 \n\
00103 float64 x\n\
00104 float64 y\n\
00105 float64 z\n\
00106 ";
00107   }
00108 
00109   static const char* value(const  ::phantom_omni::OmniFeedback_<ContainerAllocator> &) { return value(); } 
00110 };
00111 
00112 template<class ContainerAllocator> struct IsFixedSize< ::phantom_omni::OmniFeedback_<ContainerAllocator> > : public TrueType {};
00113 } // namespace message_traits
00114 } // namespace ros
00115 
00116 namespace ros
00117 {
00118 namespace serialization
00119 {
00120 
00121 template<class ContainerAllocator> struct Serializer< ::phantom_omni::OmniFeedback_<ContainerAllocator> >
00122 {
00123   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00124   {
00125     stream.next(m.force);
00126     stream.next(m.position);
00127   }
00128 
00129   ROS_DECLARE_ALLINONE_SERIALIZER;
00130 }; // struct OmniFeedback_
00131 } // namespace serialization
00132 } // namespace ros
00133 
00134 namespace ros
00135 {
00136 namespace message_operations
00137 {
00138 
00139 template<class ContainerAllocator>
00140 struct Printer< ::phantom_omni::OmniFeedback_<ContainerAllocator> >
00141 {
00142   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::phantom_omni::OmniFeedback_<ContainerAllocator> & v) 
00143   {
00144     s << indent << "force: ";
00145 s << std::endl;
00146     Printer< ::geometry_msgs::Vector3_<ContainerAllocator> >::stream(s, indent + "  ", v.force);
00147     s << indent << "position: ";
00148 s << std::endl;
00149     Printer< ::geometry_msgs::Vector3_<ContainerAllocator> >::stream(s, indent + "  ", v.position);
00150   }
00151 };
00152 
00153 
00154 } // namespace message_operations
00155 } // namespace ros
00156 
00157 #endif // PHANTOM_OMNI_MESSAGE_OMNIFEEDBACK_H
00158 


phantom_omni
Author(s): Hai Nguyen, Marc Killpack, Chi-Hung King, Advisor: Prof. Charlie Kemp, Lab: Healthcare Robotics Lab at Georgia Tech
autogenerated on Wed Nov 27 2013 11:51:14