Go to the documentation of this file.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 <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
00019 namespace pr2_controllers_msgs
00020 {
00021 template <class ContainerAllocator>
00022 struct JointTrajectoryGoal_ {
00023 typedef JointTrajectoryGoal_<ContainerAllocator> Type;
00024
00025 JointTrajectoryGoal_()
00026 : trajectory()
00027 {
00028 }
00029
00030 JointTrajectoryGoal_(const ContainerAllocator& _alloc)
00031 : trajectory(_alloc)
00032 {
00033 }
00034
00035 typedef ::trajectory_msgs::JointTrajectory_<ContainerAllocator> _trajectory_type;
00036 ::trajectory_msgs::JointTrajectory_<ContainerAllocator> trajectory;
00037
00038
00039 typedef boost::shared_ptr< ::pr2_controllers_msgs::JointTrajectoryGoal_<ContainerAllocator> > Ptr;
00040 typedef boost::shared_ptr< ::pr2_controllers_msgs::JointTrajectoryGoal_<ContainerAllocator> const> ConstPtr;
00041 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00042 };
00043 typedef ::pr2_controllers_msgs::JointTrajectoryGoal_<std::allocator<void> > JointTrajectoryGoal;
00044
00045 typedef boost::shared_ptr< ::pr2_controllers_msgs::JointTrajectoryGoal> JointTrajectoryGoalPtr;
00046 typedef boost::shared_ptr< ::pr2_controllers_msgs::JointTrajectoryGoal const> JointTrajectoryGoalConstPtr;
00047
00048
00049 template<typename ContainerAllocator>
00050 std::ostream& operator<<(std::ostream& s, const ::pr2_controllers_msgs::JointTrajectoryGoal_<ContainerAllocator> & v)
00051 {
00052 ros::message_operations::Printer< ::pr2_controllers_msgs::JointTrajectoryGoal_<ContainerAllocator> >::stream(s, "", v);
00053 return s;}
00054
00055 }
00056
00057 namespace ros
00058 {
00059 namespace message_traits
00060 {
00061 template<class ContainerAllocator> struct IsMessage< ::pr2_controllers_msgs::JointTrajectoryGoal_<ContainerAllocator> > : public TrueType {};
00062 template<class ContainerAllocator> struct IsMessage< ::pr2_controllers_msgs::JointTrajectoryGoal_<ContainerAllocator> const> : public TrueType {};
00063 template<class ContainerAllocator>
00064 struct MD5Sum< ::pr2_controllers_msgs::JointTrajectoryGoal_<ContainerAllocator> > {
00065 static const char* value()
00066 {
00067 return "48a668811b715b51af6b3383511ae27f";
00068 }
00069
00070 static const char* value(const ::pr2_controllers_msgs::JointTrajectoryGoal_<ContainerAllocator> &) { return value(); }
00071 static const uint64_t static_value1 = 0x48a668811b715b51ULL;
00072 static const uint64_t static_value2 = 0xaf6b3383511ae27fULL;
00073 };
00074
00075 template<class ContainerAllocator>
00076 struct DataType< ::pr2_controllers_msgs::JointTrajectoryGoal_<ContainerAllocator> > {
00077 static const char* value()
00078 {
00079 return "pr2_controllers_msgs/JointTrajectoryGoal";
00080 }
00081
00082 static const char* value(const ::pr2_controllers_msgs::JointTrajectoryGoal_<ContainerAllocator> &) { return value(); }
00083 };
00084
00085 template<class ContainerAllocator>
00086 struct Definition< ::pr2_controllers_msgs::JointTrajectoryGoal_<ContainerAllocator> > {
00087 static const char* value()
00088 {
00089 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00090 trajectory_msgs/JointTrajectory trajectory\n\
00091 \n\
00092 ================================================================================\n\
00093 MSG: trajectory_msgs/JointTrajectory\n\
00094 Header header\n\
00095 string[] joint_names\n\
00096 JointTrajectoryPoint[] points\n\
00097 ================================================================================\n\
00098 MSG: std_msgs/Header\n\
00099 # Standard metadata for higher-level stamped data types.\n\
00100 # This is generally used to communicate timestamped data \n\
00101 # in a particular coordinate frame.\n\
00102 # \n\
00103 # sequence ID: consecutively increasing ID \n\
00104 uint32 seq\n\
00105 #Two-integer timestamp that is expressed as:\n\
00106 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00107 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00108 # time-handling sugar is provided by the client library\n\
00109 time stamp\n\
00110 #Frame this data is associated with\n\
00111 # 0: no frame\n\
00112 # 1: global frame\n\
00113 string frame_id\n\
00114 \n\
00115 ================================================================================\n\
00116 MSG: trajectory_msgs/JointTrajectoryPoint\n\
00117 float64[] positions\n\
00118 float64[] velocities\n\
00119 float64[] accelerations\n\
00120 duration time_from_start\n\
00121 ";
00122 }
00123
00124 static const char* value(const ::pr2_controllers_msgs::JointTrajectoryGoal_<ContainerAllocator> &) { return value(); }
00125 };
00126
00127 }
00128 }
00129
00130 namespace ros
00131 {
00132 namespace serialization
00133 {
00134
00135 template<class ContainerAllocator> struct Serializer< ::pr2_controllers_msgs::JointTrajectoryGoal_<ContainerAllocator> >
00136 {
00137 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00138 {
00139 stream.next(m.trajectory);
00140 }
00141
00142 ROS_DECLARE_ALLINONE_SERIALIZER;
00143 };
00144 }
00145 }
00146
00147 namespace ros
00148 {
00149 namespace message_operations
00150 {
00151
00152 template<class ContainerAllocator>
00153 struct Printer< ::pr2_controllers_msgs::JointTrajectoryGoal_<ContainerAllocator> >
00154 {
00155 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::pr2_controllers_msgs::JointTrajectoryGoal_<ContainerAllocator> & v)
00156 {
00157 s << indent << "trajectory: ";
00158 s << std::endl;
00159 Printer< ::trajectory_msgs::JointTrajectory_<ContainerAllocator> >::stream(s, indent + " ", v.trajectory);
00160 }
00161 };
00162
00163
00164 }
00165 }
00166
00167 #endif // PR2_CONTROLLERS_MSGS_MESSAGE_JOINTTRAJECTORYGOAL_H
00168