$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-arm_navigation_experimental/doc_stacks/2013-03-01_14-08-43.137802/arm_navigation_experimental/head_monitor_msgs/msg/HeadMonitorResult.msg */ 00002 #ifndef HEAD_MONITOR_MSGS_MESSAGE_HEADMONITORRESULT_H 00003 #define HEAD_MONITOR_MSGS_MESSAGE_HEADMONITORRESULT_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/ArmNavigationErrorCodes.h" 00019 00020 namespace head_monitor_msgs 00021 { 00022 template <class ContainerAllocator> 00023 struct HeadMonitorResult_ { 00024 typedef HeadMonitorResult_<ContainerAllocator> Type; 00025 00026 HeadMonitorResult_() 00027 : actual_trajectory() 00028 , error_code() 00029 { 00030 } 00031 00032 HeadMonitorResult_(const ContainerAllocator& _alloc) 00033 : actual_trajectory(_alloc) 00034 , error_code(_alloc) 00035 { 00036 } 00037 00038 typedef ::trajectory_msgs::JointTrajectory_<ContainerAllocator> _actual_trajectory_type; 00039 ::trajectory_msgs::JointTrajectory_<ContainerAllocator> actual_trajectory; 00040 00041 typedef ::arm_navigation_msgs::ArmNavigationErrorCodes_<ContainerAllocator> _error_code_type; 00042 ::arm_navigation_msgs::ArmNavigationErrorCodes_<ContainerAllocator> error_code; 00043 00044 00045 private: 00046 static const char* __s_getDataType_() { return "head_monitor_msgs/HeadMonitorResult"; } 00047 public: 00048 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00049 00050 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00051 00052 private: 00053 static const char* __s_getMD5Sum_() { return "2222f057b77c8d4ea3a6f92caeb86806"; } 00054 public: 00055 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00056 00057 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00058 00059 private: 00060 static const char* __s_getMessageDefinition_() { return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00061 trajectory_msgs/JointTrajectory actual_trajectory\n\ 00062 arm_navigation_msgs/ArmNavigationErrorCodes error_code\n\ 00063 \n\ 00064 ================================================================================\n\ 00065 MSG: trajectory_msgs/JointTrajectory\n\ 00066 Header header\n\ 00067 string[] joint_names\n\ 00068 JointTrajectoryPoint[] points\n\ 00069 ================================================================================\n\ 00070 MSG: std_msgs/Header\n\ 00071 # Standard metadata for higher-level stamped data types.\n\ 00072 # This is generally used to communicate timestamped data \n\ 00073 # in a particular coordinate frame.\n\ 00074 # \n\ 00075 # sequence ID: consecutively increasing ID \n\ 00076 uint32 seq\n\ 00077 #Two-integer timestamp that is expressed as:\n\ 00078 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00079 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00080 # time-handling sugar is provided by the client library\n\ 00081 time stamp\n\ 00082 #Frame this data is associated with\n\ 00083 # 0: no frame\n\ 00084 # 1: global frame\n\ 00085 string frame_id\n\ 00086 \n\ 00087 ================================================================================\n\ 00088 MSG: trajectory_msgs/JointTrajectoryPoint\n\ 00089 float64[] positions\n\ 00090 float64[] velocities\n\ 00091 float64[] accelerations\n\ 00092 duration time_from_start\n\ 00093 ================================================================================\n\ 00094 MSG: arm_navigation_msgs/ArmNavigationErrorCodes\n\ 00095 int32 val\n\ 00096 \n\ 00097 # overall behavior\n\ 00098 int32 PLANNING_FAILED=-1\n\ 00099 int32 SUCCESS=1\n\ 00100 int32 TIMED_OUT=-2\n\ 00101 \n\ 00102 # start state errors\n\ 00103 int32 START_STATE_IN_COLLISION=-3\n\ 00104 int32 START_STATE_VIOLATES_PATH_CONSTRAINTS=-4\n\ 00105 \n\ 00106 # goal errors\n\ 00107 int32 GOAL_IN_COLLISION=-5\n\ 00108 int32 GOAL_VIOLATES_PATH_CONSTRAINTS=-6\n\ 00109 \n\ 00110 # robot state\n\ 00111 int32 INVALID_ROBOT_STATE=-7\n\ 00112 int32 INCOMPLETE_ROBOT_STATE=-8\n\ 00113 \n\ 00114 # planning request errors\n\ 00115 int32 INVALID_PLANNER_ID=-9\n\ 00116 int32 INVALID_NUM_PLANNING_ATTEMPTS=-10\n\ 00117 int32 INVALID_ALLOWED_PLANNING_TIME=-11\n\ 00118 int32 INVALID_GROUP_NAME=-12\n\ 00119 int32 INVALID_GOAL_JOINT_CONSTRAINTS=-13\n\ 00120 int32 INVALID_GOAL_POSITION_CONSTRAINTS=-14\n\ 00121 int32 INVALID_GOAL_ORIENTATION_CONSTRAINTS=-15\n\ 00122 int32 INVALID_PATH_JOINT_CONSTRAINTS=-16\n\ 00123 int32 INVALID_PATH_POSITION_CONSTRAINTS=-17\n\ 00124 int32 INVALID_PATH_ORIENTATION_CONSTRAINTS=-18\n\ 00125 \n\ 00126 # state/trajectory monitor errors\n\ 00127 int32 INVALID_TRAJECTORY=-19\n\ 00128 int32 INVALID_INDEX=-20\n\ 00129 int32 JOINT_LIMITS_VIOLATED=-21\n\ 00130 int32 PATH_CONSTRAINTS_VIOLATED=-22\n\ 00131 int32 COLLISION_CONSTRAINTS_VIOLATED=-23\n\ 00132 int32 GOAL_CONSTRAINTS_VIOLATED=-24\n\ 00133 int32 JOINTS_NOT_MOVING=-25\n\ 00134 int32 TRAJECTORY_CONTROLLER_FAILED=-26\n\ 00135 \n\ 00136 # system errors\n\ 00137 int32 FRAME_TRANSFORM_FAILURE=-27\n\ 00138 int32 COLLISION_CHECKING_UNAVAILABLE=-28\n\ 00139 int32 ROBOT_STATE_STALE=-29\n\ 00140 int32 SENSOR_INFO_STALE=-30\n\ 00141 \n\ 00142 # kinematics errors\n\ 00143 int32 NO_IK_SOLUTION=-31\n\ 00144 int32 INVALID_LINK_NAME=-32\n\ 00145 int32 IK_LINK_IN_COLLISION=-33\n\ 00146 int32 NO_FK_SOLUTION=-34\n\ 00147 int32 KINEMATICS_STATE_IN_COLLISION=-35\n\ 00148 \n\ 00149 # general errors\n\ 00150 int32 INVALID_TIMEOUT=-36\n\ 00151 \n\ 00152 \n\ 00153 "; } 00154 public: 00155 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00156 00157 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00158 00159 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00160 { 00161 ros::serialization::OStream stream(write_ptr, 1000000000); 00162 ros::serialization::serialize(stream, actual_trajectory); 00163 ros::serialization::serialize(stream, error_code); 00164 return stream.getData(); 00165 } 00166 00167 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00168 { 00169 ros::serialization::IStream stream(read_ptr, 1000000000); 00170 ros::serialization::deserialize(stream, actual_trajectory); 00171 ros::serialization::deserialize(stream, error_code); 00172 return stream.getData(); 00173 } 00174 00175 ROS_DEPRECATED virtual uint32_t serializationLength() const 00176 { 00177 uint32_t size = 0; 00178 size += ros::serialization::serializationLength(actual_trajectory); 00179 size += ros::serialization::serializationLength(error_code); 00180 return size; 00181 } 00182 00183 typedef boost::shared_ptr< ::head_monitor_msgs::HeadMonitorResult_<ContainerAllocator> > Ptr; 00184 typedef boost::shared_ptr< ::head_monitor_msgs::HeadMonitorResult_<ContainerAllocator> const> ConstPtr; 00185 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00186 }; // struct HeadMonitorResult 00187 typedef ::head_monitor_msgs::HeadMonitorResult_<std::allocator<void> > HeadMonitorResult; 00188 00189 typedef boost::shared_ptr< ::head_monitor_msgs::HeadMonitorResult> HeadMonitorResultPtr; 00190 typedef boost::shared_ptr< ::head_monitor_msgs::HeadMonitorResult const> HeadMonitorResultConstPtr; 00191 00192 00193 template<typename ContainerAllocator> 00194 std::ostream& operator<<(std::ostream& s, const ::head_monitor_msgs::HeadMonitorResult_<ContainerAllocator> & v) 00195 { 00196 ros::message_operations::Printer< ::head_monitor_msgs::HeadMonitorResult_<ContainerAllocator> >::stream(s, "", v); 00197 return s;} 00198 00199 } // namespace head_monitor_msgs 00200 00201 namespace ros 00202 { 00203 namespace message_traits 00204 { 00205 template<class ContainerAllocator> struct IsMessage< ::head_monitor_msgs::HeadMonitorResult_<ContainerAllocator> > : public TrueType {}; 00206 template<class ContainerAllocator> struct IsMessage< ::head_monitor_msgs::HeadMonitorResult_<ContainerAllocator> const> : public TrueType {}; 00207 template<class ContainerAllocator> 00208 struct MD5Sum< ::head_monitor_msgs::HeadMonitorResult_<ContainerAllocator> > { 00209 static const char* value() 00210 { 00211 return "2222f057b77c8d4ea3a6f92caeb86806"; 00212 } 00213 00214 static const char* value(const ::head_monitor_msgs::HeadMonitorResult_<ContainerAllocator> &) { return value(); } 00215 static const uint64_t static_value1 = 0x2222f057b77c8d4eULL; 00216 static const uint64_t static_value2 = 0xa3a6f92caeb86806ULL; 00217 }; 00218 00219 template<class ContainerAllocator> 00220 struct DataType< ::head_monitor_msgs::HeadMonitorResult_<ContainerAllocator> > { 00221 static const char* value() 00222 { 00223 return "head_monitor_msgs/HeadMonitorResult"; 00224 } 00225 00226 static const char* value(const ::head_monitor_msgs::HeadMonitorResult_<ContainerAllocator> &) { return value(); } 00227 }; 00228 00229 template<class ContainerAllocator> 00230 struct Definition< ::head_monitor_msgs::HeadMonitorResult_<ContainerAllocator> > { 00231 static const char* value() 00232 { 00233 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00234 trajectory_msgs/JointTrajectory actual_trajectory\n\ 00235 arm_navigation_msgs/ArmNavigationErrorCodes error_code\n\ 00236 \n\ 00237 ================================================================================\n\ 00238 MSG: trajectory_msgs/JointTrajectory\n\ 00239 Header header\n\ 00240 string[] joint_names\n\ 00241 JointTrajectoryPoint[] points\n\ 00242 ================================================================================\n\ 00243 MSG: std_msgs/Header\n\ 00244 # Standard metadata for higher-level stamped data types.\n\ 00245 # This is generally used to communicate timestamped data \n\ 00246 # in a particular coordinate frame.\n\ 00247 # \n\ 00248 # sequence ID: consecutively increasing ID \n\ 00249 uint32 seq\n\ 00250 #Two-integer timestamp that is expressed as:\n\ 00251 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00252 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00253 # time-handling sugar is provided by the client library\n\ 00254 time stamp\n\ 00255 #Frame this data is associated with\n\ 00256 # 0: no frame\n\ 00257 # 1: global frame\n\ 00258 string frame_id\n\ 00259 \n\ 00260 ================================================================================\n\ 00261 MSG: trajectory_msgs/JointTrajectoryPoint\n\ 00262 float64[] positions\n\ 00263 float64[] velocities\n\ 00264 float64[] accelerations\n\ 00265 duration time_from_start\n\ 00266 ================================================================================\n\ 00267 MSG: arm_navigation_msgs/ArmNavigationErrorCodes\n\ 00268 int32 val\n\ 00269 \n\ 00270 # overall behavior\n\ 00271 int32 PLANNING_FAILED=-1\n\ 00272 int32 SUCCESS=1\n\ 00273 int32 TIMED_OUT=-2\n\ 00274 \n\ 00275 # start state errors\n\ 00276 int32 START_STATE_IN_COLLISION=-3\n\ 00277 int32 START_STATE_VIOLATES_PATH_CONSTRAINTS=-4\n\ 00278 \n\ 00279 # goal errors\n\ 00280 int32 GOAL_IN_COLLISION=-5\n\ 00281 int32 GOAL_VIOLATES_PATH_CONSTRAINTS=-6\n\ 00282 \n\ 00283 # robot state\n\ 00284 int32 INVALID_ROBOT_STATE=-7\n\ 00285 int32 INCOMPLETE_ROBOT_STATE=-8\n\ 00286 \n\ 00287 # planning request errors\n\ 00288 int32 INVALID_PLANNER_ID=-9\n\ 00289 int32 INVALID_NUM_PLANNING_ATTEMPTS=-10\n\ 00290 int32 INVALID_ALLOWED_PLANNING_TIME=-11\n\ 00291 int32 INVALID_GROUP_NAME=-12\n\ 00292 int32 INVALID_GOAL_JOINT_CONSTRAINTS=-13\n\ 00293 int32 INVALID_GOAL_POSITION_CONSTRAINTS=-14\n\ 00294 int32 INVALID_GOAL_ORIENTATION_CONSTRAINTS=-15\n\ 00295 int32 INVALID_PATH_JOINT_CONSTRAINTS=-16\n\ 00296 int32 INVALID_PATH_POSITION_CONSTRAINTS=-17\n\ 00297 int32 INVALID_PATH_ORIENTATION_CONSTRAINTS=-18\n\ 00298 \n\ 00299 # state/trajectory monitor errors\n\ 00300 int32 INVALID_TRAJECTORY=-19\n\ 00301 int32 INVALID_INDEX=-20\n\ 00302 int32 JOINT_LIMITS_VIOLATED=-21\n\ 00303 int32 PATH_CONSTRAINTS_VIOLATED=-22\n\ 00304 int32 COLLISION_CONSTRAINTS_VIOLATED=-23\n\ 00305 int32 GOAL_CONSTRAINTS_VIOLATED=-24\n\ 00306 int32 JOINTS_NOT_MOVING=-25\n\ 00307 int32 TRAJECTORY_CONTROLLER_FAILED=-26\n\ 00308 \n\ 00309 # system errors\n\ 00310 int32 FRAME_TRANSFORM_FAILURE=-27\n\ 00311 int32 COLLISION_CHECKING_UNAVAILABLE=-28\n\ 00312 int32 ROBOT_STATE_STALE=-29\n\ 00313 int32 SENSOR_INFO_STALE=-30\n\ 00314 \n\ 00315 # kinematics errors\n\ 00316 int32 NO_IK_SOLUTION=-31\n\ 00317 int32 INVALID_LINK_NAME=-32\n\ 00318 int32 IK_LINK_IN_COLLISION=-33\n\ 00319 int32 NO_FK_SOLUTION=-34\n\ 00320 int32 KINEMATICS_STATE_IN_COLLISION=-35\n\ 00321 \n\ 00322 # general errors\n\ 00323 int32 INVALID_TIMEOUT=-36\n\ 00324 \n\ 00325 \n\ 00326 "; 00327 } 00328 00329 static const char* value(const ::head_monitor_msgs::HeadMonitorResult_<ContainerAllocator> &) { return value(); } 00330 }; 00331 00332 } // namespace message_traits 00333 } // namespace ros 00334 00335 namespace ros 00336 { 00337 namespace serialization 00338 { 00339 00340 template<class ContainerAllocator> struct Serializer< ::head_monitor_msgs::HeadMonitorResult_<ContainerAllocator> > 00341 { 00342 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00343 { 00344 stream.next(m.actual_trajectory); 00345 stream.next(m.error_code); 00346 } 00347 00348 ROS_DECLARE_ALLINONE_SERIALIZER; 00349 }; // struct HeadMonitorResult_ 00350 } // namespace serialization 00351 } // namespace ros 00352 00353 namespace ros 00354 { 00355 namespace message_operations 00356 { 00357 00358 template<class ContainerAllocator> 00359 struct Printer< ::head_monitor_msgs::HeadMonitorResult_<ContainerAllocator> > 00360 { 00361 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::head_monitor_msgs::HeadMonitorResult_<ContainerAllocator> & v) 00362 { 00363 s << indent << "actual_trajectory: "; 00364 s << std::endl; 00365 Printer< ::trajectory_msgs::JointTrajectory_<ContainerAllocator> >::stream(s, indent + " ", v.actual_trajectory); 00366 s << indent << "error_code: "; 00367 s << std::endl; 00368 Printer< ::arm_navigation_msgs::ArmNavigationErrorCodes_<ContainerAllocator> >::stream(s, indent + " ", v.error_code); 00369 } 00370 }; 00371 00372 00373 } // namespace message_operations 00374 } // namespace ros 00375 00376 #endif // HEAD_MONITOR_MSGS_MESSAGE_HEADMONITORRESULT_H 00377