CounterbalanceTestData.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-pr2_self_test/doc_stacks/2014-04-22_19-33-54.770728/pr2_self_test/joint_qualification_controllers/msg/CounterbalanceTestData.msg */
00002 #ifndef JOINT_QUALIFICATION_CONTROLLERS_MESSAGE_COUNTERBALANCETESTDATA_H
00003 #define JOINT_QUALIFICATION_CONTROLLERS_MESSAGE_COUNTERBALANCETESTDATA_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 "joint_qualification_controllers/CBRunData.h"
00018 
00019 namespace joint_qualification_controllers
00020 {
00021 template <class ContainerAllocator>
00022 struct CounterbalanceTestData_ {
00023   typedef CounterbalanceTestData_<ContainerAllocator> Type;
00024 
00025   CounterbalanceTestData_()
00026   : lift_joint()
00027   , flex_joint()
00028   , lift_amplitude(0.0)
00029   , flex_amplitude(0.0)
00030   , timeout_hit(false)
00031   , flex_test(false)
00032   , arg_name()
00033   , arg_value()
00034   , lift_data()
00035   {
00036   }
00037 
00038   CounterbalanceTestData_(const ContainerAllocator& _alloc)
00039   : lift_joint(_alloc)
00040   , flex_joint(_alloc)
00041   , lift_amplitude(0.0)
00042   , flex_amplitude(0.0)
00043   , timeout_hit(false)
00044   , flex_test(false)
00045   , arg_name(_alloc)
00046   , arg_value(_alloc)
00047   , lift_data(_alloc)
00048   {
00049   }
00050 
00051   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _lift_joint_type;
00052   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  lift_joint;
00053 
00054   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _flex_joint_type;
00055   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  flex_joint;
00056 
00057   typedef float _lift_amplitude_type;
00058   float lift_amplitude;
00059 
00060   typedef float _flex_amplitude_type;
00061   float flex_amplitude;
00062 
00063   typedef uint8_t _timeout_hit_type;
00064   uint8_t timeout_hit;
00065 
00066   typedef uint8_t _flex_test_type;
00067   uint8_t flex_test;
00068 
00069   typedef std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other >  _arg_name_type;
00070   std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other >  arg_name;
00071 
00072   typedef std::vector<float, typename ContainerAllocator::template rebind<float>::other >  _arg_value_type;
00073   std::vector<float, typename ContainerAllocator::template rebind<float>::other >  arg_value;
00074 
00075   typedef std::vector< ::joint_qualification_controllers::CBRunData_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::joint_qualification_controllers::CBRunData_<ContainerAllocator> >::other >  _lift_data_type;
00076   std::vector< ::joint_qualification_controllers::CBRunData_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::joint_qualification_controllers::CBRunData_<ContainerAllocator> >::other >  lift_data;
00077 
00078 
00079   typedef boost::shared_ptr< ::joint_qualification_controllers::CounterbalanceTestData_<ContainerAllocator> > Ptr;
00080   typedef boost::shared_ptr< ::joint_qualification_controllers::CounterbalanceTestData_<ContainerAllocator>  const> ConstPtr;
00081   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00082 }; // struct CounterbalanceTestData
00083 typedef  ::joint_qualification_controllers::CounterbalanceTestData_<std::allocator<void> > CounterbalanceTestData;
00084 
00085 typedef boost::shared_ptr< ::joint_qualification_controllers::CounterbalanceTestData> CounterbalanceTestDataPtr;
00086 typedef boost::shared_ptr< ::joint_qualification_controllers::CounterbalanceTestData const> CounterbalanceTestDataConstPtr;
00087 
00088 
00089 template<typename ContainerAllocator>
00090 std::ostream& operator<<(std::ostream& s, const  ::joint_qualification_controllers::CounterbalanceTestData_<ContainerAllocator> & v)
00091 {
00092   ros::message_operations::Printer< ::joint_qualification_controllers::CounterbalanceTestData_<ContainerAllocator> >::stream(s, "", v);
00093   return s;}
00094 
00095 } // namespace joint_qualification_controllers
00096 
00097 namespace ros
00098 {
00099 namespace message_traits
00100 {
00101 template<class ContainerAllocator> struct IsMessage< ::joint_qualification_controllers::CounterbalanceTestData_<ContainerAllocator> > : public TrueType {};
00102 template<class ContainerAllocator> struct IsMessage< ::joint_qualification_controllers::CounterbalanceTestData_<ContainerAllocator>  const> : public TrueType {};
00103 template<class ContainerAllocator>
00104 struct MD5Sum< ::joint_qualification_controllers::CounterbalanceTestData_<ContainerAllocator> > {
00105   static const char* value() 
00106   {
00107     return "ab80d40971aa9176fd2c9fb75aeb93cf";
00108   }
00109 
00110   static const char* value(const  ::joint_qualification_controllers::CounterbalanceTestData_<ContainerAllocator> &) { return value(); } 
00111   static const uint64_t static_value1 = 0xab80d40971aa9176ULL;
00112   static const uint64_t static_value2 = 0xfd2c9fb75aeb93cfULL;
00113 };
00114 
00115 template<class ContainerAllocator>
00116 struct DataType< ::joint_qualification_controllers::CounterbalanceTestData_<ContainerAllocator> > {
00117   static const char* value() 
00118   {
00119     return "joint_qualification_controllers/CounterbalanceTestData";
00120   }
00121 
00122   static const char* value(const  ::joint_qualification_controllers::CounterbalanceTestData_<ContainerAllocator> &) { return value(); } 
00123 };
00124 
00125 template<class ContainerAllocator>
00126 struct Definition< ::joint_qualification_controllers::CounterbalanceTestData_<ContainerAllocator> > {
00127   static const char* value() 
00128   {
00129     return "string lift_joint\n\
00130 string flex_joint\n\
00131 float32 lift_amplitude\n\
00132 float32 flex_amplitude\n\
00133 bool timeout_hit\n\
00134 bool flex_test\n\
00135 string[] arg_name\n\
00136 float32[] arg_value\n\
00137 CBRunData[] lift_data # Data for each hold\n\
00138 ================================================================================\n\
00139 MSG: joint_qualification_controllers/CBRunData\n\
00140 float32 lift_position\n\
00141 CBPositionData[] flex_data # Same lift position, diff flex positions\n\
00142 ================================================================================\n\
00143 MSG: joint_qualification_controllers/CBPositionData\n\
00144 float32 flex_position\n\
00145 JointPositionData lift_hold\n\
00146 JointPositionData flex_hold\n\
00147 \n\
00148 ================================================================================\n\
00149 MSG: joint_qualification_controllers/JointPositionData\n\
00150 float32[] time\n\
00151 float32[] position\n\
00152 float32[] velocity\n\
00153 float32[] effort\n\
00154 ";
00155   }
00156 
00157   static const char* value(const  ::joint_qualification_controllers::CounterbalanceTestData_<ContainerAllocator> &) { return value(); } 
00158 };
00159 
00160 } // namespace message_traits
00161 } // namespace ros
00162 
00163 namespace ros
00164 {
00165 namespace serialization
00166 {
00167 
00168 template<class ContainerAllocator> struct Serializer< ::joint_qualification_controllers::CounterbalanceTestData_<ContainerAllocator> >
00169 {
00170   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00171   {
00172     stream.next(m.lift_joint);
00173     stream.next(m.flex_joint);
00174     stream.next(m.lift_amplitude);
00175     stream.next(m.flex_amplitude);
00176     stream.next(m.timeout_hit);
00177     stream.next(m.flex_test);
00178     stream.next(m.arg_name);
00179     stream.next(m.arg_value);
00180     stream.next(m.lift_data);
00181   }
00182 
00183   ROS_DECLARE_ALLINONE_SERIALIZER;
00184 }; // struct CounterbalanceTestData_
00185 } // namespace serialization
00186 } // namespace ros
00187 
00188 namespace ros
00189 {
00190 namespace message_operations
00191 {
00192 
00193 template<class ContainerAllocator>
00194 struct Printer< ::joint_qualification_controllers::CounterbalanceTestData_<ContainerAllocator> >
00195 {
00196   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::joint_qualification_controllers::CounterbalanceTestData_<ContainerAllocator> & v) 
00197   {
00198     s << indent << "lift_joint: ";
00199     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.lift_joint);
00200     s << indent << "flex_joint: ";
00201     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.flex_joint);
00202     s << indent << "lift_amplitude: ";
00203     Printer<float>::stream(s, indent + "  ", v.lift_amplitude);
00204     s << indent << "flex_amplitude: ";
00205     Printer<float>::stream(s, indent + "  ", v.flex_amplitude);
00206     s << indent << "timeout_hit: ";
00207     Printer<uint8_t>::stream(s, indent + "  ", v.timeout_hit);
00208     s << indent << "flex_test: ";
00209     Printer<uint8_t>::stream(s, indent + "  ", v.flex_test);
00210     s << indent << "arg_name[]" << std::endl;
00211     for (size_t i = 0; i < v.arg_name.size(); ++i)
00212     {
00213       s << indent << "  arg_name[" << i << "]: ";
00214       Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.arg_name[i]);
00215     }
00216     s << indent << "arg_value[]" << std::endl;
00217     for (size_t i = 0; i < v.arg_value.size(); ++i)
00218     {
00219       s << indent << "  arg_value[" << i << "]: ";
00220       Printer<float>::stream(s, indent + "  ", v.arg_value[i]);
00221     }
00222     s << indent << "lift_data[]" << std::endl;
00223     for (size_t i = 0; i < v.lift_data.size(); ++i)
00224     {
00225       s << indent << "  lift_data[" << i << "]: ";
00226       s << std::endl;
00227       s << indent;
00228       Printer< ::joint_qualification_controllers::CBRunData_<ContainerAllocator> >::stream(s, indent + "    ", v.lift_data[i]);
00229     }
00230   }
00231 };
00232 
00233 
00234 } // namespace message_operations
00235 } // namespace ros
00236 
00237 #endif // JOINT_QUALIFICATION_CONTROLLERS_MESSAGE_COUNTERBALANCETESTDATA_H
00238 


joint_qualification_controllers
Author(s): Kevin Watts, Melonee Wise
autogenerated on Tue Apr 22 2014 19:39:16