Go to the documentation of this file.00001
00002 #ifndef NAO_MSGS_MESSAGE_JOINTTRAJECTORYRESULT_H
00003 #define NAO_MSGS_MESSAGE_JOINTTRAJECTORYRESULT_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 "sensor_msgs/JointState.h"
00018
00019 namespace nao_msgs
00020 {
00021 template <class ContainerAllocator>
00022 struct JointTrajectoryResult_ {
00023 typedef JointTrajectoryResult_<ContainerAllocator> Type;
00024
00025 JointTrajectoryResult_()
00026 : goal_position()
00027 {
00028 }
00029
00030 JointTrajectoryResult_(const ContainerAllocator& _alloc)
00031 : goal_position(_alloc)
00032 {
00033 }
00034
00035 typedef ::sensor_msgs::JointState_<ContainerAllocator> _goal_position_type;
00036 ::sensor_msgs::JointState_<ContainerAllocator> goal_position;
00037
00038
00039 typedef boost::shared_ptr< ::nao_msgs::JointTrajectoryResult_<ContainerAllocator> > Ptr;
00040 typedef boost::shared_ptr< ::nao_msgs::JointTrajectoryResult_<ContainerAllocator> const> ConstPtr;
00041 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00042 };
00043 typedef ::nao_msgs::JointTrajectoryResult_<std::allocator<void> > JointTrajectoryResult;
00044
00045 typedef boost::shared_ptr< ::nao_msgs::JointTrajectoryResult> JointTrajectoryResultPtr;
00046 typedef boost::shared_ptr< ::nao_msgs::JointTrajectoryResult const> JointTrajectoryResultConstPtr;
00047
00048
00049 template<typename ContainerAllocator>
00050 std::ostream& operator<<(std::ostream& s, const ::nao_msgs::JointTrajectoryResult_<ContainerAllocator> & v)
00051 {
00052 ros::message_operations::Printer< ::nao_msgs::JointTrajectoryResult_<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< ::nao_msgs::JointTrajectoryResult_<ContainerAllocator> > : public TrueType {};
00062 template<class ContainerAllocator> struct IsMessage< ::nao_msgs::JointTrajectoryResult_<ContainerAllocator> const> : public TrueType {};
00063 template<class ContainerAllocator>
00064 struct MD5Sum< ::nao_msgs::JointTrajectoryResult_<ContainerAllocator> > {
00065 static const char* value()
00066 {
00067 return "1c77b3d9dc137611510fd16c3b792046";
00068 }
00069
00070 static const char* value(const ::nao_msgs::JointTrajectoryResult_<ContainerAllocator> &) { return value(); }
00071 static const uint64_t static_value1 = 0x1c77b3d9dc137611ULL;
00072 static const uint64_t static_value2 = 0x510fd16c3b792046ULL;
00073 };
00074
00075 template<class ContainerAllocator>
00076 struct DataType< ::nao_msgs::JointTrajectoryResult_<ContainerAllocator> > {
00077 static const char* value()
00078 {
00079 return "nao_msgs/JointTrajectoryResult";
00080 }
00081
00082 static const char* value(const ::nao_msgs::JointTrajectoryResult_<ContainerAllocator> &) { return value(); }
00083 };
00084
00085 template<class ContainerAllocator>
00086 struct Definition< ::nao_msgs::JointTrajectoryResult_<ContainerAllocator> > {
00087 static const char* value()
00088 {
00089 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00090 # result is the actually reached position\n\
00091 sensor_msgs/JointState goal_position\n\
00092 \n\
00093 ================================================================================\n\
00094 MSG: sensor_msgs/JointState\n\
00095 # This is a message that holds data to describe the state of a set of torque controlled joints. \n\
00096 #\n\
00097 # The state of each joint (revolute or prismatic) is defined by:\n\
00098 # * the position of the joint (rad or m),\n\
00099 # * the velocity of the joint (rad/s or m/s) and \n\
00100 # * the effort that is applied in the joint (Nm or N).\n\
00101 #\n\
00102 # Each joint is uniquely identified by its name\n\
00103 # The header specifies the time at which the joint states were recorded. All the joint states\n\
00104 # in one message have to be recorded at the same time.\n\
00105 #\n\
00106 # This message consists of a multiple arrays, one for each part of the joint state. \n\
00107 # The goal is to make each of the fields optional. When e.g. your joints have no\n\
00108 # effort associated with them, you can leave the effort array empty. \n\
00109 #\n\
00110 # All arrays in this message should have the same size, or be empty.\n\
00111 # This is the only way to uniquely associate the joint name with the correct\n\
00112 # states.\n\
00113 \n\
00114 \n\
00115 Header header\n\
00116 \n\
00117 string[] name\n\
00118 float64[] position\n\
00119 float64[] velocity\n\
00120 float64[] effort\n\
00121 \n\
00122 ================================================================================\n\
00123 MSG: std_msgs/Header\n\
00124 # Standard metadata for higher-level stamped data types.\n\
00125 # This is generally used to communicate timestamped data \n\
00126 # in a particular coordinate frame.\n\
00127 # \n\
00128 # sequence ID: consecutively increasing ID \n\
00129 uint32 seq\n\
00130 #Two-integer timestamp that is expressed as:\n\
00131 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00132 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00133 # time-handling sugar is provided by the client library\n\
00134 time stamp\n\
00135 #Frame this data is associated with\n\
00136 # 0: no frame\n\
00137 # 1: global frame\n\
00138 string frame_id\n\
00139 \n\
00140 ";
00141 }
00142
00143 static const char* value(const ::nao_msgs::JointTrajectoryResult_<ContainerAllocator> &) { return value(); }
00144 };
00145
00146 }
00147 }
00148
00149 namespace ros
00150 {
00151 namespace serialization
00152 {
00153
00154 template<class ContainerAllocator> struct Serializer< ::nao_msgs::JointTrajectoryResult_<ContainerAllocator> >
00155 {
00156 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00157 {
00158 stream.next(m.goal_position);
00159 }
00160
00161 ROS_DECLARE_ALLINONE_SERIALIZER;
00162 };
00163 }
00164 }
00165
00166 namespace ros
00167 {
00168 namespace message_operations
00169 {
00170
00171 template<class ContainerAllocator>
00172 struct Printer< ::nao_msgs::JointTrajectoryResult_<ContainerAllocator> >
00173 {
00174 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::nao_msgs::JointTrajectoryResult_<ContainerAllocator> & v)
00175 {
00176 s << indent << "goal_position: ";
00177 s << std::endl;
00178 Printer< ::sensor_msgs::JointState_<ContainerAllocator> >::stream(s, indent + " ", v.goal_position);
00179 }
00180 };
00181
00182
00183 }
00184 }
00185
00186 #endif // NAO_MSGS_MESSAGE_JOINTTRAJECTORYRESULT_H
00187