00001
00002 #ifndef JOINT_QUALIFICATION_CONTROLLERS_MESSAGE_WRISTROLLTURN_H
00003 #define JOINT_QUALIFICATION_CONTROLLERS_MESSAGE_WRISTROLLTURN_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
00018 namespace joint_qualification_controllers
00019 {
00020 template <class ContainerAllocator>
00021 struct WristRollTurn_ {
00022 typedef WristRollTurn_<ContainerAllocator> Type;
00023
00024 WristRollTurn_()
00025 : time()
00026 , flex_position()
00027 , flex_effort()
00028 , flex_cmd()
00029 , roll_position()
00030 , roll_effort()
00031 , roll_cmd()
00032 , roll_velocity()
00033 {
00034 }
00035
00036 WristRollTurn_(const ContainerAllocator& _alloc)
00037 : time(_alloc)
00038 , flex_position(_alloc)
00039 , flex_effort(_alloc)
00040 , flex_cmd(_alloc)
00041 , roll_position(_alloc)
00042 , roll_effort(_alloc)
00043 , roll_cmd(_alloc)
00044 , roll_velocity(_alloc)
00045 {
00046 }
00047
00048 typedef std::vector<float, typename ContainerAllocator::template rebind<float>::other > _time_type;
00049 std::vector<float, typename ContainerAllocator::template rebind<float>::other > time;
00050
00051 typedef std::vector<float, typename ContainerAllocator::template rebind<float>::other > _flex_position_type;
00052 std::vector<float, typename ContainerAllocator::template rebind<float>::other > flex_position;
00053
00054 typedef std::vector<float, typename ContainerAllocator::template rebind<float>::other > _flex_effort_type;
00055 std::vector<float, typename ContainerAllocator::template rebind<float>::other > flex_effort;
00056
00057 typedef std::vector<float, typename ContainerAllocator::template rebind<float>::other > _flex_cmd_type;
00058 std::vector<float, typename ContainerAllocator::template rebind<float>::other > flex_cmd;
00059
00060 typedef std::vector<float, typename ContainerAllocator::template rebind<float>::other > _roll_position_type;
00061 std::vector<float, typename ContainerAllocator::template rebind<float>::other > roll_position;
00062
00063 typedef std::vector<float, typename ContainerAllocator::template rebind<float>::other > _roll_effort_type;
00064 std::vector<float, typename ContainerAllocator::template rebind<float>::other > roll_effort;
00065
00066 typedef std::vector<float, typename ContainerAllocator::template rebind<float>::other > _roll_cmd_type;
00067 std::vector<float, typename ContainerAllocator::template rebind<float>::other > roll_cmd;
00068
00069 typedef std::vector<float, typename ContainerAllocator::template rebind<float>::other > _roll_velocity_type;
00070 std::vector<float, typename ContainerAllocator::template rebind<float>::other > roll_velocity;
00071
00072
00073 typedef boost::shared_ptr< ::joint_qualification_controllers::WristRollTurn_<ContainerAllocator> > Ptr;
00074 typedef boost::shared_ptr< ::joint_qualification_controllers::WristRollTurn_<ContainerAllocator> const> ConstPtr;
00075 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00076 };
00077 typedef ::joint_qualification_controllers::WristRollTurn_<std::allocator<void> > WristRollTurn;
00078
00079 typedef boost::shared_ptr< ::joint_qualification_controllers::WristRollTurn> WristRollTurnPtr;
00080 typedef boost::shared_ptr< ::joint_qualification_controllers::WristRollTurn const> WristRollTurnConstPtr;
00081
00082
00083 template<typename ContainerAllocator>
00084 std::ostream& operator<<(std::ostream& s, const ::joint_qualification_controllers::WristRollTurn_<ContainerAllocator> & v)
00085 {
00086 ros::message_operations::Printer< ::joint_qualification_controllers::WristRollTurn_<ContainerAllocator> >::stream(s, "", v);
00087 return s;}
00088
00089 }
00090
00091 namespace ros
00092 {
00093 namespace message_traits
00094 {
00095 template<class ContainerAllocator> struct IsMessage< ::joint_qualification_controllers::WristRollTurn_<ContainerAllocator> > : public TrueType {};
00096 template<class ContainerAllocator> struct IsMessage< ::joint_qualification_controllers::WristRollTurn_<ContainerAllocator> const> : public TrueType {};
00097 template<class ContainerAllocator>
00098 struct MD5Sum< ::joint_qualification_controllers::WristRollTurn_<ContainerAllocator> > {
00099 static const char* value()
00100 {
00101 return "27db8c0ca950f1334a70a45b5bc8427f";
00102 }
00103
00104 static const char* value(const ::joint_qualification_controllers::WristRollTurn_<ContainerAllocator> &) { return value(); }
00105 static const uint64_t static_value1 = 0x27db8c0ca950f133ULL;
00106 static const uint64_t static_value2 = 0x4a70a45b5bc8427fULL;
00107 };
00108
00109 template<class ContainerAllocator>
00110 struct DataType< ::joint_qualification_controllers::WristRollTurn_<ContainerAllocator> > {
00111 static const char* value()
00112 {
00113 return "joint_qualification_controllers/WristRollTurn";
00114 }
00115
00116 static const char* value(const ::joint_qualification_controllers::WristRollTurn_<ContainerAllocator> &) { return value(); }
00117 };
00118
00119 template<class ContainerAllocator>
00120 struct Definition< ::joint_qualification_controllers::WristRollTurn_<ContainerAllocator> > {
00121 static const char* value()
00122 {
00123 return "float32[] time\n\
00124 float32[] flex_position\n\
00125 float32[] flex_effort\n\
00126 float32[] flex_cmd\n\
00127 float32[] roll_position\n\
00128 float32[] roll_effort\n\
00129 float32[] roll_cmd\n\
00130 float32[] roll_velocity\n\
00131 \n\
00132 ";
00133 }
00134
00135 static const char* value(const ::joint_qualification_controllers::WristRollTurn_<ContainerAllocator> &) { return value(); }
00136 };
00137
00138 }
00139 }
00140
00141 namespace ros
00142 {
00143 namespace serialization
00144 {
00145
00146 template<class ContainerAllocator> struct Serializer< ::joint_qualification_controllers::WristRollTurn_<ContainerAllocator> >
00147 {
00148 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00149 {
00150 stream.next(m.time);
00151 stream.next(m.flex_position);
00152 stream.next(m.flex_effort);
00153 stream.next(m.flex_cmd);
00154 stream.next(m.roll_position);
00155 stream.next(m.roll_effort);
00156 stream.next(m.roll_cmd);
00157 stream.next(m.roll_velocity);
00158 }
00159
00160 ROS_DECLARE_ALLINONE_SERIALIZER;
00161 };
00162 }
00163 }
00164
00165 namespace ros
00166 {
00167 namespace message_operations
00168 {
00169
00170 template<class ContainerAllocator>
00171 struct Printer< ::joint_qualification_controllers::WristRollTurn_<ContainerAllocator> >
00172 {
00173 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::joint_qualification_controllers::WristRollTurn_<ContainerAllocator> & v)
00174 {
00175 s << indent << "time[]" << std::endl;
00176 for (size_t i = 0; i < v.time.size(); ++i)
00177 {
00178 s << indent << " time[" << i << "]: ";
00179 Printer<float>::stream(s, indent + " ", v.time[i]);
00180 }
00181 s << indent << "flex_position[]" << std::endl;
00182 for (size_t i = 0; i < v.flex_position.size(); ++i)
00183 {
00184 s << indent << " flex_position[" << i << "]: ";
00185 Printer<float>::stream(s, indent + " ", v.flex_position[i]);
00186 }
00187 s << indent << "flex_effort[]" << std::endl;
00188 for (size_t i = 0; i < v.flex_effort.size(); ++i)
00189 {
00190 s << indent << " flex_effort[" << i << "]: ";
00191 Printer<float>::stream(s, indent + " ", v.flex_effort[i]);
00192 }
00193 s << indent << "flex_cmd[]" << std::endl;
00194 for (size_t i = 0; i < v.flex_cmd.size(); ++i)
00195 {
00196 s << indent << " flex_cmd[" << i << "]: ";
00197 Printer<float>::stream(s, indent + " ", v.flex_cmd[i]);
00198 }
00199 s << indent << "roll_position[]" << std::endl;
00200 for (size_t i = 0; i < v.roll_position.size(); ++i)
00201 {
00202 s << indent << " roll_position[" << i << "]: ";
00203 Printer<float>::stream(s, indent + " ", v.roll_position[i]);
00204 }
00205 s << indent << "roll_effort[]" << std::endl;
00206 for (size_t i = 0; i < v.roll_effort.size(); ++i)
00207 {
00208 s << indent << " roll_effort[" << i << "]: ";
00209 Printer<float>::stream(s, indent + " ", v.roll_effort[i]);
00210 }
00211 s << indent << "roll_cmd[]" << std::endl;
00212 for (size_t i = 0; i < v.roll_cmd.size(); ++i)
00213 {
00214 s << indent << " roll_cmd[" << i << "]: ";
00215 Printer<float>::stream(s, indent + " ", v.roll_cmd[i]);
00216 }
00217 s << indent << "roll_velocity[]" << std::endl;
00218 for (size_t i = 0; i < v.roll_velocity.size(); ++i)
00219 {
00220 s << indent << " roll_velocity[" << i << "]: ";
00221 Printer<float>::stream(s, indent + " ", v.roll_velocity[i]);
00222 }
00223 }
00224 };
00225
00226
00227 }
00228 }
00229
00230 #endif // JOINT_QUALIFICATION_CONTROLLERS_MESSAGE_WRISTROLLTURN_H
00231