00001
00002 #ifndef KINEMATICS_MSGS_SERVICE_GETPOSITIONFK_H
00003 #define KINEMATICS_MSGS_SERVICE_GETPOSITIONFK_H
00004 #include <string>
00005 #include <vector>
00006 #include <ostream>
00007 #include "ros/serialization.h"
00008 #include "ros/builtin_message_traits.h"
00009 #include "ros/message_operations.h"
00010 #include "ros/message.h"
00011 #include "ros/time.h"
00012
00013 #include "ros/service_traits.h"
00014
00015 #include "std_msgs/Header.h"
00016 #include "motion_planning_msgs/RobotState.h"
00017
00018
00019 #include "geometry_msgs/PoseStamped.h"
00020 #include "motion_planning_msgs/ArmNavigationErrorCodes.h"
00021
00022 namespace kinematics_msgs
00023 {
00024 template <class ContainerAllocator>
00025 struct GetPositionFKRequest_ : public ros::Message
00026 {
00027 typedef GetPositionFKRequest_<ContainerAllocator> Type;
00028
00029 GetPositionFKRequest_()
00030 : header()
00031 , fk_link_names()
00032 , robot_state()
00033 {
00034 }
00035
00036 GetPositionFKRequest_(const ContainerAllocator& _alloc)
00037 : header(_alloc)
00038 , fk_link_names(_alloc)
00039 , robot_state(_alloc)
00040 {
00041 }
00042
00043 typedef ::std_msgs::Header_<ContainerAllocator> _header_type;
00044 ::std_msgs::Header_<ContainerAllocator> header;
00045
00046 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 > _fk_link_names_type;
00047 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 > fk_link_names;
00048
00049 typedef ::motion_planning_msgs::RobotState_<ContainerAllocator> _robot_state_type;
00050 ::motion_planning_msgs::RobotState_<ContainerAllocator> robot_state;
00051
00052
00053 ROS_DEPRECATED uint32_t get_fk_link_names_size() const { return (uint32_t)fk_link_names.size(); }
00054 ROS_DEPRECATED void set_fk_link_names_size(uint32_t size) { fk_link_names.resize((size_t)size); }
00055 ROS_DEPRECATED void get_fk_link_names_vec(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 > & vec) const { vec = this->fk_link_names; }
00056 ROS_DEPRECATED void set_fk_link_names_vec(const 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 > & vec) { this->fk_link_names = vec; }
00057 private:
00058 static const char* __s_getDataType_() { return "kinematics_msgs/GetPositionFKRequest"; }
00059 public:
00060 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }
00061
00062 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); }
00063
00064 private:
00065 static const char* __s_getMD5Sum_() { return "ddaa8b9932e60599795bcb983e28cf57"; }
00066 public:
00067 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }
00068
00069 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); }
00070
00071 private:
00072 static const char* __s_getServerMD5Sum_() { return "2088007c8963e2252a67c872affa0985"; }
00073 public:
00074 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); }
00075
00076 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); }
00077
00078 private:
00079 static const char* __s_getMessageDefinition_() { return "\n\
00080 \n\
00081 \n\
00082 Header header\n\
00083 \n\
00084 \n\
00085 string[] fk_link_names\n\
00086 \n\
00087 \n\
00088 motion_planning_msgs/RobotState robot_state\n\
00089 \n\
00090 ================================================================================\n\
00091 MSG: std_msgs/Header\n\
00092 # Standard metadata for higher-level stamped data types.\n\
00093 # This is generally used to communicate timestamped data \n\
00094 # in a particular coordinate frame.\n\
00095 # \n\
00096 # sequence ID: consecutively increasing ID \n\
00097 uint32 seq\n\
00098 #Two-integer timestamp that is expressed as:\n\
00099 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00100 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00101 # time-handling sugar is provided by the client library\n\
00102 time stamp\n\
00103 #Frame this data is associated with\n\
00104 # 0: no frame\n\
00105 # 1: global frame\n\
00106 string frame_id\n\
00107 \n\
00108 ================================================================================\n\
00109 MSG: motion_planning_msgs/RobotState\n\
00110 # This message contains information about the robot state, i.e. the positions of its joints and links\n\
00111 sensor_msgs/JointState joint_state\n\
00112 motion_planning_msgs/MultiDOFJointState multi_dof_joint_state\n\
00113 ================================================================================\n\
00114 MSG: sensor_msgs/JointState\n\
00115 # This is a message that holds data to describe the state of a set of torque controlled joints. \n\
00116 #\n\
00117 # The state of each joint (revolute or prismatic) is defined by:\n\
00118 # * the position of the joint (rad or m),\n\
00119 # * the velocity of the joint (rad/s or m/s) and \n\
00120 # * the effort that is applied in the joint (Nm or N).\n\
00121 #\n\
00122 # Each joint is uniquely identified by its name\n\
00123 # The header specifies the time at which the joint states were recorded. All the joint states\n\
00124 # in one message have to be recorded at the same time.\n\
00125 #\n\
00126 # This message consists of a multiple arrays, one for each part of the joint state. \n\
00127 # The goal is to make each of the fields optional. When e.g. your joints have no\n\
00128 # effort associated with them, you can leave the effort array empty. \n\
00129 #\n\
00130 # All arrays in this message should have the same size, or be empty.\n\
00131 # This is the only way to uniquely associate the joint name with the correct\n\
00132 # states.\n\
00133 \n\
00134 \n\
00135 Header header\n\
00136 \n\
00137 string[] name\n\
00138 float64[] position\n\
00139 float64[] velocity\n\
00140 float64[] effort\n\
00141 \n\
00142 ================================================================================\n\
00143 MSG: motion_planning_msgs/MultiDOFJointState\n\
00144 #A representation of a multi-dof joint state\n\
00145 time stamp\n\
00146 string[] joint_names\n\
00147 string[] frame_ids\n\
00148 string[] child_frame_ids\n\
00149 geometry_msgs/Pose[] poses\n\
00150 \n\
00151 ================================================================================\n\
00152 MSG: geometry_msgs/Pose\n\
00153 # A representation of pose in free space, composed of postion and orientation. \n\
00154 Point position\n\
00155 Quaternion orientation\n\
00156 \n\
00157 ================================================================================\n\
00158 MSG: geometry_msgs/Point\n\
00159 # This contains the position of a point in free space\n\
00160 float64 x\n\
00161 float64 y\n\
00162 float64 z\n\
00163 \n\
00164 ================================================================================\n\
00165 MSG: geometry_msgs/Quaternion\n\
00166 # This represents an orientation in free space in quaternion form.\n\
00167 \n\
00168 float64 x\n\
00169 float64 y\n\
00170 float64 z\n\
00171 float64 w\n\
00172 \n\
00173 "; }
00174 public:
00175 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00176
00177 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00178
00179 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00180 {
00181 ros::serialization::OStream stream(write_ptr, 1000000000);
00182 ros::serialization::serialize(stream, header);
00183 ros::serialization::serialize(stream, fk_link_names);
00184 ros::serialization::serialize(stream, robot_state);
00185 return stream.getData();
00186 }
00187
00188 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00189 {
00190 ros::serialization::IStream stream(read_ptr, 1000000000);
00191 ros::serialization::deserialize(stream, header);
00192 ros::serialization::deserialize(stream, fk_link_names);
00193 ros::serialization::deserialize(stream, robot_state);
00194 return stream.getData();
00195 }
00196
00197 ROS_DEPRECATED virtual uint32_t serializationLength() const
00198 {
00199 uint32_t size = 0;
00200 size += ros::serialization::serializationLength(header);
00201 size += ros::serialization::serializationLength(fk_link_names);
00202 size += ros::serialization::serializationLength(robot_state);
00203 return size;
00204 }
00205
00206 typedef boost::shared_ptr< ::kinematics_msgs::GetPositionFKRequest_<ContainerAllocator> > Ptr;
00207 typedef boost::shared_ptr< ::kinematics_msgs::GetPositionFKRequest_<ContainerAllocator> const> ConstPtr;
00208 };
00209 typedef ::kinematics_msgs::GetPositionFKRequest_<std::allocator<void> > GetPositionFKRequest;
00210
00211 typedef boost::shared_ptr< ::kinematics_msgs::GetPositionFKRequest> GetPositionFKRequestPtr;
00212 typedef boost::shared_ptr< ::kinematics_msgs::GetPositionFKRequest const> GetPositionFKRequestConstPtr;
00213
00214
00215 template <class ContainerAllocator>
00216 struct GetPositionFKResponse_ : public ros::Message
00217 {
00218 typedef GetPositionFKResponse_<ContainerAllocator> Type;
00219
00220 GetPositionFKResponse_()
00221 : pose_stamped()
00222 , fk_link_names()
00223 , error_code()
00224 {
00225 }
00226
00227 GetPositionFKResponse_(const ContainerAllocator& _alloc)
00228 : pose_stamped(_alloc)
00229 , fk_link_names(_alloc)
00230 , error_code(_alloc)
00231 {
00232 }
00233
00234 typedef std::vector< ::geometry_msgs::PoseStamped_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::PoseStamped_<ContainerAllocator> >::other > _pose_stamped_type;
00235 std::vector< ::geometry_msgs::PoseStamped_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::PoseStamped_<ContainerAllocator> >::other > pose_stamped;
00236
00237 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 > _fk_link_names_type;
00238 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 > fk_link_names;
00239
00240 typedef ::motion_planning_msgs::ArmNavigationErrorCodes_<ContainerAllocator> _error_code_type;
00241 ::motion_planning_msgs::ArmNavigationErrorCodes_<ContainerAllocator> error_code;
00242
00243
00244 ROS_DEPRECATED uint32_t get_pose_stamped_size() const { return (uint32_t)pose_stamped.size(); }
00245 ROS_DEPRECATED void set_pose_stamped_size(uint32_t size) { pose_stamped.resize((size_t)size); }
00246 ROS_DEPRECATED void get_pose_stamped_vec(std::vector< ::geometry_msgs::PoseStamped_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::PoseStamped_<ContainerAllocator> >::other > & vec) const { vec = this->pose_stamped; }
00247 ROS_DEPRECATED void set_pose_stamped_vec(const std::vector< ::geometry_msgs::PoseStamped_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::PoseStamped_<ContainerAllocator> >::other > & vec) { this->pose_stamped = vec; }
00248 ROS_DEPRECATED uint32_t get_fk_link_names_size() const { return (uint32_t)fk_link_names.size(); }
00249 ROS_DEPRECATED void set_fk_link_names_size(uint32_t size) { fk_link_names.resize((size_t)size); }
00250 ROS_DEPRECATED void get_fk_link_names_vec(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 > & vec) const { vec = this->fk_link_names; }
00251 ROS_DEPRECATED void set_fk_link_names_vec(const 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 > & vec) { this->fk_link_names = vec; }
00252 private:
00253 static const char* __s_getDataType_() { return "kinematics_msgs/GetPositionFKResponse"; }
00254 public:
00255 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }
00256
00257 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); }
00258
00259 private:
00260 static const char* __s_getMD5Sum_() { return "4a3efc190f6ac6f248069cfa3cd94286"; }
00261 public:
00262 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }
00263
00264 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); }
00265
00266 private:
00267 static const char* __s_getServerMD5Sum_() { return "2088007c8963e2252a67c872affa0985"; }
00268 public:
00269 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); }
00270
00271 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); }
00272
00273 private:
00274 static const char* __s_getMessageDefinition_() { return "\n\
00275 geometry_msgs/PoseStamped[] pose_stamped\n\
00276 \n\
00277 \n\
00278 string[] fk_link_names\n\
00279 \n\
00280 motion_planning_msgs/ArmNavigationErrorCodes error_code\n\
00281 \n\
00282 ================================================================================\n\
00283 MSG: geometry_msgs/PoseStamped\n\
00284 # A Pose with reference coordinate frame and timestamp\n\
00285 Header header\n\
00286 Pose pose\n\
00287 \n\
00288 ================================================================================\n\
00289 MSG: std_msgs/Header\n\
00290 # Standard metadata for higher-level stamped data types.\n\
00291 # This is generally used to communicate timestamped data \n\
00292 # in a particular coordinate frame.\n\
00293 # \n\
00294 # sequence ID: consecutively increasing ID \n\
00295 uint32 seq\n\
00296 #Two-integer timestamp that is expressed as:\n\
00297 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00298 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00299 # time-handling sugar is provided by the client library\n\
00300 time stamp\n\
00301 #Frame this data is associated with\n\
00302 # 0: no frame\n\
00303 # 1: global frame\n\
00304 string frame_id\n\
00305 \n\
00306 ================================================================================\n\
00307 MSG: geometry_msgs/Pose\n\
00308 # A representation of pose in free space, composed of postion and orientation. \n\
00309 Point position\n\
00310 Quaternion orientation\n\
00311 \n\
00312 ================================================================================\n\
00313 MSG: geometry_msgs/Point\n\
00314 # This contains the position of a point in free space\n\
00315 float64 x\n\
00316 float64 y\n\
00317 float64 z\n\
00318 \n\
00319 ================================================================================\n\
00320 MSG: geometry_msgs/Quaternion\n\
00321 # This represents an orientation in free space in quaternion form.\n\
00322 \n\
00323 float64 x\n\
00324 float64 y\n\
00325 float64 z\n\
00326 float64 w\n\
00327 \n\
00328 ================================================================================\n\
00329 MSG: motion_planning_msgs/ArmNavigationErrorCodes\n\
00330 int32 val\n\
00331 \n\
00332 # overall behavior\n\
00333 int32 PLANNING_FAILED=-1\n\
00334 int32 SUCCESS=1\n\
00335 int32 TIMED_OUT=-2\n\
00336 \n\
00337 # start state errors\n\
00338 int32 START_STATE_IN_COLLISION=-3\n\
00339 int32 START_STATE_VIOLATES_PATH_CONSTRAINTS=-4\n\
00340 \n\
00341 # goal errors\n\
00342 int32 GOAL_IN_COLLISION=-5\n\
00343 int32 GOAL_VIOLATES_PATH_CONSTRAINTS=-6\n\
00344 \n\
00345 # robot state\n\
00346 int32 INVALID_ROBOT_STATE=-7\n\
00347 int32 INCOMPLETE_ROBOT_STATE=-8\n\
00348 \n\
00349 # planning request errors\n\
00350 int32 INVALID_PLANNER_ID=-9\n\
00351 int32 INVALID_NUM_PLANNING_ATTEMPTS=-10\n\
00352 int32 INVALID_ALLOWED_PLANNING_TIME=-11\n\
00353 int32 INVALID_GROUP_NAME=-12\n\
00354 int32 INVALID_GOAL_JOINT_CONSTRAINTS=-13\n\
00355 int32 INVALID_GOAL_POSITION_CONSTRAINTS=-14\n\
00356 int32 INVALID_GOAL_ORIENTATION_CONSTRAINTS=-15\n\
00357 int32 INVALID_PATH_JOINT_CONSTRAINTS=-16\n\
00358 int32 INVALID_PATH_POSITION_CONSTRAINTS=-17\n\
00359 int32 INVALID_PATH_ORIENTATION_CONSTRAINTS=-18\n\
00360 \n\
00361 # state/trajectory monitor errors\n\
00362 int32 INVALID_TRAJECTORY=-19\n\
00363 int32 INVALID_INDEX=-20\n\
00364 int32 JOINT_LIMITS_VIOLATED=-21\n\
00365 int32 PATH_CONSTRAINTS_VIOLATED=-22\n\
00366 int32 COLLISION_CONSTRAINTS_VIOLATED=-23\n\
00367 int32 GOAL_CONSTRAINTS_VIOLATED=-24\n\
00368 int32 JOINTS_NOT_MOVING=-25\n\
00369 int32 TRAJECTORY_CONTROLLER_FAILED=-26\n\
00370 \n\
00371 # system errors\n\
00372 int32 FRAME_TRANSFORM_FAILURE=-27\n\
00373 int32 COLLISION_CHECKING_UNAVAILABLE=-28\n\
00374 int32 ROBOT_STATE_STALE=-29\n\
00375 int32 SENSOR_INFO_STALE=-30\n\
00376 \n\
00377 # kinematics errors\n\
00378 int32 NO_IK_SOLUTION=-31\n\
00379 int32 INVALID_LINK_NAME=-32\n\
00380 int32 IK_LINK_IN_COLLISION=-33\n\
00381 int32 NO_FK_SOLUTION=-34\n\
00382 int32 KINEMATICS_STATE_IN_COLLISION=-35\n\
00383 \n\
00384 # general errors\n\
00385 int32 INVALID_TIMEOUT=-36\n\
00386 \n\
00387 \n\
00388 "; }
00389 public:
00390 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00391
00392 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00393
00394 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00395 {
00396 ros::serialization::OStream stream(write_ptr, 1000000000);
00397 ros::serialization::serialize(stream, pose_stamped);
00398 ros::serialization::serialize(stream, fk_link_names);
00399 ros::serialization::serialize(stream, error_code);
00400 return stream.getData();
00401 }
00402
00403 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00404 {
00405 ros::serialization::IStream stream(read_ptr, 1000000000);
00406 ros::serialization::deserialize(stream, pose_stamped);
00407 ros::serialization::deserialize(stream, fk_link_names);
00408 ros::serialization::deserialize(stream, error_code);
00409 return stream.getData();
00410 }
00411
00412 ROS_DEPRECATED virtual uint32_t serializationLength() const
00413 {
00414 uint32_t size = 0;
00415 size += ros::serialization::serializationLength(pose_stamped);
00416 size += ros::serialization::serializationLength(fk_link_names);
00417 size += ros::serialization::serializationLength(error_code);
00418 return size;
00419 }
00420
00421 typedef boost::shared_ptr< ::kinematics_msgs::GetPositionFKResponse_<ContainerAllocator> > Ptr;
00422 typedef boost::shared_ptr< ::kinematics_msgs::GetPositionFKResponse_<ContainerAllocator> const> ConstPtr;
00423 };
00424 typedef ::kinematics_msgs::GetPositionFKResponse_<std::allocator<void> > GetPositionFKResponse;
00425
00426 typedef boost::shared_ptr< ::kinematics_msgs::GetPositionFKResponse> GetPositionFKResponsePtr;
00427 typedef boost::shared_ptr< ::kinematics_msgs::GetPositionFKResponse const> GetPositionFKResponseConstPtr;
00428
00429 struct GetPositionFK
00430 {
00431
00432 typedef GetPositionFKRequest Request;
00433 typedef GetPositionFKResponse Response;
00434 Request request;
00435 Response response;
00436
00437 typedef Request RequestType;
00438 typedef Response ResponseType;
00439 };
00440 }
00441
00442 namespace ros
00443 {
00444 namespace message_traits
00445 {
00446 template<class ContainerAllocator>
00447 struct MD5Sum< ::kinematics_msgs::GetPositionFKRequest_<ContainerAllocator> > {
00448 static const char* value()
00449 {
00450 return "ddaa8b9932e60599795bcb983e28cf57";
00451 }
00452
00453 static const char* value(const ::kinematics_msgs::GetPositionFKRequest_<ContainerAllocator> &) { return value(); }
00454 static const uint64_t static_value1 = 0xddaa8b9932e60599ULL;
00455 static const uint64_t static_value2 = 0x795bcb983e28cf57ULL;
00456 };
00457
00458 template<class ContainerAllocator>
00459 struct DataType< ::kinematics_msgs::GetPositionFKRequest_<ContainerAllocator> > {
00460 static const char* value()
00461 {
00462 return "kinematics_msgs/GetPositionFKRequest";
00463 }
00464
00465 static const char* value(const ::kinematics_msgs::GetPositionFKRequest_<ContainerAllocator> &) { return value(); }
00466 };
00467
00468 template<class ContainerAllocator>
00469 struct Definition< ::kinematics_msgs::GetPositionFKRequest_<ContainerAllocator> > {
00470 static const char* value()
00471 {
00472 return "\n\
00473 \n\
00474 \n\
00475 Header header\n\
00476 \n\
00477 \n\
00478 string[] fk_link_names\n\
00479 \n\
00480 \n\
00481 motion_planning_msgs/RobotState robot_state\n\
00482 \n\
00483 ================================================================================\n\
00484 MSG: std_msgs/Header\n\
00485 # Standard metadata for higher-level stamped data types.\n\
00486 # This is generally used to communicate timestamped data \n\
00487 # in a particular coordinate frame.\n\
00488 # \n\
00489 # sequence ID: consecutively increasing ID \n\
00490 uint32 seq\n\
00491 #Two-integer timestamp that is expressed as:\n\
00492 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00493 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00494 # time-handling sugar is provided by the client library\n\
00495 time stamp\n\
00496 #Frame this data is associated with\n\
00497 # 0: no frame\n\
00498 # 1: global frame\n\
00499 string frame_id\n\
00500 \n\
00501 ================================================================================\n\
00502 MSG: motion_planning_msgs/RobotState\n\
00503 # This message contains information about the robot state, i.e. the positions of its joints and links\n\
00504 sensor_msgs/JointState joint_state\n\
00505 motion_planning_msgs/MultiDOFJointState multi_dof_joint_state\n\
00506 ================================================================================\n\
00507 MSG: sensor_msgs/JointState\n\
00508 # This is a message that holds data to describe the state of a set of torque controlled joints. \n\
00509 #\n\
00510 # The state of each joint (revolute or prismatic) is defined by:\n\
00511 # * the position of the joint (rad or m),\n\
00512 # * the velocity of the joint (rad/s or m/s) and \n\
00513 # * the effort that is applied in the joint (Nm or N).\n\
00514 #\n\
00515 # Each joint is uniquely identified by its name\n\
00516 # The header specifies the time at which the joint states were recorded. All the joint states\n\
00517 # in one message have to be recorded at the same time.\n\
00518 #\n\
00519 # This message consists of a multiple arrays, one for each part of the joint state. \n\
00520 # The goal is to make each of the fields optional. When e.g. your joints have no\n\
00521 # effort associated with them, you can leave the effort array empty. \n\
00522 #\n\
00523 # All arrays in this message should have the same size, or be empty.\n\
00524 # This is the only way to uniquely associate the joint name with the correct\n\
00525 # states.\n\
00526 \n\
00527 \n\
00528 Header header\n\
00529 \n\
00530 string[] name\n\
00531 float64[] position\n\
00532 float64[] velocity\n\
00533 float64[] effort\n\
00534 \n\
00535 ================================================================================\n\
00536 MSG: motion_planning_msgs/MultiDOFJointState\n\
00537 #A representation of a multi-dof joint state\n\
00538 time stamp\n\
00539 string[] joint_names\n\
00540 string[] frame_ids\n\
00541 string[] child_frame_ids\n\
00542 geometry_msgs/Pose[] poses\n\
00543 \n\
00544 ================================================================================\n\
00545 MSG: geometry_msgs/Pose\n\
00546 # A representation of pose in free space, composed of postion and orientation. \n\
00547 Point position\n\
00548 Quaternion orientation\n\
00549 \n\
00550 ================================================================================\n\
00551 MSG: geometry_msgs/Point\n\
00552 # This contains the position of a point in free space\n\
00553 float64 x\n\
00554 float64 y\n\
00555 float64 z\n\
00556 \n\
00557 ================================================================================\n\
00558 MSG: geometry_msgs/Quaternion\n\
00559 # This represents an orientation in free space in quaternion form.\n\
00560 \n\
00561 float64 x\n\
00562 float64 y\n\
00563 float64 z\n\
00564 float64 w\n\
00565 \n\
00566 ";
00567 }
00568
00569 static const char* value(const ::kinematics_msgs::GetPositionFKRequest_<ContainerAllocator> &) { return value(); }
00570 };
00571
00572 template<class ContainerAllocator> struct HasHeader< ::kinematics_msgs::GetPositionFKRequest_<ContainerAllocator> > : public TrueType {};
00573 template<class ContainerAllocator> struct HasHeader< const ::kinematics_msgs::GetPositionFKRequest_<ContainerAllocator> > : public TrueType {};
00574 }
00575 }
00576
00577
00578 namespace ros
00579 {
00580 namespace message_traits
00581 {
00582 template<class ContainerAllocator>
00583 struct MD5Sum< ::kinematics_msgs::GetPositionFKResponse_<ContainerAllocator> > {
00584 static const char* value()
00585 {
00586 return "4a3efc190f6ac6f248069cfa3cd94286";
00587 }
00588
00589 static const char* value(const ::kinematics_msgs::GetPositionFKResponse_<ContainerAllocator> &) { return value(); }
00590 static const uint64_t static_value1 = 0x4a3efc190f6ac6f2ULL;
00591 static const uint64_t static_value2 = 0x48069cfa3cd94286ULL;
00592 };
00593
00594 template<class ContainerAllocator>
00595 struct DataType< ::kinematics_msgs::GetPositionFKResponse_<ContainerAllocator> > {
00596 static const char* value()
00597 {
00598 return "kinematics_msgs/GetPositionFKResponse";
00599 }
00600
00601 static const char* value(const ::kinematics_msgs::GetPositionFKResponse_<ContainerAllocator> &) { return value(); }
00602 };
00603
00604 template<class ContainerAllocator>
00605 struct Definition< ::kinematics_msgs::GetPositionFKResponse_<ContainerAllocator> > {
00606 static const char* value()
00607 {
00608 return "\n\
00609 geometry_msgs/PoseStamped[] pose_stamped\n\
00610 \n\
00611 \n\
00612 string[] fk_link_names\n\
00613 \n\
00614 motion_planning_msgs/ArmNavigationErrorCodes error_code\n\
00615 \n\
00616 ================================================================================\n\
00617 MSG: geometry_msgs/PoseStamped\n\
00618 # A Pose with reference coordinate frame and timestamp\n\
00619 Header header\n\
00620 Pose pose\n\
00621 \n\
00622 ================================================================================\n\
00623 MSG: std_msgs/Header\n\
00624 # Standard metadata for higher-level stamped data types.\n\
00625 # This is generally used to communicate timestamped data \n\
00626 # in a particular coordinate frame.\n\
00627 # \n\
00628 # sequence ID: consecutively increasing ID \n\
00629 uint32 seq\n\
00630 #Two-integer timestamp that is expressed as:\n\
00631 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00632 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00633 # time-handling sugar is provided by the client library\n\
00634 time stamp\n\
00635 #Frame this data is associated with\n\
00636 # 0: no frame\n\
00637 # 1: global frame\n\
00638 string frame_id\n\
00639 \n\
00640 ================================================================================\n\
00641 MSG: geometry_msgs/Pose\n\
00642 # A representation of pose in free space, composed of postion and orientation. \n\
00643 Point position\n\
00644 Quaternion orientation\n\
00645 \n\
00646 ================================================================================\n\
00647 MSG: geometry_msgs/Point\n\
00648 # This contains the position of a point in free space\n\
00649 float64 x\n\
00650 float64 y\n\
00651 float64 z\n\
00652 \n\
00653 ================================================================================\n\
00654 MSG: geometry_msgs/Quaternion\n\
00655 # This represents an orientation in free space in quaternion form.\n\
00656 \n\
00657 float64 x\n\
00658 float64 y\n\
00659 float64 z\n\
00660 float64 w\n\
00661 \n\
00662 ================================================================================\n\
00663 MSG: motion_planning_msgs/ArmNavigationErrorCodes\n\
00664 int32 val\n\
00665 \n\
00666 # overall behavior\n\
00667 int32 PLANNING_FAILED=-1\n\
00668 int32 SUCCESS=1\n\
00669 int32 TIMED_OUT=-2\n\
00670 \n\
00671 # start state errors\n\
00672 int32 START_STATE_IN_COLLISION=-3\n\
00673 int32 START_STATE_VIOLATES_PATH_CONSTRAINTS=-4\n\
00674 \n\
00675 # goal errors\n\
00676 int32 GOAL_IN_COLLISION=-5\n\
00677 int32 GOAL_VIOLATES_PATH_CONSTRAINTS=-6\n\
00678 \n\
00679 # robot state\n\
00680 int32 INVALID_ROBOT_STATE=-7\n\
00681 int32 INCOMPLETE_ROBOT_STATE=-8\n\
00682 \n\
00683 # planning request errors\n\
00684 int32 INVALID_PLANNER_ID=-9\n\
00685 int32 INVALID_NUM_PLANNING_ATTEMPTS=-10\n\
00686 int32 INVALID_ALLOWED_PLANNING_TIME=-11\n\
00687 int32 INVALID_GROUP_NAME=-12\n\
00688 int32 INVALID_GOAL_JOINT_CONSTRAINTS=-13\n\
00689 int32 INVALID_GOAL_POSITION_CONSTRAINTS=-14\n\
00690 int32 INVALID_GOAL_ORIENTATION_CONSTRAINTS=-15\n\
00691 int32 INVALID_PATH_JOINT_CONSTRAINTS=-16\n\
00692 int32 INVALID_PATH_POSITION_CONSTRAINTS=-17\n\
00693 int32 INVALID_PATH_ORIENTATION_CONSTRAINTS=-18\n\
00694 \n\
00695 # state/trajectory monitor errors\n\
00696 int32 INVALID_TRAJECTORY=-19\n\
00697 int32 INVALID_INDEX=-20\n\
00698 int32 JOINT_LIMITS_VIOLATED=-21\n\
00699 int32 PATH_CONSTRAINTS_VIOLATED=-22\n\
00700 int32 COLLISION_CONSTRAINTS_VIOLATED=-23\n\
00701 int32 GOAL_CONSTRAINTS_VIOLATED=-24\n\
00702 int32 JOINTS_NOT_MOVING=-25\n\
00703 int32 TRAJECTORY_CONTROLLER_FAILED=-26\n\
00704 \n\
00705 # system errors\n\
00706 int32 FRAME_TRANSFORM_FAILURE=-27\n\
00707 int32 COLLISION_CHECKING_UNAVAILABLE=-28\n\
00708 int32 ROBOT_STATE_STALE=-29\n\
00709 int32 SENSOR_INFO_STALE=-30\n\
00710 \n\
00711 # kinematics errors\n\
00712 int32 NO_IK_SOLUTION=-31\n\
00713 int32 INVALID_LINK_NAME=-32\n\
00714 int32 IK_LINK_IN_COLLISION=-33\n\
00715 int32 NO_FK_SOLUTION=-34\n\
00716 int32 KINEMATICS_STATE_IN_COLLISION=-35\n\
00717 \n\
00718 # general errors\n\
00719 int32 INVALID_TIMEOUT=-36\n\
00720 \n\
00721 \n\
00722 ";
00723 }
00724
00725 static const char* value(const ::kinematics_msgs::GetPositionFKResponse_<ContainerAllocator> &) { return value(); }
00726 };
00727
00728 }
00729 }
00730
00731 namespace ros
00732 {
00733 namespace serialization
00734 {
00735
00736 template<class ContainerAllocator> struct Serializer< ::kinematics_msgs::GetPositionFKRequest_<ContainerAllocator> >
00737 {
00738 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00739 {
00740 stream.next(m.header);
00741 stream.next(m.fk_link_names);
00742 stream.next(m.robot_state);
00743 }
00744
00745 ROS_DECLARE_ALLINONE_SERIALIZER;
00746 };
00747 }
00748 }
00749
00750
00751 namespace ros
00752 {
00753 namespace serialization
00754 {
00755
00756 template<class ContainerAllocator> struct Serializer< ::kinematics_msgs::GetPositionFKResponse_<ContainerAllocator> >
00757 {
00758 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00759 {
00760 stream.next(m.pose_stamped);
00761 stream.next(m.fk_link_names);
00762 stream.next(m.error_code);
00763 }
00764
00765 ROS_DECLARE_ALLINONE_SERIALIZER;
00766 };
00767 }
00768 }
00769
00770 namespace ros
00771 {
00772 namespace service_traits
00773 {
00774 template<>
00775 struct MD5Sum<kinematics_msgs::GetPositionFK> {
00776 static const char* value()
00777 {
00778 return "2088007c8963e2252a67c872affa0985";
00779 }
00780
00781 static const char* value(const kinematics_msgs::GetPositionFK&) { return value(); }
00782 };
00783
00784 template<>
00785 struct DataType<kinematics_msgs::GetPositionFK> {
00786 static const char* value()
00787 {
00788 return "kinematics_msgs/GetPositionFK";
00789 }
00790
00791 static const char* value(const kinematics_msgs::GetPositionFK&) { return value(); }
00792 };
00793
00794 template<class ContainerAllocator>
00795 struct MD5Sum<kinematics_msgs::GetPositionFKRequest_<ContainerAllocator> > {
00796 static const char* value()
00797 {
00798 return "2088007c8963e2252a67c872affa0985";
00799 }
00800
00801 static const char* value(const kinematics_msgs::GetPositionFKRequest_<ContainerAllocator> &) { return value(); }
00802 };
00803
00804 template<class ContainerAllocator>
00805 struct DataType<kinematics_msgs::GetPositionFKRequest_<ContainerAllocator> > {
00806 static const char* value()
00807 {
00808 return "kinematics_msgs/GetPositionFK";
00809 }
00810
00811 static const char* value(const kinematics_msgs::GetPositionFKRequest_<ContainerAllocator> &) { return value(); }
00812 };
00813
00814 template<class ContainerAllocator>
00815 struct MD5Sum<kinematics_msgs::GetPositionFKResponse_<ContainerAllocator> > {
00816 static const char* value()
00817 {
00818 return "2088007c8963e2252a67c872affa0985";
00819 }
00820
00821 static const char* value(const kinematics_msgs::GetPositionFKResponse_<ContainerAllocator> &) { return value(); }
00822 };
00823
00824 template<class ContainerAllocator>
00825 struct DataType<kinematics_msgs::GetPositionFKResponse_<ContainerAllocator> > {
00826 static const char* value()
00827 {
00828 return "kinematics_msgs/GetPositionFK";
00829 }
00830
00831 static const char* value(const kinematics_msgs::GetPositionFKResponse_<ContainerAllocator> &) { return value(); }
00832 };
00833
00834 }
00835 }
00836
00837 #endif // KINEMATICS_MSGS_SERVICE_GETPOSITIONFK_H
00838