RobotHapticState.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/RobotHapticState.msg */
00002 #ifndef HRL_HAPTIC_MANIPULATION_IN_CLUTTER_MSGS_MESSAGE_ROBOTHAPTICSTATE_H
00003 #define HRL_HAPTIC_MANIPULATION_IN_CLUTTER_MSGS_MESSAGE_ROBOTHAPTICSTATE_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 "geometry_msgs/Pose.h"
00019 #include "geometry_msgs/Pose.h"
00020 #include "std_msgs/Float64MultiArray.h"
00021 #include "std_msgs/Float64MultiArray.h"
00022 #include "hrl_haptic_manipulation_in_clutter_msgs/TaxelArray.h"
00023 
00024 namespace hrl_haptic_manipulation_in_clutter_msgs
00025 {
00026 template <class ContainerAllocator>
00027 struct RobotHapticState_ {
00028   typedef RobotHapticState_<ContainerAllocator> Type;
00029 
00030   RobotHapticState_()
00031   : header()
00032   , joint_names()
00033   , joint_angles()
00034   , desired_joint_angles()
00035   , joint_velocities()
00036   , joint_stiffness()
00037   , joint_damping()
00038   , torso_pose()
00039   , hand_pose()
00040   , end_effector_jacobian()
00041   , contact_jacobians()
00042   , skins()
00043   {
00044   }
00045 
00046   RobotHapticState_(const ContainerAllocator& _alloc)
00047   : header(_alloc)
00048   , joint_names(_alloc)
00049   , joint_angles(_alloc)
00050   , desired_joint_angles(_alloc)
00051   , joint_velocities(_alloc)
00052   , joint_stiffness(_alloc)
00053   , joint_damping(_alloc)
00054   , torso_pose(_alloc)
00055   , hand_pose(_alloc)
00056   , end_effector_jacobian(_alloc)
00057   , contact_jacobians(_alloc)
00058   , skins(_alloc)
00059   {
00060   }
00061 
00062   typedef  ::std_msgs::Header_<ContainerAllocator>  _header_type;
00063    ::std_msgs::Header_<ContainerAllocator>  header;
00064 
00065   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 >  _joint_names_type;
00066   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 >  joint_names;
00067 
00068   typedef std::vector<double, typename ContainerAllocator::template rebind<double>::other >  _joint_angles_type;
00069   std::vector<double, typename ContainerAllocator::template rebind<double>::other >  joint_angles;
00070 
00071   typedef std::vector<double, typename ContainerAllocator::template rebind<double>::other >  _desired_joint_angles_type;
00072   std::vector<double, typename ContainerAllocator::template rebind<double>::other >  desired_joint_angles;
00073 
00074   typedef std::vector<double, typename ContainerAllocator::template rebind<double>::other >  _joint_velocities_type;
00075   std::vector<double, typename ContainerAllocator::template rebind<double>::other >  joint_velocities;
00076 
00077   typedef std::vector<double, typename ContainerAllocator::template rebind<double>::other >  _joint_stiffness_type;
00078   std::vector<double, typename ContainerAllocator::template rebind<double>::other >  joint_stiffness;
00079 
00080   typedef std::vector<double, typename ContainerAllocator::template rebind<double>::other >  _joint_damping_type;
00081   std::vector<double, typename ContainerAllocator::template rebind<double>::other >  joint_damping;
00082 
00083   typedef  ::geometry_msgs::Pose_<ContainerAllocator>  _torso_pose_type;
00084    ::geometry_msgs::Pose_<ContainerAllocator>  torso_pose;
00085 
00086   typedef  ::geometry_msgs::Pose_<ContainerAllocator>  _hand_pose_type;
00087    ::geometry_msgs::Pose_<ContainerAllocator>  hand_pose;
00088 
00089   typedef  ::std_msgs::Float64MultiArray_<ContainerAllocator>  _end_effector_jacobian_type;
00090    ::std_msgs::Float64MultiArray_<ContainerAllocator>  end_effector_jacobian;
00091 
00092   typedef  ::std_msgs::Float64MultiArray_<ContainerAllocator>  _contact_jacobians_type;
00093    ::std_msgs::Float64MultiArray_<ContainerAllocator>  contact_jacobians;
00094 
00095   typedef std::vector< ::hrl_haptic_manipulation_in_clutter_msgs::TaxelArray_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::hrl_haptic_manipulation_in_clutter_msgs::TaxelArray_<ContainerAllocator> >::other >  _skins_type;
00096   std::vector< ::hrl_haptic_manipulation_in_clutter_msgs::TaxelArray_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::hrl_haptic_manipulation_in_clutter_msgs::TaxelArray_<ContainerAllocator> >::other >  skins;
00097 
00098 
00099   typedef boost::shared_ptr< ::hrl_haptic_manipulation_in_clutter_msgs::RobotHapticState_<ContainerAllocator> > Ptr;
00100   typedef boost::shared_ptr< ::hrl_haptic_manipulation_in_clutter_msgs::RobotHapticState_<ContainerAllocator>  const> ConstPtr;
00101   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00102 }; // struct RobotHapticState
00103 typedef  ::hrl_haptic_manipulation_in_clutter_msgs::RobotHapticState_<std::allocator<void> > RobotHapticState;
00104 
00105 typedef boost::shared_ptr< ::hrl_haptic_manipulation_in_clutter_msgs::RobotHapticState> RobotHapticStatePtr;
00106 typedef boost::shared_ptr< ::hrl_haptic_manipulation_in_clutter_msgs::RobotHapticState const> RobotHapticStateConstPtr;
00107 
00108 
00109 template<typename ContainerAllocator>
00110 std::ostream& operator<<(std::ostream& s, const  ::hrl_haptic_manipulation_in_clutter_msgs::RobotHapticState_<ContainerAllocator> & v)
00111 {
00112   ros::message_operations::Printer< ::hrl_haptic_manipulation_in_clutter_msgs::RobotHapticState_<ContainerAllocator> >::stream(s, "", v);
00113   return s;}
00114 
00115 } // namespace hrl_haptic_manipulation_in_clutter_msgs
00116 
00117 namespace ros
00118 {
00119 namespace message_traits
00120 {
00121 template<class ContainerAllocator> struct IsMessage< ::hrl_haptic_manipulation_in_clutter_msgs::RobotHapticState_<ContainerAllocator> > : public TrueType {};
00122 template<class ContainerAllocator> struct IsMessage< ::hrl_haptic_manipulation_in_clutter_msgs::RobotHapticState_<ContainerAllocator>  const> : public TrueType {};
00123 template<class ContainerAllocator>
00124 struct MD5Sum< ::hrl_haptic_manipulation_in_clutter_msgs::RobotHapticState_<ContainerAllocator> > {
00125   static const char* value() 
00126   {
00127     return "4ef8a46b3c9c12684f840f17a9ab457f";
00128   }
00129 
00130   static const char* value(const  ::hrl_haptic_manipulation_in_clutter_msgs::RobotHapticState_<ContainerAllocator> &) { return value(); } 
00131   static const uint64_t static_value1 = 0x4ef8a46b3c9c1268ULL;
00132   static const uint64_t static_value2 = 0x4f840f17a9ab457fULL;
00133 };
00134 
00135 template<class ContainerAllocator>
00136 struct DataType< ::hrl_haptic_manipulation_in_clutter_msgs::RobotHapticState_<ContainerAllocator> > {
00137   static const char* value() 
00138   {
00139     return "hrl_haptic_manipulation_in_clutter_msgs/RobotHapticState";
00140   }
00141 
00142   static const char* value(const  ::hrl_haptic_manipulation_in_clutter_msgs::RobotHapticState_<ContainerAllocator> &) { return value(); } 
00143 };
00144 
00145 template<class ContainerAllocator>
00146 struct Definition< ::hrl_haptic_manipulation_in_clutter_msgs::RobotHapticState_<ContainerAllocator> > {
00147   static const char* value() 
00148   {
00149     return "Header header\n\
00150 \n\
00151 string[] joint_names\n\
00152 float64[] joint_angles\n\
00153 float64[] desired_joint_angles\n\
00154 float64[] joint_velocities\n\
00155 float64[] joint_stiffness\n\
00156 float64[] joint_damping\n\
00157 \n\
00158 geometry_msgs/Pose torso_pose\n\
00159 geometry_msgs/Pose hand_pose\n\
00160 \n\
00161 std_msgs/Float64MultiArray end_effector_jacobian\n\
00162 std_msgs/Float64MultiArray contact_jacobians\n\
00163 \n\
00164 hrl_haptic_manipulation_in_clutter_msgs/TaxelArray[] skins\n\
00165 \n\
00166 \n\
00167                                                                                \n\
00168 \n\
00169 ================================================================================\n\
00170 MSG: std_msgs/Header\n\
00171 # Standard metadata for higher-level stamped data types.\n\
00172 # This is generally used to communicate timestamped data \n\
00173 # in a particular coordinate frame.\n\
00174 # \n\
00175 # sequence ID: consecutively increasing ID \n\
00176 uint32 seq\n\
00177 #Two-integer timestamp that is expressed as:\n\
00178 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00179 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00180 # time-handling sugar is provided by the client library\n\
00181 time stamp\n\
00182 #Frame this data is associated with\n\
00183 # 0: no frame\n\
00184 # 1: global frame\n\
00185 string frame_id\n\
00186 \n\
00187 ================================================================================\n\
00188 MSG: geometry_msgs/Pose\n\
00189 # A representation of pose in free space, composed of postion and orientation. \n\
00190 Point position\n\
00191 Quaternion orientation\n\
00192 \n\
00193 ================================================================================\n\
00194 MSG: geometry_msgs/Point\n\
00195 # This contains the position of a point in free space\n\
00196 float64 x\n\
00197 float64 y\n\
00198 float64 z\n\
00199 \n\
00200 ================================================================================\n\
00201 MSG: geometry_msgs/Quaternion\n\
00202 # This represents an orientation in free space in quaternion form.\n\
00203 \n\
00204 float64 x\n\
00205 float64 y\n\
00206 float64 z\n\
00207 float64 w\n\
00208 \n\
00209 ================================================================================\n\
00210 MSG: std_msgs/Float64MultiArray\n\
00211 # Please look at the MultiArrayLayout message definition for\n\
00212 # documentation on all multiarrays.\n\
00213 \n\
00214 MultiArrayLayout  layout        # specification of data layout\n\
00215 float64[]         data          # array of data\n\
00216 \n\
00217 \n\
00218 ================================================================================\n\
00219 MSG: std_msgs/MultiArrayLayout\n\
00220 # The multiarray declares a generic multi-dimensional array of a\n\
00221 # particular data type.  Dimensions are ordered from outer most\n\
00222 # to inner most.\n\
00223 \n\
00224 MultiArrayDimension[] dim # Array of dimension properties\n\
00225 uint32 data_offset        # padding bytes at front of data\n\
00226 \n\
00227 # Accessors should ALWAYS be written in terms of dimension stride\n\
00228 # and specified outer-most dimension first.\n\
00229 # \n\
00230 # multiarray(i,j,k) = data[data_offset + dim_stride[1]*i + dim_stride[2]*j + k]\n\
00231 #\n\
00232 # A standard, 3-channel 640x480 image with interleaved color channels\n\
00233 # would be specified as:\n\
00234 #\n\
00235 # dim[0].label  = \"height\"\n\
00236 # dim[0].size   = 480\n\
00237 # dim[0].stride = 3*640*480 = 921600  (note dim[0] stride is just size of image)\n\
00238 # dim[1].label  = \"width\"\n\
00239 # dim[1].size   = 640\n\
00240 # dim[1].stride = 3*640 = 1920\n\
00241 # dim[2].label  = \"channel\"\n\
00242 # dim[2].size   = 3\n\
00243 # dim[2].stride = 3\n\
00244 #\n\
00245 # multiarray(i,j,k) refers to the ith row, jth column, and kth channel.\n\
00246 ================================================================================\n\
00247 MSG: std_msgs/MultiArrayDimension\n\
00248 string label   # label of given dimension\n\
00249 uint32 size    # size of given dimension (in type units)\n\
00250 uint32 stride  # stride of given dimension\n\
00251 ================================================================================\n\
00252 MSG: hrl_haptic_manipulation_in_clutter_msgs/TaxelArray\n\
00253 Header header\n\
00254 \n\
00255 string sensor_type\n\
00256 \n\
00257 string[] link_names\n\
00258 \n\
00259 float64[] centers_x\n\
00260 float64[] centers_y\n\
00261 float64[] centers_z\n\
00262 \n\
00263 float64[] normals_x\n\
00264 float64[] normals_y\n\
00265 float64[] normals_z\n\
00266 \n\
00267 float64[] values_x\n\
00268 float64[] values_y\n\
00269 float64[] values_z\n\
00270 \n\
00271 \n\
00272 \n\
00273 \n\
00274 ";
00275   }
00276 
00277   static const char* value(const  ::hrl_haptic_manipulation_in_clutter_msgs::RobotHapticState_<ContainerAllocator> &) { return value(); } 
00278 };
00279 
00280 template<class ContainerAllocator> struct HasHeader< ::hrl_haptic_manipulation_in_clutter_msgs::RobotHapticState_<ContainerAllocator> > : public TrueType {};
00281 template<class ContainerAllocator> struct HasHeader< const ::hrl_haptic_manipulation_in_clutter_msgs::RobotHapticState_<ContainerAllocator> > : public TrueType {};
00282 } // namespace message_traits
00283 } // namespace ros
00284 
00285 namespace ros
00286 {
00287 namespace serialization
00288 {
00289 
00290 template<class ContainerAllocator> struct Serializer< ::hrl_haptic_manipulation_in_clutter_msgs::RobotHapticState_<ContainerAllocator> >
00291 {
00292   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00293   {
00294     stream.next(m.header);
00295     stream.next(m.joint_names);
00296     stream.next(m.joint_angles);
00297     stream.next(m.desired_joint_angles);
00298     stream.next(m.joint_velocities);
00299     stream.next(m.joint_stiffness);
00300     stream.next(m.joint_damping);
00301     stream.next(m.torso_pose);
00302     stream.next(m.hand_pose);
00303     stream.next(m.end_effector_jacobian);
00304     stream.next(m.contact_jacobians);
00305     stream.next(m.skins);
00306   }
00307 
00308   ROS_DECLARE_ALLINONE_SERIALIZER;
00309 }; // struct RobotHapticState_
00310 } // namespace serialization
00311 } // namespace ros
00312 
00313 namespace ros
00314 {
00315 namespace message_operations
00316 {
00317 
00318 template<class ContainerAllocator>
00319 struct Printer< ::hrl_haptic_manipulation_in_clutter_msgs::RobotHapticState_<ContainerAllocator> >
00320 {
00321   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::hrl_haptic_manipulation_in_clutter_msgs::RobotHapticState_<ContainerAllocator> & v) 
00322   {
00323     s << indent << "header: ";
00324 s << std::endl;
00325     Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + "  ", v.header);
00326     s << indent << "joint_names[]" << std::endl;
00327     for (size_t i = 0; i < v.joint_names.size(); ++i)
00328     {
00329       s << indent << "  joint_names[" << i << "]: ";
00330       Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.joint_names[i]);
00331     }
00332     s << indent << "joint_angles[]" << std::endl;
00333     for (size_t i = 0; i < v.joint_angles.size(); ++i)
00334     {
00335       s << indent << "  joint_angles[" << i << "]: ";
00336       Printer<double>::stream(s, indent + "  ", v.joint_angles[i]);
00337     }
00338     s << indent << "desired_joint_angles[]" << std::endl;
00339     for (size_t i = 0; i < v.desired_joint_angles.size(); ++i)
00340     {
00341       s << indent << "  desired_joint_angles[" << i << "]: ";
00342       Printer<double>::stream(s, indent + "  ", v.desired_joint_angles[i]);
00343     }
00344     s << indent << "joint_velocities[]" << std::endl;
00345     for (size_t i = 0; i < v.joint_velocities.size(); ++i)
00346     {
00347       s << indent << "  joint_velocities[" << i << "]: ";
00348       Printer<double>::stream(s, indent + "  ", v.joint_velocities[i]);
00349     }
00350     s << indent << "joint_stiffness[]" << std::endl;
00351     for (size_t i = 0; i < v.joint_stiffness.size(); ++i)
00352     {
00353       s << indent << "  joint_stiffness[" << i << "]: ";
00354       Printer<double>::stream(s, indent + "  ", v.joint_stiffness[i]);
00355     }
00356     s << indent << "joint_damping[]" << std::endl;
00357     for (size_t i = 0; i < v.joint_damping.size(); ++i)
00358     {
00359       s << indent << "  joint_damping[" << i << "]: ";
00360       Printer<double>::stream(s, indent + "  ", v.joint_damping[i]);
00361     }
00362     s << indent << "torso_pose: ";
00363 s << std::endl;
00364     Printer< ::geometry_msgs::Pose_<ContainerAllocator> >::stream(s, indent + "  ", v.torso_pose);
00365     s << indent << "hand_pose: ";
00366 s << std::endl;
00367     Printer< ::geometry_msgs::Pose_<ContainerAllocator> >::stream(s, indent + "  ", v.hand_pose);
00368     s << indent << "end_effector_jacobian: ";
00369 s << std::endl;
00370     Printer< ::std_msgs::Float64MultiArray_<ContainerAllocator> >::stream(s, indent + "  ", v.end_effector_jacobian);
00371     s << indent << "contact_jacobians: ";
00372 s << std::endl;
00373     Printer< ::std_msgs::Float64MultiArray_<ContainerAllocator> >::stream(s, indent + "  ", v.contact_jacobians);
00374     s << indent << "skins[]" << std::endl;
00375     for (size_t i = 0; i < v.skins.size(); ++i)
00376     {
00377       s << indent << "  skins[" << i << "]: ";
00378       s << std::endl;
00379       s << indent;
00380       Printer< ::hrl_haptic_manipulation_in_clutter_msgs::TaxelArray_<ContainerAllocator> >::stream(s, indent + "    ", v.skins[i]);
00381     }
00382   }
00383 };
00384 
00385 
00386 } // namespace message_operations
00387 } // namespace ros
00388 
00389 #endif // HRL_HAPTIC_MANIPULATION_IN_CLUTTER_MSGS_MESSAGE_ROBOTHAPTICSTATE_H
00390 


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