Go to the documentation of this file.00001
00002 #ifndef HRL_HAPTIC_MANIPULATION_IN_CLUTTER_MSGS_MESSAGE_MECHANICALIMPEDANCEPARAMS_H
00003 #define HRL_HAPTIC_MANIPULATION_IN_CLUTTER_MSGS_MESSAGE_MECHANICALIMPEDANCEPARAMS_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 "std_msgs/Header.h"
00018 #include "hrl_msgs/FloatArrayBare.h"
00019 #include "hrl_msgs/FloatArrayBare.h"
00020
00021 namespace hrl_haptic_manipulation_in_clutter_msgs
00022 {
00023 template <class ContainerAllocator>
00024 struct MechanicalImpedanceParams_ {
00025 typedef MechanicalImpedanceParams_<ContainerAllocator> Type;
00026
00027 MechanicalImpedanceParams_()
00028 : header()
00029 , k_p()
00030 , k_d()
00031 {
00032 }
00033
00034 MechanicalImpedanceParams_(const ContainerAllocator& _alloc)
00035 : header(_alloc)
00036 , k_p(_alloc)
00037 , k_d(_alloc)
00038 {
00039 }
00040
00041 typedef ::std_msgs::Header_<ContainerAllocator> _header_type;
00042 ::std_msgs::Header_<ContainerAllocator> header;
00043
00044 typedef ::hrl_msgs::FloatArrayBare_<ContainerAllocator> _k_p_type;
00045 ::hrl_msgs::FloatArrayBare_<ContainerAllocator> k_p;
00046
00047 typedef ::hrl_msgs::FloatArrayBare_<ContainerAllocator> _k_d_type;
00048 ::hrl_msgs::FloatArrayBare_<ContainerAllocator> k_d;
00049
00050
00051 typedef boost::shared_ptr< ::hrl_haptic_manipulation_in_clutter_msgs::MechanicalImpedanceParams_<ContainerAllocator> > Ptr;
00052 typedef boost::shared_ptr< ::hrl_haptic_manipulation_in_clutter_msgs::MechanicalImpedanceParams_<ContainerAllocator> const> ConstPtr;
00053 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00054 };
00055 typedef ::hrl_haptic_manipulation_in_clutter_msgs::MechanicalImpedanceParams_<std::allocator<void> > MechanicalImpedanceParams;
00056
00057 typedef boost::shared_ptr< ::hrl_haptic_manipulation_in_clutter_msgs::MechanicalImpedanceParams> MechanicalImpedanceParamsPtr;
00058 typedef boost::shared_ptr< ::hrl_haptic_manipulation_in_clutter_msgs::MechanicalImpedanceParams const> MechanicalImpedanceParamsConstPtr;
00059
00060
00061 template<typename ContainerAllocator>
00062 std::ostream& operator<<(std::ostream& s, const ::hrl_haptic_manipulation_in_clutter_msgs::MechanicalImpedanceParams_<ContainerAllocator> & v)
00063 {
00064 ros::message_operations::Printer< ::hrl_haptic_manipulation_in_clutter_msgs::MechanicalImpedanceParams_<ContainerAllocator> >::stream(s, "", v);
00065 return s;}
00066
00067 }
00068
00069 namespace ros
00070 {
00071 namespace message_traits
00072 {
00073 template<class ContainerAllocator> struct IsMessage< ::hrl_haptic_manipulation_in_clutter_msgs::MechanicalImpedanceParams_<ContainerAllocator> > : public TrueType {};
00074 template<class ContainerAllocator> struct IsMessage< ::hrl_haptic_manipulation_in_clutter_msgs::MechanicalImpedanceParams_<ContainerAllocator> const> : public TrueType {};
00075 template<class ContainerAllocator>
00076 struct MD5Sum< ::hrl_haptic_manipulation_in_clutter_msgs::MechanicalImpedanceParams_<ContainerAllocator> > {
00077 static const char* value()
00078 {
00079 return "66084daa9e1fe5e7191a352d9c615fe6";
00080 }
00081
00082 static const char* value(const ::hrl_haptic_manipulation_in_clutter_msgs::MechanicalImpedanceParams_<ContainerAllocator> &) { return value(); }
00083 static const uint64_t static_value1 = 0x66084daa9e1fe5e7ULL;
00084 static const uint64_t static_value2 = 0x191a352d9c615fe6ULL;
00085 };
00086
00087 template<class ContainerAllocator>
00088 struct DataType< ::hrl_haptic_manipulation_in_clutter_msgs::MechanicalImpedanceParams_<ContainerAllocator> > {
00089 static const char* value()
00090 {
00091 return "hrl_haptic_manipulation_in_clutter_msgs/MechanicalImpedanceParams";
00092 }
00093
00094 static const char* value(const ::hrl_haptic_manipulation_in_clutter_msgs::MechanicalImpedanceParams_<ContainerAllocator> &) { return value(); }
00095 };
00096
00097 template<class ContainerAllocator>
00098 struct Definition< ::hrl_haptic_manipulation_in_clutter_msgs::MechanicalImpedanceParams_<ContainerAllocator> > {
00099 static const char* value()
00100 {
00101 return "Header header\n\
00102 \n\
00103 hrl_msgs/FloatArrayBare k_p\n\
00104 hrl_msgs/FloatArrayBare k_d\n\
00105 \n\
00106 ================================================================================\n\
00107 MSG: std_msgs/Header\n\
00108 # Standard metadata for higher-level stamped data types.\n\
00109 # This is generally used to communicate timestamped data \n\
00110 # in a particular coordinate frame.\n\
00111 # \n\
00112 # sequence ID: consecutively increasing ID \n\
00113 uint32 seq\n\
00114 #Two-integer timestamp that is expressed as:\n\
00115 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00116 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00117 # time-handling sugar is provided by the client library\n\
00118 time stamp\n\
00119 #Frame this data is associated with\n\
00120 # 0: no frame\n\
00121 # 1: global frame\n\
00122 string frame_id\n\
00123 \n\
00124 ================================================================================\n\
00125 MSG: hrl_msgs/FloatArrayBare\n\
00126 float64[] data\n\
00127 \n\
00128 \n\
00129 ";
00130 }
00131
00132 static const char* value(const ::hrl_haptic_manipulation_in_clutter_msgs::MechanicalImpedanceParams_<ContainerAllocator> &) { return value(); }
00133 };
00134
00135 template<class ContainerAllocator> struct HasHeader< ::hrl_haptic_manipulation_in_clutter_msgs::MechanicalImpedanceParams_<ContainerAllocator> > : public TrueType {};
00136 template<class ContainerAllocator> struct HasHeader< const ::hrl_haptic_manipulation_in_clutter_msgs::MechanicalImpedanceParams_<ContainerAllocator> > : public TrueType {};
00137 }
00138 }
00139
00140 namespace ros
00141 {
00142 namespace serialization
00143 {
00144
00145 template<class ContainerAllocator> struct Serializer< ::hrl_haptic_manipulation_in_clutter_msgs::MechanicalImpedanceParams_<ContainerAllocator> >
00146 {
00147 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00148 {
00149 stream.next(m.header);
00150 stream.next(m.k_p);
00151 stream.next(m.k_d);
00152 }
00153
00154 ROS_DECLARE_ALLINONE_SERIALIZER;
00155 };
00156 }
00157 }
00158
00159 namespace ros
00160 {
00161 namespace message_operations
00162 {
00163
00164 template<class ContainerAllocator>
00165 struct Printer< ::hrl_haptic_manipulation_in_clutter_msgs::MechanicalImpedanceParams_<ContainerAllocator> >
00166 {
00167 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::hrl_haptic_manipulation_in_clutter_msgs::MechanicalImpedanceParams_<ContainerAllocator> & v)
00168 {
00169 s << indent << "header: ";
00170 s << std::endl;
00171 Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + " ", v.header);
00172 s << indent << "k_p: ";
00173 s << std::endl;
00174 Printer< ::hrl_msgs::FloatArrayBare_<ContainerAllocator> >::stream(s, indent + " ", v.k_p);
00175 s << indent << "k_d: ";
00176 s << std::endl;
00177 Printer< ::hrl_msgs::FloatArrayBare_<ContainerAllocator> >::stream(s, indent + " ", v.k_d);
00178 }
00179 };
00180
00181
00182 }
00183 }
00184
00185 #endif // HRL_HAPTIC_MANIPULATION_IN_CLUTTER_MSGS_MESSAGE_MECHANICALIMPEDANCEPARAMS_H
00186