PositionIKRequest.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-arm_navigation/doc_stacks/2013-12-02_12-23-34.850326/arm_navigation/kinematics_msgs/msg/PositionIKRequest.msg */
00002 #ifndef KINEMATICS_MSGS_MESSAGE_POSITIONIKREQUEST_H
00003 #define KINEMATICS_MSGS_MESSAGE_POSITIONIKREQUEST_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 "geometry_msgs/PoseStamped.h"
00018 #include "arm_navigation_msgs/RobotState.h"
00019 #include "arm_navigation_msgs/RobotState.h"
00020 
00021 namespace kinematics_msgs
00022 {
00023 template <class ContainerAllocator>
00024 struct PositionIKRequest_ {
00025   typedef PositionIKRequest_<ContainerAllocator> Type;
00026 
00027   PositionIKRequest_()
00028   : ik_link_name()
00029   , pose_stamped()
00030   , ik_seed_state()
00031   , robot_state()
00032   {
00033   }
00034 
00035   PositionIKRequest_(const ContainerAllocator& _alloc)
00036   : ik_link_name(_alloc)
00037   , pose_stamped(_alloc)
00038   , ik_seed_state(_alloc)
00039   , robot_state(_alloc)
00040   {
00041   }
00042 
00043   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _ik_link_name_type;
00044   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  ik_link_name;
00045 
00046   typedef  ::geometry_msgs::PoseStamped_<ContainerAllocator>  _pose_stamped_type;
00047    ::geometry_msgs::PoseStamped_<ContainerAllocator>  pose_stamped;
00048 
00049   typedef  ::arm_navigation_msgs::RobotState_<ContainerAllocator>  _ik_seed_state_type;
00050    ::arm_navigation_msgs::RobotState_<ContainerAllocator>  ik_seed_state;
00051 
00052   typedef  ::arm_navigation_msgs::RobotState_<ContainerAllocator>  _robot_state_type;
00053    ::arm_navigation_msgs::RobotState_<ContainerAllocator>  robot_state;
00054 
00055 
00056   typedef boost::shared_ptr< ::kinematics_msgs::PositionIKRequest_<ContainerAllocator> > Ptr;
00057   typedef boost::shared_ptr< ::kinematics_msgs::PositionIKRequest_<ContainerAllocator>  const> ConstPtr;
00058   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00059 }; // struct PositionIKRequest
00060 typedef  ::kinematics_msgs::PositionIKRequest_<std::allocator<void> > PositionIKRequest;
00061 
00062 typedef boost::shared_ptr< ::kinematics_msgs::PositionIKRequest> PositionIKRequestPtr;
00063 typedef boost::shared_ptr< ::kinematics_msgs::PositionIKRequest const> PositionIKRequestConstPtr;
00064 
00065 
00066 template<typename ContainerAllocator>
00067 std::ostream& operator<<(std::ostream& s, const  ::kinematics_msgs::PositionIKRequest_<ContainerAllocator> & v)
00068 {
00069   ros::message_operations::Printer< ::kinematics_msgs::PositionIKRequest_<ContainerAllocator> >::stream(s, "", v);
00070   return s;}
00071 
00072 } // namespace kinematics_msgs
00073 
00074 namespace ros
00075 {
00076 namespace message_traits
00077 {
00078 template<class ContainerAllocator> struct IsMessage< ::kinematics_msgs::PositionIKRequest_<ContainerAllocator> > : public TrueType {};
00079 template<class ContainerAllocator> struct IsMessage< ::kinematics_msgs::PositionIKRequest_<ContainerAllocator>  const> : public TrueType {};
00080 template<class ContainerAllocator>
00081 struct MD5Sum< ::kinematics_msgs::PositionIKRequest_<ContainerAllocator> > {
00082   static const char* value() 
00083   {
00084     return "737bb756c6253bdd460b1383d0b12dac";
00085   }
00086 
00087   static const char* value(const  ::kinematics_msgs::PositionIKRequest_<ContainerAllocator> &) { return value(); } 
00088   static const uint64_t static_value1 = 0x737bb756c6253bddULL;
00089   static const uint64_t static_value2 = 0x460b1383d0b12dacULL;
00090 };
00091 
00092 template<class ContainerAllocator>
00093 struct DataType< ::kinematics_msgs::PositionIKRequest_<ContainerAllocator> > {
00094   static const char* value() 
00095   {
00096     return "kinematics_msgs/PositionIKRequest";
00097   }
00098 
00099   static const char* value(const  ::kinematics_msgs::PositionIKRequest_<ContainerAllocator> &) { return value(); } 
00100 };
00101 
00102 template<class ContainerAllocator>
00103 struct Definition< ::kinematics_msgs::PositionIKRequest_<ContainerAllocator> > {
00104   static const char* value() 
00105   {
00106     return "# A Position IK request message\n\
00107 # The name of the link for which we are computing IK\n\
00108 string ik_link_name\n\
00109 \n\
00110 # The (stamped) pose of the link\n\
00111 geometry_msgs/PoseStamped pose_stamped\n\
00112 \n\
00113 # A RobotState consisting of hint/seed positions for the IK computation. \n\
00114 # These may be used to seed the IK search. \n\
00115 # The seed state MUST contain state for all joints to be used by the IK solver\n\
00116 # to compute IK. The list of joints that the IK solver deals with can be found using\n\
00117 # the kinematics_msgs/GetKinematicSolverInfo\n\
00118 arm_navigation_msgs/RobotState ik_seed_state\n\
00119 \n\
00120 # Additional state information can be provided here to specify the starting positions \n\
00121 # of other joints/links on the robot.\n\
00122 arm_navigation_msgs/RobotState robot_state\n\
00123 \n\
00124 ================================================================================\n\
00125 MSG: geometry_msgs/PoseStamped\n\
00126 # A Pose with reference coordinate frame and timestamp\n\
00127 Header header\n\
00128 Pose pose\n\
00129 \n\
00130 ================================================================================\n\
00131 MSG: std_msgs/Header\n\
00132 # Standard metadata for higher-level stamped data types.\n\
00133 # This is generally used to communicate timestamped data \n\
00134 # in a particular coordinate frame.\n\
00135 # \n\
00136 # sequence ID: consecutively increasing ID \n\
00137 uint32 seq\n\
00138 #Two-integer timestamp that is expressed as:\n\
00139 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00140 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00141 # time-handling sugar is provided by the client library\n\
00142 time stamp\n\
00143 #Frame this data is associated with\n\
00144 # 0: no frame\n\
00145 # 1: global frame\n\
00146 string frame_id\n\
00147 \n\
00148 ================================================================================\n\
00149 MSG: geometry_msgs/Pose\n\
00150 # A representation of pose in free space, composed of postion and orientation. \n\
00151 Point position\n\
00152 Quaternion orientation\n\
00153 \n\
00154 ================================================================================\n\
00155 MSG: geometry_msgs/Point\n\
00156 # This contains the position of a point in free space\n\
00157 float64 x\n\
00158 float64 y\n\
00159 float64 z\n\
00160 \n\
00161 ================================================================================\n\
00162 MSG: geometry_msgs/Quaternion\n\
00163 # This represents an orientation in free space in quaternion form.\n\
00164 \n\
00165 float64 x\n\
00166 float64 y\n\
00167 float64 z\n\
00168 float64 w\n\
00169 \n\
00170 ================================================================================\n\
00171 MSG: arm_navigation_msgs/RobotState\n\
00172 # This message contains information about the robot state, i.e. the positions of its joints and links\n\
00173 sensor_msgs/JointState joint_state\n\
00174 arm_navigation_msgs/MultiDOFJointState multi_dof_joint_state\n\
00175 \n\
00176 ================================================================================\n\
00177 MSG: sensor_msgs/JointState\n\
00178 # This is a message that holds data to describe the state of a set of torque controlled joints. \n\
00179 #\n\
00180 # The state of each joint (revolute or prismatic) is defined by:\n\
00181 #  * the position of the joint (rad or m),\n\
00182 #  * the velocity of the joint (rad/s or m/s) and \n\
00183 #  * the effort that is applied in the joint (Nm or N).\n\
00184 #\n\
00185 # Each joint is uniquely identified by its name\n\
00186 # The header specifies the time at which the joint states were recorded. All the joint states\n\
00187 # in one message have to be recorded at the same time.\n\
00188 #\n\
00189 # This message consists of a multiple arrays, one for each part of the joint state. \n\
00190 # The goal is to make each of the fields optional. When e.g. your joints have no\n\
00191 # effort associated with them, you can leave the effort array empty. \n\
00192 #\n\
00193 # All arrays in this message should have the same size, or be empty.\n\
00194 # This is the only way to uniquely associate the joint name with the correct\n\
00195 # states.\n\
00196 \n\
00197 \n\
00198 Header header\n\
00199 \n\
00200 string[] name\n\
00201 float64[] position\n\
00202 float64[] velocity\n\
00203 float64[] effort\n\
00204 \n\
00205 ================================================================================\n\
00206 MSG: arm_navigation_msgs/MultiDOFJointState\n\
00207 #A representation of a multi-dof joint state\n\
00208 time stamp\n\
00209 string[] joint_names\n\
00210 string[] frame_ids\n\
00211 string[] child_frame_ids\n\
00212 geometry_msgs/Pose[] poses\n\
00213 \n\
00214 ";
00215   }
00216 
00217   static const char* value(const  ::kinematics_msgs::PositionIKRequest_<ContainerAllocator> &) { return value(); } 
00218 };
00219 
00220 } // namespace message_traits
00221 } // namespace ros
00222 
00223 namespace ros
00224 {
00225 namespace serialization
00226 {
00227 
00228 template<class ContainerAllocator> struct Serializer< ::kinematics_msgs::PositionIKRequest_<ContainerAllocator> >
00229 {
00230   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00231   {
00232     stream.next(m.ik_link_name);
00233     stream.next(m.pose_stamped);
00234     stream.next(m.ik_seed_state);
00235     stream.next(m.robot_state);
00236   }
00237 
00238   ROS_DECLARE_ALLINONE_SERIALIZER;
00239 }; // struct PositionIKRequest_
00240 } // namespace serialization
00241 } // namespace ros
00242 
00243 namespace ros
00244 {
00245 namespace message_operations
00246 {
00247 
00248 template<class ContainerAllocator>
00249 struct Printer< ::kinematics_msgs::PositionIKRequest_<ContainerAllocator> >
00250 {
00251   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::kinematics_msgs::PositionIKRequest_<ContainerAllocator> & v) 
00252   {
00253     s << indent << "ik_link_name: ";
00254     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.ik_link_name);
00255     s << indent << "pose_stamped: ";
00256 s << std::endl;
00257     Printer< ::geometry_msgs::PoseStamped_<ContainerAllocator> >::stream(s, indent + "  ", v.pose_stamped);
00258     s << indent << "ik_seed_state: ";
00259 s << std::endl;
00260     Printer< ::arm_navigation_msgs::RobotState_<ContainerAllocator> >::stream(s, indent + "  ", v.ik_seed_state);
00261     s << indent << "robot_state: ";
00262 s << std::endl;
00263     Printer< ::arm_navigation_msgs::RobotState_<ContainerAllocator> >::stream(s, indent + "  ", v.robot_state);
00264   }
00265 };
00266 
00267 
00268 } // namespace message_operations
00269 } // namespace ros
00270 
00271 #endif // KINEMATICS_MSGS_MESSAGE_POSITIONIKREQUEST_H
00272 


kinematics_msgs
Author(s): Sachin Chitta
autogenerated on Mon Dec 2 2013 12:32:53