CartesianImpedance.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-RCPRG/doc_stacks/2013-11-14_11-44-42.201614/lwr_robot/lwr_impedance_controller/msg/CartesianImpedance.msg */
00002 #ifndef LWR_IMPEDANCE_CONTROLLER_MESSAGE_CARTESIANIMPEDANCE_H
00003 #define LWR_IMPEDANCE_CONTROLLER_MESSAGE_CARTESIANIMPEDANCE_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/Wrench.h"
00018 #include "geometry_msgs/Wrench.h"
00019 
00020 namespace lwr_impedance_controller
00021 {
00022 template <class ContainerAllocator>
00023 struct CartesianImpedance_ {
00024   typedef CartesianImpedance_<ContainerAllocator> Type;
00025 
00026   CartesianImpedance_()
00027   : stiffness()
00028   , damping()
00029   {
00030   }
00031 
00032   CartesianImpedance_(const ContainerAllocator& _alloc)
00033   : stiffness(_alloc)
00034   , damping(_alloc)
00035   {
00036   }
00037 
00038   typedef  ::geometry_msgs::Wrench_<ContainerAllocator>  _stiffness_type;
00039    ::geometry_msgs::Wrench_<ContainerAllocator>  stiffness;
00040 
00041   typedef  ::geometry_msgs::Wrench_<ContainerAllocator>  _damping_type;
00042    ::geometry_msgs::Wrench_<ContainerAllocator>  damping;
00043 
00044 
00045   typedef boost::shared_ptr< ::lwr_impedance_controller::CartesianImpedance_<ContainerAllocator> > Ptr;
00046   typedef boost::shared_ptr< ::lwr_impedance_controller::CartesianImpedance_<ContainerAllocator>  const> ConstPtr;
00047   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00048 }; // struct CartesianImpedance
00049 typedef  ::lwr_impedance_controller::CartesianImpedance_<std::allocator<void> > CartesianImpedance;
00050 
00051 typedef boost::shared_ptr< ::lwr_impedance_controller::CartesianImpedance> CartesianImpedancePtr;
00052 typedef boost::shared_ptr< ::lwr_impedance_controller::CartesianImpedance const> CartesianImpedanceConstPtr;
00053 
00054 
00055 template<typename ContainerAllocator>
00056 std::ostream& operator<<(std::ostream& s, const  ::lwr_impedance_controller::CartesianImpedance_<ContainerAllocator> & v)
00057 {
00058   ros::message_operations::Printer< ::lwr_impedance_controller::CartesianImpedance_<ContainerAllocator> >::stream(s, "", v);
00059   return s;}
00060 
00061 } // namespace lwr_impedance_controller
00062 
00063 namespace ros
00064 {
00065 namespace message_traits
00066 {
00067 template<class ContainerAllocator> struct IsMessage< ::lwr_impedance_controller::CartesianImpedance_<ContainerAllocator> > : public TrueType {};
00068 template<class ContainerAllocator> struct IsMessage< ::lwr_impedance_controller::CartesianImpedance_<ContainerAllocator>  const> : public TrueType {};
00069 template<class ContainerAllocator>
00070 struct MD5Sum< ::lwr_impedance_controller::CartesianImpedance_<ContainerAllocator> > {
00071   static const char* value() 
00072   {
00073     return "00eebfadf4eb16b827bad74384942870";
00074   }
00075 
00076   static const char* value(const  ::lwr_impedance_controller::CartesianImpedance_<ContainerAllocator> &) { return value(); } 
00077   static const uint64_t static_value1 = 0x00eebfadf4eb16b8ULL;
00078   static const uint64_t static_value2 = 0x27bad74384942870ULL;
00079 };
00080 
00081 template<class ContainerAllocator>
00082 struct DataType< ::lwr_impedance_controller::CartesianImpedance_<ContainerAllocator> > {
00083   static const char* value() 
00084   {
00085     return "lwr_impedance_controller/CartesianImpedance";
00086   }
00087 
00088   static const char* value(const  ::lwr_impedance_controller::CartesianImpedance_<ContainerAllocator> &) { return value(); } 
00089 };
00090 
00091 template<class ContainerAllocator>
00092 struct Definition< ::lwr_impedance_controller::CartesianImpedance_<ContainerAllocator> > {
00093   static const char* value() 
00094   {
00095     return "geometry_msgs/Wrench stiffness\n\
00096 geometry_msgs/Wrench damping\n\
00097 \n\
00098 ================================================================================\n\
00099 MSG: geometry_msgs/Wrench\n\
00100 # This represents force in free space, seperated into \n\
00101 # it's linear and angular parts.  \n\
00102 Vector3  force\n\
00103 Vector3  torque\n\
00104 \n\
00105 ================================================================================\n\
00106 MSG: geometry_msgs/Vector3\n\
00107 # This represents a vector in free space. \n\
00108 \n\
00109 float64 x\n\
00110 float64 y\n\
00111 float64 z\n\
00112 ";
00113   }
00114 
00115   static const char* value(const  ::lwr_impedance_controller::CartesianImpedance_<ContainerAllocator> &) { return value(); } 
00116 };
00117 
00118 template<class ContainerAllocator> struct IsFixedSize< ::lwr_impedance_controller::CartesianImpedance_<ContainerAllocator> > : public TrueType {};
00119 } // namespace message_traits
00120 } // namespace ros
00121 
00122 namespace ros
00123 {
00124 namespace serialization
00125 {
00126 
00127 template<class ContainerAllocator> struct Serializer< ::lwr_impedance_controller::CartesianImpedance_<ContainerAllocator> >
00128 {
00129   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00130   {
00131     stream.next(m.stiffness);
00132     stream.next(m.damping);
00133   }
00134 
00135   ROS_DECLARE_ALLINONE_SERIALIZER;
00136 }; // struct CartesianImpedance_
00137 } // namespace serialization
00138 } // namespace ros
00139 
00140 namespace ros
00141 {
00142 namespace message_operations
00143 {
00144 
00145 template<class ContainerAllocator>
00146 struct Printer< ::lwr_impedance_controller::CartesianImpedance_<ContainerAllocator> >
00147 {
00148   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::lwr_impedance_controller::CartesianImpedance_<ContainerAllocator> & v) 
00149   {
00150     s << indent << "stiffness: ";
00151 s << std::endl;
00152     Printer< ::geometry_msgs::Wrench_<ContainerAllocator> >::stream(s, indent + "  ", v.stiffness);
00153     s << indent << "damping: ";
00154 s << std::endl;
00155     Printer< ::geometry_msgs::Wrench_<ContainerAllocator> >::stream(s, indent + "  ", v.damping);
00156   }
00157 };
00158 
00159 
00160 } // namespace message_operations
00161 } // namespace ros
00162 
00163 #endif // LWR_IMPEDANCE_CONTROLLER_MESSAGE_CARTESIANIMPEDANCE_H
00164 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends


lwr_impedance_controller
Author(s): Konrad Banachowicz
autogenerated on Thu Nov 14 2013 11:56:13