00001
00002 #ifndef PR2_CONTROLLERS_MSGS_MESSAGE_JOINTTRAJECTORYGOAL_H
00003 #define PR2_CONTROLLERS_MSGS_MESSAGE_JOINTTRAJECTORYGOAL_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 "trajectory_msgs/JointTrajectory.h"
00014
00015 namespace pr2_controllers_msgs
00016 {
00017 template <class ContainerAllocator>
00018 struct JointTrajectoryGoal_ : public ros::Message
00019 {
00020 typedef JointTrajectoryGoal_<ContainerAllocator> Type;
00021
00022 JointTrajectoryGoal_()
00023 : trajectory()
00024 {
00025 }
00026
00027 JointTrajectoryGoal_(const ContainerAllocator& _alloc)
00028 : trajectory(_alloc)
00029 {
00030 }
00031
00032 typedef ::trajectory_msgs::JointTrajectory_<ContainerAllocator> _trajectory_type;
00033 ::trajectory_msgs::JointTrajectory_<ContainerAllocator> trajectory;
00034
00035
00036 private:
00037 static const char* __s_getDataType_() { return "pr2_controllers_msgs/JointTrajectoryGoal"; }
00038 public:
00039 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }
00040
00041 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); }
00042
00043 private:
00044 static const char* __s_getMD5Sum_() { return "48a668811b715b51af6b3383511ae27f"; }
00045 public:
00046 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }
00047
00048 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); }
00049
00050 private:
00051 static const char* __s_getMessageDefinition_() { return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00052 trajectory_msgs/JointTrajectory trajectory\n\
00053 \n\
00054 ================================================================================\n\
00055 MSG: trajectory_msgs/JointTrajectory\n\
00056 Header header\n\
00057 string[] joint_names\n\
00058 JointTrajectoryPoint[] points\n\
00059 ================================================================================\n\
00060 MSG: std_msgs/Header\n\
00061 # Standard metadata for higher-level stamped data types.\n\
00062 # This is generally used to communicate timestamped data \n\
00063 # in a particular coordinate frame.\n\
00064 # \n\
00065 # sequence ID: consecutively increasing ID \n\
00066 uint32 seq\n\
00067 #Two-integer timestamp that is expressed as:\n\
00068 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00069 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00070 # time-handling sugar is provided by the client library\n\
00071 time stamp\n\
00072 #Frame this data is associated with\n\
00073 # 0: no frame\n\
00074 # 1: global frame\n\
00075 string frame_id\n\
00076 \n\
00077 ================================================================================\n\
00078 MSG: trajectory_msgs/JointTrajectoryPoint\n\
00079 float64[] positions\n\
00080 float64[] velocities\n\
00081 float64[] accelerations\n\
00082 duration time_from_start\n\
00083 "; }
00084 public:
00085 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00086
00087 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00088
00089 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00090 {
00091 ros::serialization::OStream stream(write_ptr, 1000000000);
00092 ros::serialization::serialize(stream, trajectory);
00093 return stream.getData();
00094 }
00095
00096 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00097 {
00098 ros::serialization::IStream stream(read_ptr, 1000000000);
00099 ros::serialization::deserialize(stream, trajectory);
00100 return stream.getData();
00101 }
00102
00103 ROS_DEPRECATED virtual uint32_t serializationLength() const
00104 {
00105 uint32_t size = 0;
00106 size += ros::serialization::serializationLength(trajectory);
00107 return size;
00108 }
00109
00110 typedef boost::shared_ptr< ::pr2_controllers_msgs::JointTrajectoryGoal_<ContainerAllocator> > Ptr;
00111 typedef boost::shared_ptr< ::pr2_controllers_msgs::JointTrajectoryGoal_<ContainerAllocator> const> ConstPtr;
00112 };
00113 typedef ::pr2_controllers_msgs::JointTrajectoryGoal_<std::allocator<void> > JointTrajectoryGoal;
00114
00115 typedef boost::shared_ptr< ::pr2_controllers_msgs::JointTrajectoryGoal> JointTrajectoryGoalPtr;
00116 typedef boost::shared_ptr< ::pr2_controllers_msgs::JointTrajectoryGoal const> JointTrajectoryGoalConstPtr;
00117
00118
00119 template<typename ContainerAllocator>
00120 std::ostream& operator<<(std::ostream& s, const ::pr2_controllers_msgs::JointTrajectoryGoal_<ContainerAllocator> & v)
00121 {
00122 ros::message_operations::Printer< ::pr2_controllers_msgs::JointTrajectoryGoal_<ContainerAllocator> >::stream(s, "", v);
00123 return s;}
00124
00125 }
00126
00127 namespace ros
00128 {
00129 namespace message_traits
00130 {
00131 template<class ContainerAllocator>
00132 struct MD5Sum< ::pr2_controllers_msgs::JointTrajectoryGoal_<ContainerAllocator> > {
00133 static const char* value()
00134 {
00135 return "48a668811b715b51af6b3383511ae27f";
00136 }
00137
00138 static const char* value(const ::pr2_controllers_msgs::JointTrajectoryGoal_<ContainerAllocator> &) { return value(); }
00139 static const uint64_t static_value1 = 0x48a668811b715b51ULL;
00140 static const uint64_t static_value2 = 0xaf6b3383511ae27fULL;
00141 };
00142
00143 template<class ContainerAllocator>
00144 struct DataType< ::pr2_controllers_msgs::JointTrajectoryGoal_<ContainerAllocator> > {
00145 static const char* value()
00146 {
00147 return "pr2_controllers_msgs/JointTrajectoryGoal";
00148 }
00149
00150 static const char* value(const ::pr2_controllers_msgs::JointTrajectoryGoal_<ContainerAllocator> &) { return value(); }
00151 };
00152
00153 template<class ContainerAllocator>
00154 struct Definition< ::pr2_controllers_msgs::JointTrajectoryGoal_<ContainerAllocator> > {
00155 static const char* value()
00156 {
00157 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00158 trajectory_msgs/JointTrajectory trajectory\n\
00159 \n\
00160 ================================================================================\n\
00161 MSG: trajectory_msgs/JointTrajectory\n\
00162 Header header\n\
00163 string[] joint_names\n\
00164 JointTrajectoryPoint[] points\n\
00165 ================================================================================\n\
00166 MSG: std_msgs/Header\n\
00167 # Standard metadata for higher-level stamped data types.\n\
00168 # This is generally used to communicate timestamped data \n\
00169 # in a particular coordinate frame.\n\
00170 # \n\
00171 # sequence ID: consecutively increasing ID \n\
00172 uint32 seq\n\
00173 #Two-integer timestamp that is expressed as:\n\
00174 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00175 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00176 # time-handling sugar is provided by the client library\n\
00177 time stamp\n\
00178 #Frame this data is associated with\n\
00179 # 0: no frame\n\
00180 # 1: global frame\n\
00181 string frame_id\n\
00182 \n\
00183 ================================================================================\n\
00184 MSG: trajectory_msgs/JointTrajectoryPoint\n\
00185 float64[] positions\n\
00186 float64[] velocities\n\
00187 float64[] accelerations\n\
00188 duration time_from_start\n\
00189 ";
00190 }
00191
00192 static const char* value(const ::pr2_controllers_msgs::JointTrajectoryGoal_<ContainerAllocator> &) { return value(); }
00193 };
00194
00195 }
00196 }
00197
00198 namespace ros
00199 {
00200 namespace serialization
00201 {
00202
00203 template<class ContainerAllocator> struct Serializer< ::pr2_controllers_msgs::JointTrajectoryGoal_<ContainerAllocator> >
00204 {
00205 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00206 {
00207 stream.next(m.trajectory);
00208 }
00209
00210 ROS_DECLARE_ALLINONE_SERIALIZER;
00211 };
00212 }
00213 }
00214
00215 namespace ros
00216 {
00217 namespace message_operations
00218 {
00219
00220 template<class ContainerAllocator>
00221 struct Printer< ::pr2_controllers_msgs::JointTrajectoryGoal_<ContainerAllocator> >
00222 {
00223 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::pr2_controllers_msgs::JointTrajectoryGoal_<ContainerAllocator> & v)
00224 {
00225 s << indent << "trajectory: ";
00226 s << std::endl;
00227 Printer< ::trajectory_msgs::JointTrajectory_<ContainerAllocator> >::stream(s, indent + " ", v.trajectory);
00228 }
00229 };
00230
00231
00232 }
00233 }
00234
00235 #endif // PR2_CONTROLLERS_MSGS_MESSAGE_JOINTTRAJECTORYGOAL_H
00236