JointTrajectoryWithLimits.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-arm_navigation/doc_stacks/2013-12-02_12-23-34.850326/arm_navigation/arm_navigation_msgs/msg/JointTrajectoryWithLimits.msg */
00002 #ifndef ARM_NAVIGATION_MSGS_MESSAGE_JOINTTRAJECTORYWITHLIMITS_H
00003 #define ARM_NAVIGATION_MSGS_MESSAGE_JOINTTRAJECTORYWITHLIMITS_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 #include "arm_navigation_msgs/JointLimits.h"
00019 
00020 namespace arm_navigation_msgs
00021 {
00022 template <class ContainerAllocator>
00023 struct JointTrajectoryWithLimits_ {
00024   typedef JointTrajectoryWithLimits_<ContainerAllocator> Type;
00025 
00026   JointTrajectoryWithLimits_()
00027   : trajectory()
00028   , limits()
00029   {
00030   }
00031 
00032   JointTrajectoryWithLimits_(const ContainerAllocator& _alloc)
00033   : trajectory(_alloc)
00034   , limits(_alloc)
00035   {
00036   }
00037 
00038   typedef  ::trajectory_msgs::JointTrajectory_<ContainerAllocator>  _trajectory_type;
00039    ::trajectory_msgs::JointTrajectory_<ContainerAllocator>  trajectory;
00040 
00041   typedef std::vector< ::arm_navigation_msgs::JointLimits_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::arm_navigation_msgs::JointLimits_<ContainerAllocator> >::other >  _limits_type;
00042   std::vector< ::arm_navigation_msgs::JointLimits_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::arm_navigation_msgs::JointLimits_<ContainerAllocator> >::other >  limits;
00043 
00044 
00045   typedef boost::shared_ptr< ::arm_navigation_msgs::JointTrajectoryWithLimits_<ContainerAllocator> > Ptr;
00046   typedef boost::shared_ptr< ::arm_navigation_msgs::JointTrajectoryWithLimits_<ContainerAllocator>  const> ConstPtr;
00047   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00048 }; // struct JointTrajectoryWithLimits
00049 typedef  ::arm_navigation_msgs::JointTrajectoryWithLimits_<std::allocator<void> > JointTrajectoryWithLimits;
00050 
00051 typedef boost::shared_ptr< ::arm_navigation_msgs::JointTrajectoryWithLimits> JointTrajectoryWithLimitsPtr;
00052 typedef boost::shared_ptr< ::arm_navigation_msgs::JointTrajectoryWithLimits const> JointTrajectoryWithLimitsConstPtr;
00053 
00054 
00055 template<typename ContainerAllocator>
00056 std::ostream& operator<<(std::ostream& s, const  ::arm_navigation_msgs::JointTrajectoryWithLimits_<ContainerAllocator> & v)
00057 {
00058   ros::message_operations::Printer< ::arm_navigation_msgs::JointTrajectoryWithLimits_<ContainerAllocator> >::stream(s, "", v);
00059   return s;}
00060 
00061 } // namespace arm_navigation_msgs
00062 
00063 namespace ros
00064 {
00065 namespace message_traits
00066 {
00067 template<class ContainerAllocator> struct IsMessage< ::arm_navigation_msgs::JointTrajectoryWithLimits_<ContainerAllocator> > : public TrueType {};
00068 template<class ContainerAllocator> struct IsMessage< ::arm_navigation_msgs::JointTrajectoryWithLimits_<ContainerAllocator>  const> : public TrueType {};
00069 template<class ContainerAllocator>
00070 struct MD5Sum< ::arm_navigation_msgs::JointTrajectoryWithLimits_<ContainerAllocator> > {
00071   static const char* value() 
00072   {
00073     return "e31e1ba1b3409bbb645c8dfcca5935cd";
00074   }
00075 
00076   static const char* value(const  ::arm_navigation_msgs::JointTrajectoryWithLimits_<ContainerAllocator> &) { return value(); } 
00077   static const uint64_t static_value1 = 0xe31e1ba1b3409bbbULL;
00078   static const uint64_t static_value2 = 0x645c8dfcca5935cdULL;
00079 };
00080 
00081 template<class ContainerAllocator>
00082 struct DataType< ::arm_navigation_msgs::JointTrajectoryWithLimits_<ContainerAllocator> > {
00083   static const char* value() 
00084   {
00085     return "arm_navigation_msgs/JointTrajectoryWithLimits";
00086   }
00087 
00088   static const char* value(const  ::arm_navigation_msgs::JointTrajectoryWithLimits_<ContainerAllocator> &) { return value(); } 
00089 };
00090 
00091 template<class ContainerAllocator>
00092 struct Definition< ::arm_navigation_msgs::JointTrajectoryWithLimits_<ContainerAllocator> > {
00093   static const char* value() 
00094   {
00095     return "# A trajectory message that encodes joint limits within it.\n\
00096 trajectory_msgs/JointTrajectory trajectory\n\
00097 \n\
00098 # A vector of JointLimit messages.\n\
00099 # Each message contains the limits for a specific joint\n\
00100 arm_navigation_msgs/JointLimits[] limits\n\
00101 \n\
00102 ================================================================================\n\
00103 MSG: trajectory_msgs/JointTrajectory\n\
00104 Header header\n\
00105 string[] joint_names\n\
00106 JointTrajectoryPoint[] points\n\
00107 ================================================================================\n\
00108 MSG: std_msgs/Header\n\
00109 # Standard metadata for higher-level stamped data types.\n\
00110 # This is generally used to communicate timestamped data \n\
00111 # in a particular coordinate frame.\n\
00112 # \n\
00113 # sequence ID: consecutively increasing ID \n\
00114 uint32 seq\n\
00115 #Two-integer timestamp that is expressed as:\n\
00116 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00117 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00118 # time-handling sugar is provided by the client library\n\
00119 time stamp\n\
00120 #Frame this data is associated with\n\
00121 # 0: no frame\n\
00122 # 1: global frame\n\
00123 string frame_id\n\
00124 \n\
00125 ================================================================================\n\
00126 MSG: trajectory_msgs/JointTrajectoryPoint\n\
00127 float64[] positions\n\
00128 float64[] velocities\n\
00129 float64[] accelerations\n\
00130 duration time_from_start\n\
00131 ================================================================================\n\
00132 MSG: arm_navigation_msgs/JointLimits\n\
00133 # This message contains information about limits of a particular joint (or control dimension)\n\
00134 string joint_name\n\
00135 \n\
00136 # true if the joint has position limits\n\
00137 bool has_position_limits\n\
00138 \n\
00139 # min and max position limits\n\
00140 float64 min_position\n\
00141 float64 max_position\n\
00142 \n\
00143 # true if joint has velocity limits\n\
00144 bool has_velocity_limits\n\
00145 \n\
00146 # max velocity limit\n\
00147 float64 max_velocity\n\
00148 # min_velocity is assumed to be -max_velocity\n\
00149 \n\
00150 # true if joint has acceleration limits\n\
00151 bool has_acceleration_limits\n\
00152 # max acceleration limit\n\
00153 float64 max_acceleration\n\
00154 # min_acceleration is assumed to be -max_acceleration\n\
00155 \n\
00156 ";
00157   }
00158 
00159   static const char* value(const  ::arm_navigation_msgs::JointTrajectoryWithLimits_<ContainerAllocator> &) { return value(); } 
00160 };
00161 
00162 } // namespace message_traits
00163 } // namespace ros
00164 
00165 namespace ros
00166 {
00167 namespace serialization
00168 {
00169 
00170 template<class ContainerAllocator> struct Serializer< ::arm_navigation_msgs::JointTrajectoryWithLimits_<ContainerAllocator> >
00171 {
00172   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00173   {
00174     stream.next(m.trajectory);
00175     stream.next(m.limits);
00176   }
00177 
00178   ROS_DECLARE_ALLINONE_SERIALIZER;
00179 }; // struct JointTrajectoryWithLimits_
00180 } // namespace serialization
00181 } // namespace ros
00182 
00183 namespace ros
00184 {
00185 namespace message_operations
00186 {
00187 
00188 template<class ContainerAllocator>
00189 struct Printer< ::arm_navigation_msgs::JointTrajectoryWithLimits_<ContainerAllocator> >
00190 {
00191   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::arm_navigation_msgs::JointTrajectoryWithLimits_<ContainerAllocator> & v) 
00192   {
00193     s << indent << "trajectory: ";
00194 s << std::endl;
00195     Printer< ::trajectory_msgs::JointTrajectory_<ContainerAllocator> >::stream(s, indent + "  ", v.trajectory);
00196     s << indent << "limits[]" << std::endl;
00197     for (size_t i = 0; i < v.limits.size(); ++i)
00198     {
00199       s << indent << "  limits[" << i << "]: ";
00200       s << std::endl;
00201       s << indent;
00202       Printer< ::arm_navigation_msgs::JointLimits_<ContainerAllocator> >::stream(s, indent + "    ", v.limits[i]);
00203     }
00204   }
00205 };
00206 
00207 
00208 } // namespace message_operations
00209 } // namespace ros
00210 
00211 #endif // ARM_NAVIGATION_MSGS_MESSAGE_JOINTTRAJECTORYWITHLIMITS_H
00212 


arm_navigation_msgs
Author(s): Gil Jones
autogenerated on Mon Dec 2 2013 12:31:51