$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/DisplayTrajectory.msg */ 00002 #ifndef ARM_NAVIGATION_MSGS_MESSAGE_DISPLAYTRAJECTORY_H 00003 #define ARM_NAVIGATION_MSGS_MESSAGE_DISPLAYTRAJECTORY_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 "arm_navigation_msgs/RobotTrajectory.h" 00018 #include "arm_navigation_msgs/RobotState.h" 00019 00020 namespace arm_navigation_msgs 00021 { 00022 template <class ContainerAllocator> 00023 struct DisplayTrajectory_ { 00024 typedef DisplayTrajectory_<ContainerAllocator> Type; 00025 00026 DisplayTrajectory_() 00027 : model_id() 00028 , trajectory() 00029 , robot_state() 00030 { 00031 } 00032 00033 DisplayTrajectory_(const ContainerAllocator& _alloc) 00034 : model_id(_alloc) 00035 , trajectory(_alloc) 00036 , robot_state(_alloc) 00037 { 00038 } 00039 00040 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _model_id_type; 00041 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > model_id; 00042 00043 typedef ::arm_navigation_msgs::RobotTrajectory_<ContainerAllocator> _trajectory_type; 00044 ::arm_navigation_msgs::RobotTrajectory_<ContainerAllocator> trajectory; 00045 00046 typedef ::arm_navigation_msgs::RobotState_<ContainerAllocator> _robot_state_type; 00047 ::arm_navigation_msgs::RobotState_<ContainerAllocator> robot_state; 00048 00049 00050 private: 00051 static const char* __s_getDataType_() { return "arm_navigation_msgs/DisplayTrajectory"; } 00052 public: 00053 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00054 00055 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00056 00057 private: 00058 static const char* __s_getMD5Sum_() { return "382f217803665e4718c4edbac445582c"; } 00059 public: 00060 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00061 00062 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00063 00064 private: 00065 static const char* __s_getMessageDefinition_() { return "# The model id for which this path has been generated\n\ 00066 string model_id\n\ 00067 # The representation of the path contains position values for all the joints that are moving along the path\n\ 00068 arm_navigation_msgs/RobotTrajectory trajectory\n\ 00069 # The robot state is used to obtain positions for all/some of the joints of the robot. \n\ 00070 # It is used by the path display node to determine the positions of the joints that are not specified in the joint path message above. \n\ 00071 # If the robot state message contains joint position information for joints that are also mentioned in the joint path message, the positions in the joint path message will overwrite the positions specified in the robot state message. \n\ 00072 RobotState robot_state\n\ 00073 \n\ 00074 ================================================================================\n\ 00075 MSG: arm_navigation_msgs/RobotTrajectory\n\ 00076 trajectory_msgs/JointTrajectory joint_trajectory\n\ 00077 arm_navigation_msgs/MultiDOFJointTrajectory multi_dof_joint_trajectory\n\ 00078 \n\ 00079 ================================================================================\n\ 00080 MSG: trajectory_msgs/JointTrajectory\n\ 00081 Header header\n\ 00082 string[] joint_names\n\ 00083 JointTrajectoryPoint[] points\n\ 00084 ================================================================================\n\ 00085 MSG: std_msgs/Header\n\ 00086 # Standard metadata for higher-level stamped data types.\n\ 00087 # This is generally used to communicate timestamped data \n\ 00088 # in a particular coordinate frame.\n\ 00089 # \n\ 00090 # sequence ID: consecutively increasing ID \n\ 00091 uint32 seq\n\ 00092 #Two-integer timestamp that is expressed as:\n\ 00093 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00094 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00095 # time-handling sugar is provided by the client library\n\ 00096 time stamp\n\ 00097 #Frame this data is associated with\n\ 00098 # 0: no frame\n\ 00099 # 1: global frame\n\ 00100 string frame_id\n\ 00101 \n\ 00102 ================================================================================\n\ 00103 MSG: trajectory_msgs/JointTrajectoryPoint\n\ 00104 float64[] positions\n\ 00105 float64[] velocities\n\ 00106 float64[] accelerations\n\ 00107 duration time_from_start\n\ 00108 ================================================================================\n\ 00109 MSG: arm_navigation_msgs/MultiDOFJointTrajectory\n\ 00110 #A representation of a multi-dof joint trajectory\n\ 00111 duration stamp\n\ 00112 string[] joint_names\n\ 00113 string[] frame_ids\n\ 00114 string[] child_frame_ids\n\ 00115 MultiDOFJointTrajectoryPoint[] points\n\ 00116 \n\ 00117 ================================================================================\n\ 00118 MSG: arm_navigation_msgs/MultiDOFJointTrajectoryPoint\n\ 00119 geometry_msgs/Pose[] poses\n\ 00120 duration time_from_start\n\ 00121 ================================================================================\n\ 00122 MSG: geometry_msgs/Pose\n\ 00123 # A representation of pose in free space, composed of postion and orientation. \n\ 00124 Point position\n\ 00125 Quaternion orientation\n\ 00126 \n\ 00127 ================================================================================\n\ 00128 MSG: geometry_msgs/Point\n\ 00129 # This contains the position of a point in free space\n\ 00130 float64 x\n\ 00131 float64 y\n\ 00132 float64 z\n\ 00133 \n\ 00134 ================================================================================\n\ 00135 MSG: geometry_msgs/Quaternion\n\ 00136 # This represents an orientation in free space in quaternion form.\n\ 00137 \n\ 00138 float64 x\n\ 00139 float64 y\n\ 00140 float64 z\n\ 00141 float64 w\n\ 00142 \n\ 00143 ================================================================================\n\ 00144 MSG: arm_navigation_msgs/RobotState\n\ 00145 # This message contains information about the robot state, i.e. the positions of its joints and links\n\ 00146 sensor_msgs/JointState joint_state\n\ 00147 arm_navigation_msgs/MultiDOFJointState multi_dof_joint_state\n\ 00148 \n\ 00149 ================================================================================\n\ 00150 MSG: sensor_msgs/JointState\n\ 00151 # This is a message that holds data to describe the state of a set of torque controlled joints. \n\ 00152 #\n\ 00153 # The state of each joint (revolute or prismatic) is defined by:\n\ 00154 # * the position of the joint (rad or m),\n\ 00155 # * the velocity of the joint (rad/s or m/s) and \n\ 00156 # * the effort that is applied in the joint (Nm or N).\n\ 00157 #\n\ 00158 # Each joint is uniquely identified by its name\n\ 00159 # The header specifies the time at which the joint states were recorded. All the joint states\n\ 00160 # in one message have to be recorded at the same time.\n\ 00161 #\n\ 00162 # This message consists of a multiple arrays, one for each part of the joint state. \n\ 00163 # The goal is to make each of the fields optional. When e.g. your joints have no\n\ 00164 # effort associated with them, you can leave the effort array empty. \n\ 00165 #\n\ 00166 # All arrays in this message should have the same size, or be empty.\n\ 00167 # This is the only way to uniquely associate the joint name with the correct\n\ 00168 # states.\n\ 00169 \n\ 00170 \n\ 00171 Header header\n\ 00172 \n\ 00173 string[] name\n\ 00174 float64[] position\n\ 00175 float64[] velocity\n\ 00176 float64[] effort\n\ 00177 \n\ 00178 ================================================================================\n\ 00179 MSG: arm_navigation_msgs/MultiDOFJointState\n\ 00180 #A representation of a multi-dof joint state\n\ 00181 time stamp\n\ 00182 string[] joint_names\n\ 00183 string[] frame_ids\n\ 00184 string[] child_frame_ids\n\ 00185 geometry_msgs/Pose[] poses\n\ 00186 \n\ 00187 "; } 00188 public: 00189 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00190 00191 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00192 00193 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00194 { 00195 ros::serialization::OStream stream(write_ptr, 1000000000); 00196 ros::serialization::serialize(stream, model_id); 00197 ros::serialization::serialize(stream, trajectory); 00198 ros::serialization::serialize(stream, robot_state); 00199 return stream.getData(); 00200 } 00201 00202 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00203 { 00204 ros::serialization::IStream stream(read_ptr, 1000000000); 00205 ros::serialization::deserialize(stream, model_id); 00206 ros::serialization::deserialize(stream, trajectory); 00207 ros::serialization::deserialize(stream, robot_state); 00208 return stream.getData(); 00209 } 00210 00211 ROS_DEPRECATED virtual uint32_t serializationLength() const 00212 { 00213 uint32_t size = 0; 00214 size += ros::serialization::serializationLength(model_id); 00215 size += ros::serialization::serializationLength(trajectory); 00216 size += ros::serialization::serializationLength(robot_state); 00217 return size; 00218 } 00219 00220 typedef boost::shared_ptr< ::arm_navigation_msgs::DisplayTrajectory_<ContainerAllocator> > Ptr; 00221 typedef boost::shared_ptr< ::arm_navigation_msgs::DisplayTrajectory_<ContainerAllocator> const> ConstPtr; 00222 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00223 }; // struct DisplayTrajectory 00224 typedef ::arm_navigation_msgs::DisplayTrajectory_<std::allocator<void> > DisplayTrajectory; 00225 00226 typedef boost::shared_ptr< ::arm_navigation_msgs::DisplayTrajectory> DisplayTrajectoryPtr; 00227 typedef boost::shared_ptr< ::arm_navigation_msgs::DisplayTrajectory const> DisplayTrajectoryConstPtr; 00228 00229 00230 template<typename ContainerAllocator> 00231 std::ostream& operator<<(std::ostream& s, const ::arm_navigation_msgs::DisplayTrajectory_<ContainerAllocator> & v) 00232 { 00233 ros::message_operations::Printer< ::arm_navigation_msgs::DisplayTrajectory_<ContainerAllocator> >::stream(s, "", v); 00234 return s;} 00235 00236 } // namespace arm_navigation_msgs 00237 00238 namespace ros 00239 { 00240 namespace message_traits 00241 { 00242 template<class ContainerAllocator> struct IsMessage< ::arm_navigation_msgs::DisplayTrajectory_<ContainerAllocator> > : public TrueType {}; 00243 template<class ContainerAllocator> struct IsMessage< ::arm_navigation_msgs::DisplayTrajectory_<ContainerAllocator> const> : public TrueType {}; 00244 template<class ContainerAllocator> 00245 struct MD5Sum< ::arm_navigation_msgs::DisplayTrajectory_<ContainerAllocator> > { 00246 static const char* value() 00247 { 00248 return "382f217803665e4718c4edbac445582c"; 00249 } 00250 00251 static const char* value(const ::arm_navigation_msgs::DisplayTrajectory_<ContainerAllocator> &) { return value(); } 00252 static const uint64_t static_value1 = 0x382f217803665e47ULL; 00253 static const uint64_t static_value2 = 0x18c4edbac445582cULL; 00254 }; 00255 00256 template<class ContainerAllocator> 00257 struct DataType< ::arm_navigation_msgs::DisplayTrajectory_<ContainerAllocator> > { 00258 static const char* value() 00259 { 00260 return "arm_navigation_msgs/DisplayTrajectory"; 00261 } 00262 00263 static const char* value(const ::arm_navigation_msgs::DisplayTrajectory_<ContainerAllocator> &) { return value(); } 00264 }; 00265 00266 template<class ContainerAllocator> 00267 struct Definition< ::arm_navigation_msgs::DisplayTrajectory_<ContainerAllocator> > { 00268 static const char* value() 00269 { 00270 return "# The model id for which this path has been generated\n\ 00271 string model_id\n\ 00272 # The representation of the path contains position values for all the joints that are moving along the path\n\ 00273 arm_navigation_msgs/RobotTrajectory trajectory\n\ 00274 # The robot state is used to obtain positions for all/some of the joints of the robot. \n\ 00275 # It is used by the path display node to determine the positions of the joints that are not specified in the joint path message above. \n\ 00276 # If the robot state message contains joint position information for joints that are also mentioned in the joint path message, the positions in the joint path message will overwrite the positions specified in the robot state message. \n\ 00277 RobotState robot_state\n\ 00278 \n\ 00279 ================================================================================\n\ 00280 MSG: arm_navigation_msgs/RobotTrajectory\n\ 00281 trajectory_msgs/JointTrajectory joint_trajectory\n\ 00282 arm_navigation_msgs/MultiDOFJointTrajectory multi_dof_joint_trajectory\n\ 00283 \n\ 00284 ================================================================================\n\ 00285 MSG: trajectory_msgs/JointTrajectory\n\ 00286 Header header\n\ 00287 string[] joint_names\n\ 00288 JointTrajectoryPoint[] points\n\ 00289 ================================================================================\n\ 00290 MSG: std_msgs/Header\n\ 00291 # Standard metadata for higher-level stamped data types.\n\ 00292 # This is generally used to communicate timestamped data \n\ 00293 # in a particular coordinate frame.\n\ 00294 # \n\ 00295 # sequence ID: consecutively increasing ID \n\ 00296 uint32 seq\n\ 00297 #Two-integer timestamp that is expressed as:\n\ 00298 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00299 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00300 # time-handling sugar is provided by the client library\n\ 00301 time stamp\n\ 00302 #Frame this data is associated with\n\ 00303 # 0: no frame\n\ 00304 # 1: global frame\n\ 00305 string frame_id\n\ 00306 \n\ 00307 ================================================================================\n\ 00308 MSG: trajectory_msgs/JointTrajectoryPoint\n\ 00309 float64[] positions\n\ 00310 float64[] velocities\n\ 00311 float64[] accelerations\n\ 00312 duration time_from_start\n\ 00313 ================================================================================\n\ 00314 MSG: arm_navigation_msgs/MultiDOFJointTrajectory\n\ 00315 #A representation of a multi-dof joint trajectory\n\ 00316 duration stamp\n\ 00317 string[] joint_names\n\ 00318 string[] frame_ids\n\ 00319 string[] child_frame_ids\n\ 00320 MultiDOFJointTrajectoryPoint[] points\n\ 00321 \n\ 00322 ================================================================================\n\ 00323 MSG: arm_navigation_msgs/MultiDOFJointTrajectoryPoint\n\ 00324 geometry_msgs/Pose[] poses\n\ 00325 duration time_from_start\n\ 00326 ================================================================================\n\ 00327 MSG: geometry_msgs/Pose\n\ 00328 # A representation of pose in free space, composed of postion and orientation. \n\ 00329 Point position\n\ 00330 Quaternion orientation\n\ 00331 \n\ 00332 ================================================================================\n\ 00333 MSG: geometry_msgs/Point\n\ 00334 # This contains the position of a point in free space\n\ 00335 float64 x\n\ 00336 float64 y\n\ 00337 float64 z\n\ 00338 \n\ 00339 ================================================================================\n\ 00340 MSG: geometry_msgs/Quaternion\n\ 00341 # This represents an orientation in free space in quaternion form.\n\ 00342 \n\ 00343 float64 x\n\ 00344 float64 y\n\ 00345 float64 z\n\ 00346 float64 w\n\ 00347 \n\ 00348 ================================================================================\n\ 00349 MSG: arm_navigation_msgs/RobotState\n\ 00350 # This message contains information about the robot state, i.e. the positions of its joints and links\n\ 00351 sensor_msgs/JointState joint_state\n\ 00352 arm_navigation_msgs/MultiDOFJointState multi_dof_joint_state\n\ 00353 \n\ 00354 ================================================================================\n\ 00355 MSG: sensor_msgs/JointState\n\ 00356 # This is a message that holds data to describe the state of a set of torque controlled joints. \n\ 00357 #\n\ 00358 # The state of each joint (revolute or prismatic) is defined by:\n\ 00359 # * the position of the joint (rad or m),\n\ 00360 # * the velocity of the joint (rad/s or m/s) and \n\ 00361 # * the effort that is applied in the joint (Nm or N).\n\ 00362 #\n\ 00363 # Each joint is uniquely identified by its name\n\ 00364 # The header specifies the time at which the joint states were recorded. All the joint states\n\ 00365 # in one message have to be recorded at the same time.\n\ 00366 #\n\ 00367 # This message consists of a multiple arrays, one for each part of the joint state. \n\ 00368 # The goal is to make each of the fields optional. When e.g. your joints have no\n\ 00369 # effort associated with them, you can leave the effort array empty. \n\ 00370 #\n\ 00371 # All arrays in this message should have the same size, or be empty.\n\ 00372 # This is the only way to uniquely associate the joint name with the correct\n\ 00373 # states.\n\ 00374 \n\ 00375 \n\ 00376 Header header\n\ 00377 \n\ 00378 string[] name\n\ 00379 float64[] position\n\ 00380 float64[] velocity\n\ 00381 float64[] effort\n\ 00382 \n\ 00383 ================================================================================\n\ 00384 MSG: arm_navigation_msgs/MultiDOFJointState\n\ 00385 #A representation of a multi-dof joint state\n\ 00386 time stamp\n\ 00387 string[] joint_names\n\ 00388 string[] frame_ids\n\ 00389 string[] child_frame_ids\n\ 00390 geometry_msgs/Pose[] poses\n\ 00391 \n\ 00392 "; 00393 } 00394 00395 static const char* value(const ::arm_navigation_msgs::DisplayTrajectory_<ContainerAllocator> &) { return value(); } 00396 }; 00397 00398 } // namespace message_traits 00399 } // namespace ros 00400 00401 namespace ros 00402 { 00403 namespace serialization 00404 { 00405 00406 template<class ContainerAllocator> struct Serializer< ::arm_navigation_msgs::DisplayTrajectory_<ContainerAllocator> > 00407 { 00408 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00409 { 00410 stream.next(m.model_id); 00411 stream.next(m.trajectory); 00412 stream.next(m.robot_state); 00413 } 00414 00415 ROS_DECLARE_ALLINONE_SERIALIZER; 00416 }; // struct DisplayTrajectory_ 00417 } // namespace serialization 00418 } // namespace ros 00419 00420 namespace ros 00421 { 00422 namespace message_operations 00423 { 00424 00425 template<class ContainerAllocator> 00426 struct Printer< ::arm_navigation_msgs::DisplayTrajectory_<ContainerAllocator> > 00427 { 00428 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::arm_navigation_msgs::DisplayTrajectory_<ContainerAllocator> & v) 00429 { 00430 s << indent << "model_id: "; 00431 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.model_id); 00432 s << indent << "trajectory: "; 00433 s << std::endl; 00434 Printer< ::arm_navigation_msgs::RobotTrajectory_<ContainerAllocator> >::stream(s, indent + " ", v.trajectory); 00435 s << indent << "robot_state: "; 00436 s << std::endl; 00437 Printer< ::arm_navigation_msgs::RobotState_<ContainerAllocator> >::stream(s, indent + " ", v.robot_state); 00438 } 00439 }; 00440 00441 00442 } // namespace message_operations 00443 } // namespace ros 00444 00445 #endif // ARM_NAVIGATION_MSGS_MESSAGE_DISPLAYTRAJECTORY_H 00446