JointMusclePositionControllerState.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-shadow_robot/doc_stacks/2014-10-06_07-33-10.674696/shadow_robot/sr_robot_msgs/msg/JointMusclePositionControllerState.msg */
00002 #ifndef SR_ROBOT_MSGS_MESSAGE_JOINTMUSCLEPOSITIONCONTROLLERSTATE_H
00003 #define SR_ROBOT_MSGS_MESSAGE_JOINTMUSCLEPOSITIONCONTROLLERSTATE_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 sr_robot_msgs
00020 {
00021 template <class ContainerAllocator>
00022 struct JointMusclePositionControllerState_ {
00023   typedef JointMusclePositionControllerState_<ContainerAllocator> Type;
00024 
00025   JointMusclePositionControllerState_()
00026   : header()
00027   , set_point(0.0)
00028   , process_value(0.0)
00029   , process_value_dot(0.0)
00030   , error(0.0)
00031   , time_step(0.0)
00032   , pseudo_command(0.0)
00033   , valve_muscle_0(0)
00034   , valve_muscle_1(0)
00035   , packed_valve(0.0)
00036   , muscle_pressure_0(0)
00037   , muscle_pressure_1(0)
00038   , p(0.0)
00039   , i(0.0)
00040   , d(0.0)
00041   , i_clamp(0.0)
00042   {
00043   }
00044 
00045   JointMusclePositionControllerState_(const ContainerAllocator& _alloc)
00046   : header(_alloc)
00047   , set_point(0.0)
00048   , process_value(0.0)
00049   , process_value_dot(0.0)
00050   , error(0.0)
00051   , time_step(0.0)
00052   , pseudo_command(0.0)
00053   , valve_muscle_0(0)
00054   , valve_muscle_1(0)
00055   , packed_valve(0.0)
00056   , muscle_pressure_0(0)
00057   , muscle_pressure_1(0)
00058   , p(0.0)
00059   , i(0.0)
00060   , d(0.0)
00061   , i_clamp(0.0)
00062   {
00063   }
00064 
00065   typedef  ::std_msgs::Header_<ContainerAllocator>  _header_type;
00066    ::std_msgs::Header_<ContainerAllocator>  header;
00067 
00068   typedef double _set_point_type;
00069   double set_point;
00070 
00071   typedef double _process_value_type;
00072   double process_value;
00073 
00074   typedef double _process_value_dot_type;
00075   double process_value_dot;
00076 
00077   typedef double _error_type;
00078   double error;
00079 
00080   typedef double _time_step_type;
00081   double time_step;
00082 
00083   typedef double _pseudo_command_type;
00084   double pseudo_command;
00085 
00086   typedef int8_t _valve_muscle_0_type;
00087   int8_t valve_muscle_0;
00088 
00089   typedef int8_t _valve_muscle_1_type;
00090   int8_t valve_muscle_1;
00091 
00092   typedef double _packed_valve_type;
00093   double packed_valve;
00094 
00095   typedef uint16_t _muscle_pressure_0_type;
00096   uint16_t muscle_pressure_0;
00097 
00098   typedef uint16_t _muscle_pressure_1_type;
00099   uint16_t muscle_pressure_1;
00100 
00101   typedef double _p_type;
00102   double p;
00103 
00104   typedef double _i_type;
00105   double i;
00106 
00107   typedef double _d_type;
00108   double d;
00109 
00110   typedef double _i_clamp_type;
00111   double i_clamp;
00112 
00113 
00114   typedef boost::shared_ptr< ::sr_robot_msgs::JointMusclePositionControllerState_<ContainerAllocator> > Ptr;
00115   typedef boost::shared_ptr< ::sr_robot_msgs::JointMusclePositionControllerState_<ContainerAllocator>  const> ConstPtr;
00116   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00117 }; // struct JointMusclePositionControllerState
00118 typedef  ::sr_robot_msgs::JointMusclePositionControllerState_<std::allocator<void> > JointMusclePositionControllerState;
00119 
00120 typedef boost::shared_ptr< ::sr_robot_msgs::JointMusclePositionControllerState> JointMusclePositionControllerStatePtr;
00121 typedef boost::shared_ptr< ::sr_robot_msgs::JointMusclePositionControllerState const> JointMusclePositionControllerStateConstPtr;
00122 
00123 
00124 template<typename ContainerAllocator>
00125 std::ostream& operator<<(std::ostream& s, const  ::sr_robot_msgs::JointMusclePositionControllerState_<ContainerAllocator> & v)
00126 {
00127   ros::message_operations::Printer< ::sr_robot_msgs::JointMusclePositionControllerState_<ContainerAllocator> >::stream(s, "", v);
00128   return s;}
00129 
00130 } // namespace sr_robot_msgs
00131 
00132 namespace ros
00133 {
00134 namespace message_traits
00135 {
00136 template<class ContainerAllocator> struct IsMessage< ::sr_robot_msgs::JointMusclePositionControllerState_<ContainerAllocator> > : public TrueType {};
00137 template<class ContainerAllocator> struct IsMessage< ::sr_robot_msgs::JointMusclePositionControllerState_<ContainerAllocator>  const> : public TrueType {};
00138 template<class ContainerAllocator>
00139 struct MD5Sum< ::sr_robot_msgs::JointMusclePositionControllerState_<ContainerAllocator> > {
00140   static const char* value() 
00141   {
00142     return "5a9f3e4da940842d5d2d35e00e1cd647";
00143   }
00144 
00145   static const char* value(const  ::sr_robot_msgs::JointMusclePositionControllerState_<ContainerAllocator> &) { return value(); } 
00146   static const uint64_t static_value1 = 0x5a9f3e4da940842dULL;
00147   static const uint64_t static_value2 = 0x5d2d35e00e1cd647ULL;
00148 };
00149 
00150 template<class ContainerAllocator>
00151 struct DataType< ::sr_robot_msgs::JointMusclePositionControllerState_<ContainerAllocator> > {
00152   static const char* value() 
00153   {
00154     return "sr_robot_msgs/JointMusclePositionControllerState";
00155   }
00156 
00157   static const char* value(const  ::sr_robot_msgs::JointMusclePositionControllerState_<ContainerAllocator> &) { return value(); } 
00158 };
00159 
00160 template<class ContainerAllocator>
00161 struct Definition< ::sr_robot_msgs::JointMusclePositionControllerState_<ContainerAllocator> > {
00162   static const char* value() 
00163   {
00164     return "Header header\n\
00165 float64 set_point\n\
00166 float64 process_value\n\
00167 float64 process_value_dot\n\
00168 float64 error\n\
00169 float64 time_step\n\
00170 float64 pseudo_command\n\
00171 int8 valve_muscle_0\n\
00172 int8 valve_muscle_1\n\
00173 float64 packed_valve\n\
00174 uint16 muscle_pressure_0\n\
00175 uint16 muscle_pressure_1\n\
00176 float64 p\n\
00177 float64 i\n\
00178 float64 d\n\
00179 float64 i_clamp\n\
00180 \n\
00181 \n\
00182 ================================================================================\n\
00183 MSG: std_msgs/Header\n\
00184 # Standard metadata for higher-level stamped data types.\n\
00185 # This is generally used to communicate timestamped data \n\
00186 # in a particular coordinate frame.\n\
00187 # \n\
00188 # sequence ID: consecutively increasing ID \n\
00189 uint32 seq\n\
00190 #Two-integer timestamp that is expressed as:\n\
00191 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00192 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00193 # time-handling sugar is provided by the client library\n\
00194 time stamp\n\
00195 #Frame this data is associated with\n\
00196 # 0: no frame\n\
00197 # 1: global frame\n\
00198 string frame_id\n\
00199 \n\
00200 ";
00201   }
00202 
00203   static const char* value(const  ::sr_robot_msgs::JointMusclePositionControllerState_<ContainerAllocator> &) { return value(); } 
00204 };
00205 
00206 template<class ContainerAllocator> struct HasHeader< ::sr_robot_msgs::JointMusclePositionControllerState_<ContainerAllocator> > : public TrueType {};
00207 template<class ContainerAllocator> struct HasHeader< const ::sr_robot_msgs::JointMusclePositionControllerState_<ContainerAllocator> > : public TrueType {};
00208 } // namespace message_traits
00209 } // namespace ros
00210 
00211 namespace ros
00212 {
00213 namespace serialization
00214 {
00215 
00216 template<class ContainerAllocator> struct Serializer< ::sr_robot_msgs::JointMusclePositionControllerState_<ContainerAllocator> >
00217 {
00218   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00219   {
00220     stream.next(m.header);
00221     stream.next(m.set_point);
00222     stream.next(m.process_value);
00223     stream.next(m.process_value_dot);
00224     stream.next(m.error);
00225     stream.next(m.time_step);
00226     stream.next(m.pseudo_command);
00227     stream.next(m.valve_muscle_0);
00228     stream.next(m.valve_muscle_1);
00229     stream.next(m.packed_valve);
00230     stream.next(m.muscle_pressure_0);
00231     stream.next(m.muscle_pressure_1);
00232     stream.next(m.p);
00233     stream.next(m.i);
00234     stream.next(m.d);
00235     stream.next(m.i_clamp);
00236   }
00237 
00238   ROS_DECLARE_ALLINONE_SERIALIZER;
00239 }; // struct JointMusclePositionControllerState_
00240 } // namespace serialization
00241 } // namespace ros
00242 
00243 namespace ros
00244 {
00245 namespace message_operations
00246 {
00247 
00248 template<class ContainerAllocator>
00249 struct Printer< ::sr_robot_msgs::JointMusclePositionControllerState_<ContainerAllocator> >
00250 {
00251   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::sr_robot_msgs::JointMusclePositionControllerState_<ContainerAllocator> & v) 
00252   {
00253     s << indent << "header: ";
00254 s << std::endl;
00255     Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + "  ", v.header);
00256     s << indent << "set_point: ";
00257     Printer<double>::stream(s, indent + "  ", v.set_point);
00258     s << indent << "process_value: ";
00259     Printer<double>::stream(s, indent + "  ", v.process_value);
00260     s << indent << "process_value_dot: ";
00261     Printer<double>::stream(s, indent + "  ", v.process_value_dot);
00262     s << indent << "error: ";
00263     Printer<double>::stream(s, indent + "  ", v.error);
00264     s << indent << "time_step: ";
00265     Printer<double>::stream(s, indent + "  ", v.time_step);
00266     s << indent << "pseudo_command: ";
00267     Printer<double>::stream(s, indent + "  ", v.pseudo_command);
00268     s << indent << "valve_muscle_0: ";
00269     Printer<int8_t>::stream(s, indent + "  ", v.valve_muscle_0);
00270     s << indent << "valve_muscle_1: ";
00271     Printer<int8_t>::stream(s, indent + "  ", v.valve_muscle_1);
00272     s << indent << "packed_valve: ";
00273     Printer<double>::stream(s, indent + "  ", v.packed_valve);
00274     s << indent << "muscle_pressure_0: ";
00275     Printer<uint16_t>::stream(s, indent + "  ", v.muscle_pressure_0);
00276     s << indent << "muscle_pressure_1: ";
00277     Printer<uint16_t>::stream(s, indent + "  ", v.muscle_pressure_1);
00278     s << indent << "p: ";
00279     Printer<double>::stream(s, indent + "  ", v.p);
00280     s << indent << "i: ";
00281     Printer<double>::stream(s, indent + "  ", v.i);
00282     s << indent << "d: ";
00283     Printer<double>::stream(s, indent + "  ", v.d);
00284     s << indent << "i_clamp: ";
00285     Printer<double>::stream(s, indent + "  ", v.i_clamp);
00286   }
00287 };
00288 
00289 
00290 } // namespace message_operations
00291 } // namespace ros
00292 
00293 #endif // SR_ROBOT_MSGS_MESSAGE_JOINTMUSCLEPOSITIONCONTROLLERSTATE_H
00294 


sr_robot_msgs
Author(s): Ugo Cupcic/ugo@shadowrobot.com
autogenerated on Mon Oct 6 2014 07:40:06