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


hrl_haptic_manipulation_in_clutter_msgs
Author(s): Advait Jain, Marc Killpack, Jeff Hawke. Advisor: Prof. Charlie Kemp. Healthcare Robotics Lab, Georgia Tech.
autogenerated on Wed Nov 27 2013 11:33:37