MoveArmStatistics.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-arm_navigation/doc_stacks/2013-12-12_11-02-12.519893/arm_navigation/arm_navigation_msgs/msg/MoveArmStatistics.msg */
00002 #ifndef ARM_NAVIGATION_MSGS_MESSAGE_MOVEARMSTATISTICS_H
00003 #define ARM_NAVIGATION_MSGS_MESSAGE_MOVEARMSTATISTICS_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 "arm_navigation_msgs/ArmNavigationErrorCodes.h"
00018 
00019 namespace arm_navigation_msgs
00020 {
00021 template <class ContainerAllocator>
00022 struct MoveArmStatistics_ {
00023   typedef MoveArmStatistics_<ContainerAllocator> Type;
00024 
00025   MoveArmStatistics_()
00026   : request_id(0)
00027   , result()
00028   , error_code()
00029   , planning_time(0.0)
00030   , smoothing_time(0.0)
00031   , ik_time(0.0)
00032   , time_to_execution(0.0)
00033   , time_to_result(0.0)
00034   , preempted(false)
00035   , num_replans(0.0)
00036   , trajectory_duration(0.0)
00037   , planner_service_name()
00038   {
00039   }
00040 
00041   MoveArmStatistics_(const ContainerAllocator& _alloc)
00042   : request_id(0)
00043   , result(_alloc)
00044   , error_code(_alloc)
00045   , planning_time(0.0)
00046   , smoothing_time(0.0)
00047   , ik_time(0.0)
00048   , time_to_execution(0.0)
00049   , time_to_result(0.0)
00050   , preempted(false)
00051   , num_replans(0.0)
00052   , trajectory_duration(0.0)
00053   , planner_service_name(_alloc)
00054   {
00055   }
00056 
00057   typedef int32_t _request_id_type;
00058   int32_t request_id;
00059 
00060   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _result_type;
00061   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  result;
00062 
00063   typedef  ::arm_navigation_msgs::ArmNavigationErrorCodes_<ContainerAllocator>  _error_code_type;
00064    ::arm_navigation_msgs::ArmNavigationErrorCodes_<ContainerAllocator>  error_code;
00065 
00066   typedef double _planning_time_type;
00067   double planning_time;
00068 
00069   typedef double _smoothing_time_type;
00070   double smoothing_time;
00071 
00072   typedef double _ik_time_type;
00073   double ik_time;
00074 
00075   typedef double _time_to_execution_type;
00076   double time_to_execution;
00077 
00078   typedef double _time_to_result_type;
00079   double time_to_result;
00080 
00081   typedef uint8_t _preempted_type;
00082   uint8_t preempted;
00083 
00084   typedef double _num_replans_type;
00085   double num_replans;
00086 
00087   typedef double _trajectory_duration_type;
00088   double trajectory_duration;
00089 
00090   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _planner_service_name_type;
00091   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  planner_service_name;
00092 
00093 
00094   typedef boost::shared_ptr< ::arm_navigation_msgs::MoveArmStatistics_<ContainerAllocator> > Ptr;
00095   typedef boost::shared_ptr< ::arm_navigation_msgs::MoveArmStatistics_<ContainerAllocator>  const> ConstPtr;
00096   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00097 }; // struct MoveArmStatistics
00098 typedef  ::arm_navigation_msgs::MoveArmStatistics_<std::allocator<void> > MoveArmStatistics;
00099 
00100 typedef boost::shared_ptr< ::arm_navigation_msgs::MoveArmStatistics> MoveArmStatisticsPtr;
00101 typedef boost::shared_ptr< ::arm_navigation_msgs::MoveArmStatistics const> MoveArmStatisticsConstPtr;
00102 
00103 
00104 template<typename ContainerAllocator>
00105 std::ostream& operator<<(std::ostream& s, const  ::arm_navigation_msgs::MoveArmStatistics_<ContainerAllocator> & v)
00106 {
00107   ros::message_operations::Printer< ::arm_navigation_msgs::MoveArmStatistics_<ContainerAllocator> >::stream(s, "", v);
00108   return s;}
00109 
00110 } // namespace arm_navigation_msgs
00111 
00112 namespace ros
00113 {
00114 namespace message_traits
00115 {
00116 template<class ContainerAllocator> struct IsMessage< ::arm_navigation_msgs::MoveArmStatistics_<ContainerAllocator> > : public TrueType {};
00117 template<class ContainerAllocator> struct IsMessage< ::arm_navigation_msgs::MoveArmStatistics_<ContainerAllocator>  const> : public TrueType {};
00118 template<class ContainerAllocator>
00119 struct MD5Sum< ::arm_navigation_msgs::MoveArmStatistics_<ContainerAllocator> > {
00120   static const char* value() 
00121   {
00122     return "d83dee1348791a0d1414257b41bc161f";
00123   }
00124 
00125   static const char* value(const  ::arm_navigation_msgs::MoveArmStatistics_<ContainerAllocator> &) { return value(); } 
00126   static const uint64_t static_value1 = 0xd83dee1348791a0dULL;
00127   static const uint64_t static_value2 = 0x1414257b41bc161fULL;
00128 };
00129 
00130 template<class ContainerAllocator>
00131 struct DataType< ::arm_navigation_msgs::MoveArmStatistics_<ContainerAllocator> > {
00132   static const char* value() 
00133   {
00134     return "arm_navigation_msgs/MoveArmStatistics";
00135   }
00136 
00137   static const char* value(const  ::arm_navigation_msgs::MoveArmStatistics_<ContainerAllocator> &) { return value(); } 
00138 };
00139 
00140 template<class ContainerAllocator>
00141 struct Definition< ::arm_navigation_msgs::MoveArmStatistics_<ContainerAllocator> > {
00142   static const char* value() 
00143   {
00144     return "int32 request_id\n\
00145 string result\n\
00146 arm_navigation_msgs/ArmNavigationErrorCodes error_code\n\
00147 \n\
00148 float64 planning_time\n\
00149 float64 smoothing_time\n\
00150 float64 ik_time\n\
00151 float64 time_to_execution\n\
00152 float64 time_to_result\n\
00153 \n\
00154 bool preempted\n\
00155 \n\
00156 float64 num_replans\n\
00157 float64 trajectory_duration\n\
00158 \n\
00159 string planner_service_name\n\
00160 \n\
00161 ================================================================================\n\
00162 MSG: arm_navigation_msgs/ArmNavigationErrorCodes\n\
00163 int32 val\n\
00164 \n\
00165 # overall behavior\n\
00166 int32 PLANNING_FAILED=-1\n\
00167 int32 SUCCESS=1\n\
00168 int32 TIMED_OUT=-2\n\
00169 \n\
00170 # start state errors\n\
00171 int32 START_STATE_IN_COLLISION=-3\n\
00172 int32 START_STATE_VIOLATES_PATH_CONSTRAINTS=-4\n\
00173 \n\
00174 # goal errors\n\
00175 int32 GOAL_IN_COLLISION=-5\n\
00176 int32 GOAL_VIOLATES_PATH_CONSTRAINTS=-6\n\
00177 \n\
00178 # robot state\n\
00179 int32 INVALID_ROBOT_STATE=-7\n\
00180 int32 INCOMPLETE_ROBOT_STATE=-8\n\
00181 \n\
00182 # planning request errors\n\
00183 int32 INVALID_PLANNER_ID=-9\n\
00184 int32 INVALID_NUM_PLANNING_ATTEMPTS=-10\n\
00185 int32 INVALID_ALLOWED_PLANNING_TIME=-11\n\
00186 int32 INVALID_GROUP_NAME=-12\n\
00187 int32 INVALID_GOAL_JOINT_CONSTRAINTS=-13\n\
00188 int32 INVALID_GOAL_POSITION_CONSTRAINTS=-14\n\
00189 int32 INVALID_GOAL_ORIENTATION_CONSTRAINTS=-15\n\
00190 int32 INVALID_PATH_JOINT_CONSTRAINTS=-16\n\
00191 int32 INVALID_PATH_POSITION_CONSTRAINTS=-17\n\
00192 int32 INVALID_PATH_ORIENTATION_CONSTRAINTS=-18\n\
00193 \n\
00194 # state/trajectory monitor errors\n\
00195 int32 INVALID_TRAJECTORY=-19\n\
00196 int32 INVALID_INDEX=-20\n\
00197 int32 JOINT_LIMITS_VIOLATED=-21\n\
00198 int32 PATH_CONSTRAINTS_VIOLATED=-22\n\
00199 int32 COLLISION_CONSTRAINTS_VIOLATED=-23\n\
00200 int32 GOAL_CONSTRAINTS_VIOLATED=-24\n\
00201 int32 JOINTS_NOT_MOVING=-25\n\
00202 int32 TRAJECTORY_CONTROLLER_FAILED=-26\n\
00203 \n\
00204 # system errors\n\
00205 int32 FRAME_TRANSFORM_FAILURE=-27\n\
00206 int32 COLLISION_CHECKING_UNAVAILABLE=-28\n\
00207 int32 ROBOT_STATE_STALE=-29\n\
00208 int32 SENSOR_INFO_STALE=-30\n\
00209 \n\
00210 # kinematics errors\n\
00211 int32 NO_IK_SOLUTION=-31\n\
00212 int32 INVALID_LINK_NAME=-32\n\
00213 int32 IK_LINK_IN_COLLISION=-33\n\
00214 int32 NO_FK_SOLUTION=-34\n\
00215 int32 KINEMATICS_STATE_IN_COLLISION=-35\n\
00216 \n\
00217 # general errors\n\
00218 int32 INVALID_TIMEOUT=-36\n\
00219 \n\
00220 \n\
00221 ";
00222   }
00223 
00224   static const char* value(const  ::arm_navigation_msgs::MoveArmStatistics_<ContainerAllocator> &) { return value(); } 
00225 };
00226 
00227 } // namespace message_traits
00228 } // namespace ros
00229 
00230 namespace ros
00231 {
00232 namespace serialization
00233 {
00234 
00235 template<class ContainerAllocator> struct Serializer< ::arm_navigation_msgs::MoveArmStatistics_<ContainerAllocator> >
00236 {
00237   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00238   {
00239     stream.next(m.request_id);
00240     stream.next(m.result);
00241     stream.next(m.error_code);
00242     stream.next(m.planning_time);
00243     stream.next(m.smoothing_time);
00244     stream.next(m.ik_time);
00245     stream.next(m.time_to_execution);
00246     stream.next(m.time_to_result);
00247     stream.next(m.preempted);
00248     stream.next(m.num_replans);
00249     stream.next(m.trajectory_duration);
00250     stream.next(m.planner_service_name);
00251   }
00252 
00253   ROS_DECLARE_ALLINONE_SERIALIZER;
00254 }; // struct MoveArmStatistics_
00255 } // namespace serialization
00256 } // namespace ros
00257 
00258 namespace ros
00259 {
00260 namespace message_operations
00261 {
00262 
00263 template<class ContainerAllocator>
00264 struct Printer< ::arm_navigation_msgs::MoveArmStatistics_<ContainerAllocator> >
00265 {
00266   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::arm_navigation_msgs::MoveArmStatistics_<ContainerAllocator> & v) 
00267   {
00268     s << indent << "request_id: ";
00269     Printer<int32_t>::stream(s, indent + "  ", v.request_id);
00270     s << indent << "result: ";
00271     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.result);
00272     s << indent << "error_code: ";
00273 s << std::endl;
00274     Printer< ::arm_navigation_msgs::ArmNavigationErrorCodes_<ContainerAllocator> >::stream(s, indent + "  ", v.error_code);
00275     s << indent << "planning_time: ";
00276     Printer<double>::stream(s, indent + "  ", v.planning_time);
00277     s << indent << "smoothing_time: ";
00278     Printer<double>::stream(s, indent + "  ", v.smoothing_time);
00279     s << indent << "ik_time: ";
00280     Printer<double>::stream(s, indent + "  ", v.ik_time);
00281     s << indent << "time_to_execution: ";
00282     Printer<double>::stream(s, indent + "  ", v.time_to_execution);
00283     s << indent << "time_to_result: ";
00284     Printer<double>::stream(s, indent + "  ", v.time_to_result);
00285     s << indent << "preempted: ";
00286     Printer<uint8_t>::stream(s, indent + "  ", v.preempted);
00287     s << indent << "num_replans: ";
00288     Printer<double>::stream(s, indent + "  ", v.num_replans);
00289     s << indent << "trajectory_duration: ";
00290     Printer<double>::stream(s, indent + "  ", v.trajectory_duration);
00291     s << indent << "planner_service_name: ";
00292     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.planner_service_name);
00293   }
00294 };
00295 
00296 
00297 } // namespace message_operations
00298 } // namespace ros
00299 
00300 #endif // ARM_NAVIGATION_MSGS_MESSAGE_MOVEARMSTATISTICS_H
00301 


arm_navigation_msgs
Author(s): Gil Jones
autogenerated on Thu Dec 12 2013 11:08:10