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