$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-arm_navigation/doc_stacks/2013-03-01_14-05-03.553953/arm_navigation/arm_navigation_msgs/msg/RobotTrajectory.msg */ 00002 #ifndef ARM_NAVIGATION_MSGS_MESSAGE_ROBOTTRAJECTORY_H 00003 #define ARM_NAVIGATION_MSGS_MESSAGE_ROBOTTRAJECTORY_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 "trajectory_msgs/JointTrajectory.h" 00018 #include "arm_navigation_msgs/MultiDOFJointTrajectory.h" 00019 00020 namespace arm_navigation_msgs 00021 { 00022 template <class ContainerAllocator> 00023 struct RobotTrajectory_ { 00024 typedef RobotTrajectory_<ContainerAllocator> Type; 00025 00026 RobotTrajectory_() 00027 : joint_trajectory() 00028 , multi_dof_joint_trajectory() 00029 { 00030 } 00031 00032 RobotTrajectory_(const ContainerAllocator& _alloc) 00033 : joint_trajectory(_alloc) 00034 , multi_dof_joint_trajectory(_alloc) 00035 { 00036 } 00037 00038 typedef ::trajectory_msgs::JointTrajectory_<ContainerAllocator> _joint_trajectory_type; 00039 ::trajectory_msgs::JointTrajectory_<ContainerAllocator> joint_trajectory; 00040 00041 typedef ::arm_navigation_msgs::MultiDOFJointTrajectory_<ContainerAllocator> _multi_dof_joint_trajectory_type; 00042 ::arm_navigation_msgs::MultiDOFJointTrajectory_<ContainerAllocator> multi_dof_joint_trajectory; 00043 00044 00045 private: 00046 static const char* __s_getDataType_() { return "arm_navigation_msgs/RobotTrajectory"; } 00047 public: 00048 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00049 00050 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00051 00052 private: 00053 static const char* __s_getMD5Sum_() { return "5bc8324620001e5c07a09d0bbfaaf093"; } 00054 public: 00055 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00056 00057 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00058 00059 private: 00060 static const char* __s_getMessageDefinition_() { return "trajectory_msgs/JointTrajectory joint_trajectory\n\ 00061 arm_navigation_msgs/MultiDOFJointTrajectory multi_dof_joint_trajectory\n\ 00062 \n\ 00063 ================================================================================\n\ 00064 MSG: trajectory_msgs/JointTrajectory\n\ 00065 Header header\n\ 00066 string[] joint_names\n\ 00067 JointTrajectoryPoint[] points\n\ 00068 ================================================================================\n\ 00069 MSG: std_msgs/Header\n\ 00070 # Standard metadata for higher-level stamped data types.\n\ 00071 # This is generally used to communicate timestamped data \n\ 00072 # in a particular coordinate frame.\n\ 00073 # \n\ 00074 # sequence ID: consecutively increasing ID \n\ 00075 uint32 seq\n\ 00076 #Two-integer timestamp that is expressed as:\n\ 00077 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00078 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00079 # time-handling sugar is provided by the client library\n\ 00080 time stamp\n\ 00081 #Frame this data is associated with\n\ 00082 # 0: no frame\n\ 00083 # 1: global frame\n\ 00084 string frame_id\n\ 00085 \n\ 00086 ================================================================================\n\ 00087 MSG: trajectory_msgs/JointTrajectoryPoint\n\ 00088 float64[] positions\n\ 00089 float64[] velocities\n\ 00090 float64[] accelerations\n\ 00091 duration time_from_start\n\ 00092 ================================================================================\n\ 00093 MSG: arm_navigation_msgs/MultiDOFJointTrajectory\n\ 00094 #A representation of a multi-dof joint trajectory\n\ 00095 duration stamp\n\ 00096 string[] joint_names\n\ 00097 string[] frame_ids\n\ 00098 string[] child_frame_ids\n\ 00099 MultiDOFJointTrajectoryPoint[] points\n\ 00100 \n\ 00101 ================================================================================\n\ 00102 MSG: arm_navigation_msgs/MultiDOFJointTrajectoryPoint\n\ 00103 geometry_msgs/Pose[] poses\n\ 00104 duration time_from_start\n\ 00105 ================================================================================\n\ 00106 MSG: geometry_msgs/Pose\n\ 00107 # A representation of pose in free space, composed of postion and orientation. \n\ 00108 Point position\n\ 00109 Quaternion orientation\n\ 00110 \n\ 00111 ================================================================================\n\ 00112 MSG: geometry_msgs/Point\n\ 00113 # This contains the position of a point in free space\n\ 00114 float64 x\n\ 00115 float64 y\n\ 00116 float64 z\n\ 00117 \n\ 00118 ================================================================================\n\ 00119 MSG: geometry_msgs/Quaternion\n\ 00120 # This represents an orientation in free space in quaternion form.\n\ 00121 \n\ 00122 float64 x\n\ 00123 float64 y\n\ 00124 float64 z\n\ 00125 float64 w\n\ 00126 \n\ 00127 "; } 00128 public: 00129 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00130 00131 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00132 00133 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00134 { 00135 ros::serialization::OStream stream(write_ptr, 1000000000); 00136 ros::serialization::serialize(stream, joint_trajectory); 00137 ros::serialization::serialize(stream, multi_dof_joint_trajectory); 00138 return stream.getData(); 00139 } 00140 00141 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00142 { 00143 ros::serialization::IStream stream(read_ptr, 1000000000); 00144 ros::serialization::deserialize(stream, joint_trajectory); 00145 ros::serialization::deserialize(stream, multi_dof_joint_trajectory); 00146 return stream.getData(); 00147 } 00148 00149 ROS_DEPRECATED virtual uint32_t serializationLength() const 00150 { 00151 uint32_t size = 0; 00152 size += ros::serialization::serializationLength(joint_trajectory); 00153 size += ros::serialization::serializationLength(multi_dof_joint_trajectory); 00154 return size; 00155 } 00156 00157 typedef boost::shared_ptr< ::arm_navigation_msgs::RobotTrajectory_<ContainerAllocator> > Ptr; 00158 typedef boost::shared_ptr< ::arm_navigation_msgs::RobotTrajectory_<ContainerAllocator> const> ConstPtr; 00159 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00160 }; // struct RobotTrajectory 00161 typedef ::arm_navigation_msgs::RobotTrajectory_<std::allocator<void> > RobotTrajectory; 00162 00163 typedef boost::shared_ptr< ::arm_navigation_msgs::RobotTrajectory> RobotTrajectoryPtr; 00164 typedef boost::shared_ptr< ::arm_navigation_msgs::RobotTrajectory const> RobotTrajectoryConstPtr; 00165 00166 00167 template<typename ContainerAllocator> 00168 std::ostream& operator<<(std::ostream& s, const ::arm_navigation_msgs::RobotTrajectory_<ContainerAllocator> & v) 00169 { 00170 ros::message_operations::Printer< ::arm_navigation_msgs::RobotTrajectory_<ContainerAllocator> >::stream(s, "", v); 00171 return s;} 00172 00173 } // namespace arm_navigation_msgs 00174 00175 namespace ros 00176 { 00177 namespace message_traits 00178 { 00179 template<class ContainerAllocator> struct IsMessage< ::arm_navigation_msgs::RobotTrajectory_<ContainerAllocator> > : public TrueType {}; 00180 template<class ContainerAllocator> struct IsMessage< ::arm_navigation_msgs::RobotTrajectory_<ContainerAllocator> const> : public TrueType {}; 00181 template<class ContainerAllocator> 00182 struct MD5Sum< ::arm_navigation_msgs::RobotTrajectory_<ContainerAllocator> > { 00183 static const char* value() 00184 { 00185 return "5bc8324620001e5c07a09d0bbfaaf093"; 00186 } 00187 00188 static const char* value(const ::arm_navigation_msgs::RobotTrajectory_<ContainerAllocator> &) { return value(); } 00189 static const uint64_t static_value1 = 0x5bc8324620001e5cULL; 00190 static const uint64_t static_value2 = 0x07a09d0bbfaaf093ULL; 00191 }; 00192 00193 template<class ContainerAllocator> 00194 struct DataType< ::arm_navigation_msgs::RobotTrajectory_<ContainerAllocator> > { 00195 static const char* value() 00196 { 00197 return "arm_navigation_msgs/RobotTrajectory"; 00198 } 00199 00200 static const char* value(const ::arm_navigation_msgs::RobotTrajectory_<ContainerAllocator> &) { return value(); } 00201 }; 00202 00203 template<class ContainerAllocator> 00204 struct Definition< ::arm_navigation_msgs::RobotTrajectory_<ContainerAllocator> > { 00205 static const char* value() 00206 { 00207 return "trajectory_msgs/JointTrajectory joint_trajectory\n\ 00208 arm_navigation_msgs/MultiDOFJointTrajectory multi_dof_joint_trajectory\n\ 00209 \n\ 00210 ================================================================================\n\ 00211 MSG: trajectory_msgs/JointTrajectory\n\ 00212 Header header\n\ 00213 string[] joint_names\n\ 00214 JointTrajectoryPoint[] points\n\ 00215 ================================================================================\n\ 00216 MSG: std_msgs/Header\n\ 00217 # Standard metadata for higher-level stamped data types.\n\ 00218 # This is generally used to communicate timestamped data \n\ 00219 # in a particular coordinate frame.\n\ 00220 # \n\ 00221 # sequence ID: consecutively increasing ID \n\ 00222 uint32 seq\n\ 00223 #Two-integer timestamp that is expressed as:\n\ 00224 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00225 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00226 # time-handling sugar is provided by the client library\n\ 00227 time stamp\n\ 00228 #Frame this data is associated with\n\ 00229 # 0: no frame\n\ 00230 # 1: global frame\n\ 00231 string frame_id\n\ 00232 \n\ 00233 ================================================================================\n\ 00234 MSG: trajectory_msgs/JointTrajectoryPoint\n\ 00235 float64[] positions\n\ 00236 float64[] velocities\n\ 00237 float64[] accelerations\n\ 00238 duration time_from_start\n\ 00239 ================================================================================\n\ 00240 MSG: arm_navigation_msgs/MultiDOFJointTrajectory\n\ 00241 #A representation of a multi-dof joint trajectory\n\ 00242 duration stamp\n\ 00243 string[] joint_names\n\ 00244 string[] frame_ids\n\ 00245 string[] child_frame_ids\n\ 00246 MultiDOFJointTrajectoryPoint[] points\n\ 00247 \n\ 00248 ================================================================================\n\ 00249 MSG: arm_navigation_msgs/MultiDOFJointTrajectoryPoint\n\ 00250 geometry_msgs/Pose[] poses\n\ 00251 duration time_from_start\n\ 00252 ================================================================================\n\ 00253 MSG: geometry_msgs/Pose\n\ 00254 # A representation of pose in free space, composed of postion and orientation. \n\ 00255 Point position\n\ 00256 Quaternion orientation\n\ 00257 \n\ 00258 ================================================================================\n\ 00259 MSG: geometry_msgs/Point\n\ 00260 # This contains the position of a point in free space\n\ 00261 float64 x\n\ 00262 float64 y\n\ 00263 float64 z\n\ 00264 \n\ 00265 ================================================================================\n\ 00266 MSG: geometry_msgs/Quaternion\n\ 00267 # This represents an orientation in free space in quaternion form.\n\ 00268 \n\ 00269 float64 x\n\ 00270 float64 y\n\ 00271 float64 z\n\ 00272 float64 w\n\ 00273 \n\ 00274 "; 00275 } 00276 00277 static const char* value(const ::arm_navigation_msgs::RobotTrajectory_<ContainerAllocator> &) { return value(); } 00278 }; 00279 00280 } // namespace message_traits 00281 } // namespace ros 00282 00283 namespace ros 00284 { 00285 namespace serialization 00286 { 00287 00288 template<class ContainerAllocator> struct Serializer< ::arm_navigation_msgs::RobotTrajectory_<ContainerAllocator> > 00289 { 00290 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00291 { 00292 stream.next(m.joint_trajectory); 00293 stream.next(m.multi_dof_joint_trajectory); 00294 } 00295 00296 ROS_DECLARE_ALLINONE_SERIALIZER; 00297 }; // struct RobotTrajectory_ 00298 } // namespace serialization 00299 } // namespace ros 00300 00301 namespace ros 00302 { 00303 namespace message_operations 00304 { 00305 00306 template<class ContainerAllocator> 00307 struct Printer< ::arm_navigation_msgs::RobotTrajectory_<ContainerAllocator> > 00308 { 00309 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::arm_navigation_msgs::RobotTrajectory_<ContainerAllocator> & v) 00310 { 00311 s << indent << "joint_trajectory: "; 00312 s << std::endl; 00313 Printer< ::trajectory_msgs::JointTrajectory_<ContainerAllocator> >::stream(s, indent + " ", v.joint_trajectory); 00314 s << indent << "multi_dof_joint_trajectory: "; 00315 s << std::endl; 00316 Printer< ::arm_navigation_msgs::MultiDOFJointTrajectory_<ContainerAllocator> >::stream(s, indent + " ", v.multi_dof_joint_trajectory); 00317 } 00318 }; 00319 00320 00321 } // namespace message_operations 00322 } // namespace ros 00323 00324 #endif // ARM_NAVIGATION_MSGS_MESSAGE_ROBOTTRAJECTORY_H 00325