Go to the documentation of this file.00001
00002 #ifndef NAO_MSGS_MESSAGE_JOINTANGLESWITHSPEEDGOAL_H
00003 #define NAO_MSGS_MESSAGE_JOINTANGLESWITHSPEEDGOAL_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 "nao_msgs/JointAnglesWithSpeed.h"
00018
00019 namespace nao_msgs
00020 {
00021 template <class ContainerAllocator>
00022 struct JointAnglesWithSpeedGoal_ {
00023 typedef JointAnglesWithSpeedGoal_<ContainerAllocator> Type;
00024
00025 JointAnglesWithSpeedGoal_()
00026 : joint_angles()
00027 {
00028 }
00029
00030 JointAnglesWithSpeedGoal_(const ContainerAllocator& _alloc)
00031 : joint_angles(_alloc)
00032 {
00033 }
00034
00035 typedef ::nao_msgs::JointAnglesWithSpeed_<ContainerAllocator> _joint_angles_type;
00036 ::nao_msgs::JointAnglesWithSpeed_<ContainerAllocator> joint_angles;
00037
00038
00039 typedef boost::shared_ptr< ::nao_msgs::JointAnglesWithSpeedGoal_<ContainerAllocator> > Ptr;
00040 typedef boost::shared_ptr< ::nao_msgs::JointAnglesWithSpeedGoal_<ContainerAllocator> const> ConstPtr;
00041 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00042 };
00043 typedef ::nao_msgs::JointAnglesWithSpeedGoal_<std::allocator<void> > JointAnglesWithSpeedGoal;
00044
00045 typedef boost::shared_ptr< ::nao_msgs::JointAnglesWithSpeedGoal> JointAnglesWithSpeedGoalPtr;
00046 typedef boost::shared_ptr< ::nao_msgs::JointAnglesWithSpeedGoal const> JointAnglesWithSpeedGoalConstPtr;
00047
00048
00049 template<typename ContainerAllocator>
00050 std::ostream& operator<<(std::ostream& s, const ::nao_msgs::JointAnglesWithSpeedGoal_<ContainerAllocator> & v)
00051 {
00052 ros::message_operations::Printer< ::nao_msgs::JointAnglesWithSpeedGoal_<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::JointAnglesWithSpeedGoal_<ContainerAllocator> > : public TrueType {};
00062 template<class ContainerAllocator> struct IsMessage< ::nao_msgs::JointAnglesWithSpeedGoal_<ContainerAllocator> const> : public TrueType {};
00063 template<class ContainerAllocator>
00064 struct MD5Sum< ::nao_msgs::JointAnglesWithSpeedGoal_<ContainerAllocator> > {
00065 static const char* value()
00066 {
00067 return "d19a898a40aae87b37b0f91c9e90f46c";
00068 }
00069
00070 static const char* value(const ::nao_msgs::JointAnglesWithSpeedGoal_<ContainerAllocator> &) { return value(); }
00071 static const uint64_t static_value1 = 0xd19a898a40aae87bULL;
00072 static const uint64_t static_value2 = 0x37b0f91c9e90f46cULL;
00073 };
00074
00075 template<class ContainerAllocator>
00076 struct DataType< ::nao_msgs::JointAnglesWithSpeedGoal_<ContainerAllocator> > {
00077 static const char* value()
00078 {
00079 return "nao_msgs/JointAnglesWithSpeedGoal";
00080 }
00081
00082 static const char* value(const ::nao_msgs::JointAnglesWithSpeedGoal_<ContainerAllocator> &) { return value(); }
00083 };
00084
00085 template<class ContainerAllocator>
00086 struct Definition< ::nao_msgs::JointAnglesWithSpeedGoal_<ContainerAllocator> > {
00087 static const char* value()
00088 {
00089 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00090 # goal: a registered body pose name\n\
00091 nao_msgs/JointAnglesWithSpeed joint_angles\n\
00092 \n\
00093 ================================================================================\n\
00094 MSG: nao_msgs/JointAnglesWithSpeed\n\
00095 Header header\n\
00096 \n\
00097 # A list of joint names, corresponding to their names in the Nao docs.\n\
00098 # This must be either the same lenght of joint_angles or 1 if it's a\n\
00099 # keyword such as 'Body' (for all angles)\n\
00100 string[] joint_names\n\
00101 float32[] joint_angles\n\
00102 \n\
00103 #fraction of max joint velocity [0:1]\n\
00104 float32 speed\n\
00105 \n\
00106 # Absolute angle(=0, default) or relative change\n\
00107 uint8 relative\n\
00108 \n\
00109 ================================================================================\n\
00110 MSG: std_msgs/Header\n\
00111 # Standard metadata for higher-level stamped data types.\n\
00112 # This is generally used to communicate timestamped data \n\
00113 # in a particular coordinate frame.\n\
00114 # \n\
00115 # sequence ID: consecutively increasing ID \n\
00116 uint32 seq\n\
00117 #Two-integer timestamp that is expressed as:\n\
00118 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00119 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00120 # time-handling sugar is provided by the client library\n\
00121 time stamp\n\
00122 #Frame this data is associated with\n\
00123 # 0: no frame\n\
00124 # 1: global frame\n\
00125 string frame_id\n\
00126 \n\
00127 ";
00128 }
00129
00130 static const char* value(const ::nao_msgs::JointAnglesWithSpeedGoal_<ContainerAllocator> &) { return value(); }
00131 };
00132
00133 }
00134 }
00135
00136 namespace ros
00137 {
00138 namespace serialization
00139 {
00140
00141 template<class ContainerAllocator> struct Serializer< ::nao_msgs::JointAnglesWithSpeedGoal_<ContainerAllocator> >
00142 {
00143 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00144 {
00145 stream.next(m.joint_angles);
00146 }
00147
00148 ROS_DECLARE_ALLINONE_SERIALIZER;
00149 };
00150 }
00151 }
00152
00153 namespace ros
00154 {
00155 namespace message_operations
00156 {
00157
00158 template<class ContainerAllocator>
00159 struct Printer< ::nao_msgs::JointAnglesWithSpeedGoal_<ContainerAllocator> >
00160 {
00161 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::nao_msgs::JointAnglesWithSpeedGoal_<ContainerAllocator> & v)
00162 {
00163 s << indent << "joint_angles: ";
00164 s << std::endl;
00165 Printer< ::nao_msgs::JointAnglesWithSpeed_<ContainerAllocator> >::stream(s, indent + " ", v.joint_angles);
00166 }
00167 };
00168
00169
00170 }
00171 }
00172
00173 #endif // NAO_MSGS_MESSAGE_JOINTANGLESWITHSPEEDGOAL_H
00174