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