Project: bml_srvs License: BSD Dependencies: Used by: |
bml_srvs/srv_gen/cpp/include/bml_srvs/BMLGesture.hGo to the documentation of this file.00001 /* Auto-generated by genmsg_cpp for file /home/mel/workspace/ros_stacks/bml/bml_srvs/srv/BMLGesture.srv */ 00002 #ifndef BML_SRVS_SERVICE_BMLGESTURE_H 00003 #define BML_SRVS_SERVICE_BMLGESTURE_H 00004 #include <string> 00005 #include <vector> 00006 #include <ostream> 00007 #include "ros/serialization.h" 00008 #include "ros/builtin_message_traits.h" 00009 #include "ros/message_operations.h" 00010 #include "ros/message.h" 00011 #include "ros/time.h" 00012 00013 #include "ros/service_traits.h" 00014 00015 #include "bml_msgs/Behavior.h" 00016 #include "bml_msgs/Flag.h" 00017 #include "bml_msgs/Entity.h" 00018 #include "bml_msgs/Direction.h" 00019 #include "bml_msgs/Direction.h" 00020 #include "bml_msgs/Direction.h" 00021 00022 00023 #include "bml_msgs/Flag.h" 00024 00025 namespace bml_srvs 00026 { 00027 template <class ContainerAllocator> 00028 struct BMLGestureRequest_ : public ros::Message 00029 { 00030 typedef BMLGestureRequest_<ContainerAllocator> Type; 00031 00032 BMLGestureRequest_() 00033 : behav() 00034 , type(0) 00035 , side() 00036 , repetition(0) 00037 , target() 00038 , handShape(0) 00039 , fingerDirection() 00040 , palmDirection() 00041 , trajectory(0) 00042 , twoHanded(0) 00043 , verticalLocation(0) 00044 , horizontalLocation(0) 00045 , distance(0) 00046 , moveDirection() 00047 , lexeme() 00048 , amplitude(0) 00049 , power(0) 00050 { 00051 } 00052 00053 BMLGestureRequest_(const ContainerAllocator& _alloc) 00054 : behav(_alloc) 00055 , type(0) 00056 , side(_alloc) 00057 , repetition(0) 00058 , target(_alloc) 00059 , handShape(0) 00060 , fingerDirection(_alloc) 00061 , palmDirection(_alloc) 00062 , trajectory(0) 00063 , twoHanded(0) 00064 , verticalLocation(0) 00065 , horizontalLocation(0) 00066 , distance(0) 00067 , moveDirection(_alloc) 00068 , lexeme(_alloc) 00069 , amplitude(0) 00070 , power(0) 00071 { 00072 } 00073 00074 typedef ::bml_msgs::Behavior_<ContainerAllocator> _behav_type; 00075 ::bml_msgs::Behavior_<ContainerAllocator> behav; 00076 00077 typedef uint8_t _type_type; 00078 uint8_t type; 00079 00080 typedef ::bml_msgs::Flag_<ContainerAllocator> _side_type; 00081 ::bml_msgs::Flag_<ContainerAllocator> side; 00082 00083 typedef int32_t _repetition_type; 00084 int32_t repetition; 00085 00086 typedef ::bml_msgs::Entity_<ContainerAllocator> _target_type; 00087 ::bml_msgs::Entity_<ContainerAllocator> target; 00088 00089 typedef uint8_t _handShape_type; 00090 uint8_t handShape; 00091 00092 typedef ::bml_msgs::Direction_<ContainerAllocator> _fingerDirection_type; 00093 ::bml_msgs::Direction_<ContainerAllocator> fingerDirection; 00094 00095 typedef ::bml_msgs::Direction_<ContainerAllocator> _palmDirection_type; 00096 ::bml_msgs::Direction_<ContainerAllocator> palmDirection; 00097 00098 typedef uint8_t _trajectory_type; 00099 uint8_t trajectory; 00100 00101 typedef uint8_t _twoHanded_type; 00102 uint8_t twoHanded; 00103 00104 typedef uint8_t _verticalLocation_type; 00105 uint8_t verticalLocation; 00106 00107 typedef uint8_t _horizontalLocation_type; 00108 uint8_t horizontalLocation; 00109 00110 typedef uint8_t _distance_type; 00111 uint8_t distance; 00112 00113 typedef ::bml_msgs::Direction_<ContainerAllocator> _moveDirection_type; 00114 ::bml_msgs::Direction_<ContainerAllocator> moveDirection; 00115 00116 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _lexeme_type; 00117 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > lexeme; 00118 00119 typedef uint8_t _amplitude_type; 00120 uint8_t amplitude; 00121 00122 typedef uint8_t _power_type; 00123 uint8_t power; 00124 00125 enum { POINT = 0 }; 00126 enum { BEAT = 1 }; 00127 enum { CONDUIT = 2 }; 00128 enum { GENERIC = 3 }; 00129 enum { LEXICALIZED = 4 }; 00130 enum { INDEX_FINGER = 0 }; 00131 enum { THUMB = 1 }; 00132 enum { OPEN_HAND = 2 }; 00133 enum { FIST = 3 }; 00134 enum { FINGER_RING = 4 }; 00135 enum { CUP = 5 }; 00136 enum { PURSE = 6 }; 00137 enum { STRAIGHT = 0 }; 00138 enum { CURVED = 1 }; 00139 enum { CIRCULAR = 2 }; 00140 enum { RECTANGULAR = 3 }; 00141 enum { TRIANGULAR = 4 }; 00142 enum { WAVE_LIKE = 5 }; 00143 enum { ZIGZAG = 6 }; 00144 enum { MIRROR = 0 }; 00145 enum { ALTERNATE = 1 }; 00146 enum { PARALLEL = 2 }; 00147 enum { LOW = 0 }; 00148 enum { CENTER = 1 }; 00149 enum { HIGH = 2 }; 00150 enum { LEFT = 0 }; 00151 enum { RIGHT = 2 }; 00152 enum { INWARD = 3 }; 00153 enum { OUTWARD = 4 }; 00154 enum { CONTACT = 0 }; 00155 enum { NEAR = 1 }; 00156 enum { MEDIUM = 2 }; 00157 enum { FAR = 3 }; 00158 enum { SMALL = 0 }; 00159 enum { LARGE = 1 }; 00160 enum { EXTRA_LARGE = 3 }; 00161 enum { WEAK = 0 }; 00162 enum { NORMAL = 1 }; 00163 enum { FORCEFUL = 2 }; 00164 00165 private: 00166 static const char* __s_getDataType_() { return "bml_srvs/BMLGestureRequest"; } 00167 public: 00168 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00169 00170 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00171 00172 private: 00173 static const char* __s_getMD5Sum_() { return "e3f198bbf8dc532cec327c52be2af3fc"; } 00174 public: 00175 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00176 00177 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00178 00179 private: 00180 static const char* __s_getServerMD5Sum_() { return "1158050cd2a01b70e5b144126b4a6d43"; } 00181 public: 00182 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00183 00184 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00185 00186 private: 00187 static const char* __s_getMessageDefinition_() { return "\n\ 00188 \n\ 00189 uint8 POINT=0\n\ 00190 uint8 BEAT=1\n\ 00191 uint8 CONDUIT=2\n\ 00192 uint8 GENERIC=3\n\ 00193 uint8 LEXICALIZED=4\n\ 00194 \n\ 00195 \n\ 00196 uint8 INDEX_FINGER=0\n\ 00197 uint8 THUMB=1\n\ 00198 uint8 OPEN_HAND=2\n\ 00199 uint8 FIST=3\n\ 00200 uint8 FINGER_RING=4\n\ 00201 uint8 CUP=5\n\ 00202 uint8 PURSE=6\n\ 00203 \n\ 00204 \n\ 00205 uint8 STRAIGHT=0\n\ 00206 uint8 CURVED=1\n\ 00207 uint8 CIRCULAR=2\n\ 00208 uint8 RECTANGULAR=3\n\ 00209 uint8 TRIANGULAR=4\n\ 00210 uint8 WAVE_LIKE=5\n\ 00211 uint8 ZIGZAG=6\n\ 00212 \n\ 00213 \n\ 00214 uint8 MIRROR=0\n\ 00215 uint8 ALTERNATE=1\n\ 00216 uint8 PARALLEL=2\n\ 00217 \n\ 00218 \n\ 00219 uint8 LOW=0\n\ 00220 uint8 CENTER=1\n\ 00221 uint8 HIGH=2\n\ 00222 \n\ 00223 \n\ 00224 uint8 LEFT=0\n\ 00225 \n\ 00226 uint8 RIGHT=2\n\ 00227 uint8 INWARD=3\n\ 00228 uint8 OUTWARD=4\n\ 00229 \n\ 00230 \n\ 00231 uint8 CONTACT=0\n\ 00232 uint8 NEAR=1\n\ 00233 uint8 MEDIUM=2\n\ 00234 uint8 FAR=3\n\ 00235 \n\ 00236 \n\ 00237 uint8 SMALL=0\n\ 00238 \n\ 00239 uint8 LARGE=1\n\ 00240 uint8 EXTRA_LARGE=3\n\ 00241 \n\ 00242 \n\ 00243 uint8 WEAK=0\n\ 00244 uint8 NORMAL=1\n\ 00245 uint8 FORCEFUL=2\n\ 00246 \n\ 00247 \n\ 00248 bml_msgs/Behavior behav\n\ 00249 uint8 type\n\ 00250 bml_msgs/Flag side\n\ 00251 int32 repetition\n\ 00252 bml_msgs/Entity target\n\ 00253 uint8 handShape\n\ 00254 bml_msgs/Direction fingerDirection\n\ 00255 bml_msgs/Direction palmDirection\n\ 00256 uint8 trajectory\n\ 00257 uint8 twoHanded\n\ 00258 uint8 verticalLocation\n\ 00259 uint8 horizontalLocation\n\ 00260 uint8 distance\n\ 00261 bml_msgs/Direction moveDirection\n\ 00262 string lexeme\n\ 00263 uint8 amplitude\n\ 00264 uint8 power\n\ 00265 \n\ 00266 \n\ 00267 ================================================================================\n\ 00268 MSG: bml_msgs/Behavior\n\ 00269 # this message type contains the information for basic behavior types\n\ 00270 \n\ 00271 #constants for the synch point\n\ 00272 uint8 START=0\n\ 00273 uint8 READY=1\n\ 00274 uint8 STROKE_START=2\n\ 00275 uint8 STROKE=3\n\ 00276 uint8 STROKE_END=4\n\ 00277 uint8 RELAX=5\n\ 00278 uint8 END=6\n\ 00279 \n\ 00280 # the fields\n\ 00281 string id\n\ 00282 uint8 synchPoint\n\ 00283 \n\ 00284 ================================================================================\n\ 00285 MSG: bml_msgs/Flag\n\ 00286 # A flag which determines between TRUE and FALSE\n\ 00287 int8 value\n\ 00288 \n\ 00289 # Constant for an invalid value\n\ 00290 int8 INVALID=-1\n\ 00291 \n\ 00292 # Constants which define the values for true\n\ 00293 int8 TRUE=1\n\ 00294 int8 START=1\n\ 00295 int8 BEGIN=1\n\ 00296 int8 SUCCESS=1\n\ 00297 int8 DONE=1\n\ 00298 \n\ 00299 # Constants which define the values for false\n\ 00300 int8 FALSE=0\n\ 00301 int8 STOP=0\n\ 00302 int8 END=0\n\ 00303 int8 FAILURE=0\n\ 00304 int8 NOT_DONE=0\n\ 00305 \n\ 00306 # Constants for response types\n\ 00307 int8 OPTIONAL_RESPONSE=0\n\ 00308 int8 IS_A_RESPONSE=1\n\ 00309 int8 REQUIRES_RESPONSE=2\n\ 00310 int8 BACKCHANNEL=3\n\ 00311 \n\ 00312 # Constants which define the values for the side to use\n\ 00313 int8 NEITHER=0\n\ 00314 int8 LEFT=1\n\ 00315 int8 RIGHT=2\n\ 00316 int8 EITHER=3\n\ 00317 \n\ 00318 ================================================================================\n\ 00319 MSG: bml_msgs/Entity\n\ 00320 #The following constants represent all possible salient objects\n\ 00321 uint8 OBJECT=0\n\ 00322 uint8 HAND=1\n\ 00323 uint8 FACE=2\n\ 00324 uint8 QUADRANT=3\n\ 00325 uint8 UNKNOWN=4\n\ 00326 \n\ 00327 # Constants for the upper quadrants\n\ 00328 string UP_LEFT=UP_LEFT\n\ 00329 string UP_FRONT=UP_FRONT\n\ 00330 string UP_RIGHT=UP_RIGHT\n\ 00331 \n\ 00332 # Constants for the middle quadrants\n\ 00333 string STRAIGHT_LEFT=STRAIGHT_LEFT\n\ 00334 string STRAIGHT_FRONT=STRAIGHT_FRONT\n\ 00335 string STRAIGHT_RIGHT=STRAIGHT_RIGHT\n\ 00336 \n\ 00337 # Constants for the lower quadrants\n\ 00338 string DOWN_LEFT=DOWN_LEFT\n\ 00339 string DOWN_FRONT=DOWN_FRONT\n\ 00340 string DOWN_RIGHT=DOWN_RIGHT\n\ 00341 \n\ 00342 #there is just one field for type\n\ 00343 uint8 type\n\ 00344 \n\ 00345 # The id of the object\n\ 00346 string id\n\ 00347 \n\ 00348 ================================================================================\n\ 00349 MSG: bml_msgs/Direction\n\ 00350 # the direction message is used by offsetting or directing actions\n\ 00351 uint8 value\n\ 00352 \n\ 00353 uint8 RIGHT=1\n\ 00354 uint8 LEFT=2\n\ 00355 uint8 UP=3\n\ 00356 uint8 DOWN=4\n\ 00357 uint8 UP_RIGHT=5\n\ 00358 uint8 UP_LEFT=6\n\ 00359 uint8 DOWN_LEFT=7\n\ 00360 uint8 DOWN_RIGHT=8\n\ 00361 uint8 POLAR=0\n\ 00362 \n\ 00363 "; } 00364 public: 00365 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00366 00367 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00368 00369 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00370 { 00371 ros::serialization::OStream stream(write_ptr, 1000000000); 00372 ros::serialization::serialize(stream, behav); 00373 ros::serialization::serialize(stream, type); 00374 ros::serialization::serialize(stream, side); 00375 ros::serialization::serialize(stream, repetition); 00376 ros::serialization::serialize(stream, target); 00377 ros::serialization::serialize(stream, handShape); 00378 ros::serialization::serialize(stream, fingerDirection); 00379 ros::serialization::serialize(stream, palmDirection); 00380 ros::serialization::serialize(stream, trajectory); 00381 ros::serialization::serialize(stream, twoHanded); 00382 ros::serialization::serialize(stream, verticalLocation); 00383 ros::serialization::serialize(stream, horizontalLocation); 00384 ros::serialization::serialize(stream, distance); 00385 ros::serialization::serialize(stream, moveDirection); 00386 ros::serialization::serialize(stream, lexeme); 00387 ros::serialization::serialize(stream, amplitude); 00388 ros::serialization::serialize(stream, power); 00389 return stream.getData(); 00390 } 00391 00392 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00393 { 00394 ros::serialization::IStream stream(read_ptr, 1000000000); 00395 ros::serialization::deserialize(stream, behav); 00396 ros::serialization::deserialize(stream, type); 00397 ros::serialization::deserialize(stream, side); 00398 ros::serialization::deserialize(stream, repetition); 00399 ros::serialization::deserialize(stream, target); 00400 ros::serialization::deserialize(stream, handShape); 00401 ros::serialization::deserialize(stream, fingerDirection); 00402 ros::serialization::deserialize(stream, palmDirection); 00403 ros::serialization::deserialize(stream, trajectory); 00404 ros::serialization::deserialize(stream, twoHanded); 00405 ros::serialization::deserialize(stream, verticalLocation); 00406 ros::serialization::deserialize(stream, horizontalLocation); 00407 ros::serialization::deserialize(stream, distance); 00408 ros::serialization::deserialize(stream, moveDirection); 00409 ros::serialization::deserialize(stream, lexeme); 00410 ros::serialization::deserialize(stream, amplitude); 00411 ros::serialization::deserialize(stream, power); 00412 return stream.getData(); 00413 } 00414 00415 ROS_DEPRECATED virtual uint32_t serializationLength() const 00416 { 00417 uint32_t size = 0; 00418 size += ros::serialization::serializationLength(behav); 00419 size += ros::serialization::serializationLength(type); 00420 size += ros::serialization::serializationLength(side); 00421 size += ros::serialization::serializationLength(repetition); 00422 size += ros::serialization::serializationLength(target); 00423 size += ros::serialization::serializationLength(handShape); 00424 size += ros::serialization::serializationLength(fingerDirection); 00425 size += ros::serialization::serializationLength(palmDirection); 00426 size += ros::serialization::serializationLength(trajectory); 00427 size += ros::serialization::serializationLength(twoHanded); 00428 size += ros::serialization::serializationLength(verticalLocation); 00429 size += ros::serialization::serializationLength(horizontalLocation); 00430 size += ros::serialization::serializationLength(distance); 00431 size += ros::serialization::serializationLength(moveDirection); 00432 size += ros::serialization::serializationLength(lexeme); 00433 size += ros::serialization::serializationLength(amplitude); 00434 size += ros::serialization::serializationLength(power); 00435 return size; 00436 } 00437 00438 typedef boost::shared_ptr< ::bml_srvs::BMLGestureRequest_<ContainerAllocator> > Ptr; 00439 typedef boost::shared_ptr< ::bml_srvs::BMLGestureRequest_<ContainerAllocator> const> ConstPtr; 00440 }; // struct BMLGestureRequest 00441 typedef ::bml_srvs::BMLGestureRequest_<std::allocator<void> > BMLGestureRequest; 00442 00443 typedef boost::shared_ptr< ::bml_srvs::BMLGestureRequest> BMLGestureRequestPtr; 00444 typedef boost::shared_ptr< ::bml_srvs::BMLGestureRequest const> BMLGestureRequestConstPtr; 00445 00446 00447 template <class ContainerAllocator> 00448 struct BMLGestureResponse_ : public ros::Message 00449 { 00450 typedef BMLGestureResponse_<ContainerAllocator> Type; 00451 00452 BMLGestureResponse_() 00453 : status() 00454 { 00455 } 00456 00457 BMLGestureResponse_(const ContainerAllocator& _alloc) 00458 : status(_alloc) 00459 { 00460 } 00461 00462 typedef ::bml_msgs::Flag_<ContainerAllocator> _status_type; 00463 ::bml_msgs::Flag_<ContainerAllocator> status; 00464 00465 00466 private: 00467 static const char* __s_getDataType_() { return "bml_srvs/BMLGestureResponse"; } 00468 public: 00469 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00470 00471 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00472 00473 private: 00474 static const char* __s_getMD5Sum_() { return "f7423aea1727c03e08611ec029888e5d"; } 00475 public: 00476 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00477 00478 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00479 00480 private: 00481 static const char* __s_getServerMD5Sum_() { return "1158050cd2a01b70e5b144126b4a6d43"; } 00482 public: 00483 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00484 00485 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00486 00487 private: 00488 static const char* __s_getMessageDefinition_() { return "\n\ 00489 bml_msgs/Flag status\n\ 00490 \n\ 00491 \n\ 00492 ================================================================================\n\ 00493 MSG: bml_msgs/Flag\n\ 00494 # A flag which determines between TRUE and FALSE\n\ 00495 int8 value\n\ 00496 \n\ 00497 # Constant for an invalid value\n\ 00498 int8 INVALID=-1\n\ 00499 \n\ 00500 # Constants which define the values for true\n\ 00501 int8 TRUE=1\n\ 00502 int8 START=1\n\ 00503 int8 BEGIN=1\n\ 00504 int8 SUCCESS=1\n\ 00505 int8 DONE=1\n\ 00506 \n\ 00507 # Constants which define the values for false\n\ 00508 int8 FALSE=0\n\ 00509 int8 STOP=0\n\ 00510 int8 END=0\n\ 00511 int8 FAILURE=0\n\ 00512 int8 NOT_DONE=0\n\ 00513 \n\ 00514 # Constants for response types\n\ 00515 int8 OPTIONAL_RESPONSE=0\n\ 00516 int8 IS_A_RESPONSE=1\n\ 00517 int8 REQUIRES_RESPONSE=2\n\ 00518 int8 BACKCHANNEL=3\n\ 00519 \n\ 00520 # Constants which define the values for the side to use\n\ 00521 int8 NEITHER=0\n\ 00522 int8 LEFT=1\n\ 00523 int8 RIGHT=2\n\ 00524 int8 EITHER=3\n\ 00525 \n\ 00526 "; } 00527 public: 00528 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00529 00530 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00531 00532 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00533 { 00534 ros::serialization::OStream stream(write_ptr, 1000000000); 00535 ros::serialization::serialize(stream, status); 00536 return stream.getData(); 00537 } 00538 00539 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00540 { 00541 ros::serialization::IStream stream(read_ptr, 1000000000); 00542 ros::serialization::deserialize(stream, status); 00543 return stream.getData(); 00544 } 00545 00546 ROS_DEPRECATED virtual uint32_t serializationLength() const 00547 { 00548 uint32_t size = 0; 00549 size += ros::serialization::serializationLength(status); 00550 return size; 00551 } 00552 00553 typedef boost::shared_ptr< ::bml_srvs::BMLGestureResponse_<ContainerAllocator> > Ptr; 00554 typedef boost::shared_ptr< ::bml_srvs::BMLGestureResponse_<ContainerAllocator> const> ConstPtr; 00555 }; // struct BMLGestureResponse 00556 typedef ::bml_srvs::BMLGestureResponse_<std::allocator<void> > BMLGestureResponse; 00557 00558 typedef boost::shared_ptr< ::bml_srvs::BMLGestureResponse> BMLGestureResponsePtr; 00559 typedef boost::shared_ptr< ::bml_srvs::BMLGestureResponse const> BMLGestureResponseConstPtr; 00560 00561 struct BMLGesture 00562 { 00563 00564 typedef BMLGestureRequest Request; 00565 typedef BMLGestureResponse Response; 00566 Request request; 00567 Response response; 00568 00569 typedef Request RequestType; 00570 typedef Response ResponseType; 00571 }; // struct BMLGesture 00572 } // namespace bml_srvs 00573 00574 namespace ros 00575 { 00576 namespace message_traits 00577 { 00578 template<class ContainerAllocator> 00579 struct MD5Sum< ::bml_srvs::BMLGestureRequest_<ContainerAllocator> > { 00580 static const char* value() 00581 { 00582 return "e3f198bbf8dc532cec327c52be2af3fc"; 00583 } 00584 00585 static const char* value(const ::bml_srvs::BMLGestureRequest_<ContainerAllocator> &) { return value(); } 00586 static const uint64_t static_value1 = 0xe3f198bbf8dc532cULL; 00587 static const uint64_t static_value2 = 0xec327c52be2af3fcULL; 00588 }; 00589 00590 template<class ContainerAllocator> 00591 struct DataType< ::bml_srvs::BMLGestureRequest_<ContainerAllocator> > { 00592 static const char* value() 00593 { 00594 return "bml_srvs/BMLGestureRequest"; 00595 } 00596 00597 static const char* value(const ::bml_srvs::BMLGestureRequest_<ContainerAllocator> &) { return value(); } 00598 }; 00599 00600 template<class ContainerAllocator> 00601 struct Definition< ::bml_srvs::BMLGestureRequest_<ContainerAllocator> > { 00602 static const char* value() 00603 { 00604 return "\n\ 00605 \n\ 00606 uint8 POINT=0\n\ 00607 uint8 BEAT=1\n\ 00608 uint8 CONDUIT=2\n\ 00609 uint8 GENERIC=3\n\ 00610 uint8 LEXICALIZED=4\n\ 00611 \n\ 00612 \n\ 00613 uint8 INDEX_FINGER=0\n\ 00614 uint8 THUMB=1\n\ 00615 uint8 OPEN_HAND=2\n\ 00616 uint8 FIST=3\n\ 00617 uint8 FINGER_RING=4\n\ 00618 uint8 CUP=5\n\ 00619 uint8 PURSE=6\n\ 00620 \n\ 00621 \n\ 00622 uint8 STRAIGHT=0\n\ 00623 uint8 CURVED=1\n\ 00624 uint8 CIRCULAR=2\n\ 00625 uint8 RECTANGULAR=3\n\ 00626 uint8 TRIANGULAR=4\n\ 00627 uint8 WAVE_LIKE=5\n\ 00628 uint8 ZIGZAG=6\n\ 00629 \n\ 00630 \n\ 00631 uint8 MIRROR=0\n\ 00632 uint8 ALTERNATE=1\n\ 00633 uint8 PARALLEL=2\n\ 00634 \n\ 00635 \n\ 00636 uint8 LOW=0\n\ 00637 uint8 CENTER=1\n\ 00638 uint8 HIGH=2\n\ 00639 \n\ 00640 \n\ 00641 uint8 LEFT=0\n\ 00642 \n\ 00643 uint8 RIGHT=2\n\ 00644 uint8 INWARD=3\n\ 00645 uint8 OUTWARD=4\n\ 00646 \n\ 00647 \n\ 00648 uint8 CONTACT=0\n\ 00649 uint8 NEAR=1\n\ 00650 uint8 MEDIUM=2\n\ 00651 uint8 FAR=3\n\ 00652 \n\ 00653 \n\ 00654 uint8 SMALL=0\n\ 00655 \n\ 00656 uint8 LARGE=1\n\ 00657 uint8 EXTRA_LARGE=3\n\ 00658 \n\ 00659 \n\ 00660 uint8 WEAK=0\n\ 00661 uint8 NORMAL=1\n\ 00662 uint8 FORCEFUL=2\n\ 00663 \n\ 00664 \n\ 00665 bml_msgs/Behavior behav\n\ 00666 uint8 type\n\ 00667 bml_msgs/Flag side\n\ 00668 int32 repetition\n\ 00669 bml_msgs/Entity target\n\ 00670 uint8 handShape\n\ 00671 bml_msgs/Direction fingerDirection\n\ 00672 bml_msgs/Direction palmDirection\n\ 00673 uint8 trajectory\n\ 00674 uint8 twoHanded\n\ 00675 uint8 verticalLocation\n\ 00676 uint8 horizontalLocation\n\ 00677 uint8 distance\n\ 00678 bml_msgs/Direction moveDirection\n\ 00679 string lexeme\n\ 00680 uint8 amplitude\n\ 00681 uint8 power\n\ 00682 \n\ 00683 \n\ 00684 ================================================================================\n\ 00685 MSG: bml_msgs/Behavior\n\ 00686 # this message type contains the information for basic behavior types\n\ 00687 \n\ 00688 #constants for the synch point\n\ 00689 uint8 START=0\n\ 00690 uint8 READY=1\n\ 00691 uint8 STROKE_START=2\n\ 00692 uint8 STROKE=3\n\ 00693 uint8 STROKE_END=4\n\ 00694 uint8 RELAX=5\n\ 00695 uint8 END=6\n\ 00696 \n\ 00697 # the fields\n\ 00698 string id\n\ 00699 uint8 synchPoint\n\ 00700 \n\ 00701 ================================================================================\n\ 00702 MSG: bml_msgs/Flag\n\ 00703 # A flag which determines between TRUE and FALSE\n\ 00704 int8 value\n\ 00705 \n\ 00706 # Constant for an invalid value\n\ 00707 int8 INVALID=-1\n\ 00708 \n\ 00709 # Constants which define the values for true\n\ 00710 int8 TRUE=1\n\ 00711 int8 START=1\n\ 00712 int8 BEGIN=1\n\ 00713 int8 SUCCESS=1\n\ 00714 int8 DONE=1\n\ 00715 \n\ 00716 # Constants which define the values for false\n\ 00717 int8 FALSE=0\n\ 00718 int8 STOP=0\n\ 00719 int8 END=0\n\ 00720 int8 FAILURE=0\n\ 00721 int8 NOT_DONE=0\n\ 00722 \n\ 00723 # Constants for response types\n\ 00724 int8 OPTIONAL_RESPONSE=0\n\ 00725 int8 IS_A_RESPONSE=1\n\ 00726 int8 REQUIRES_RESPONSE=2\n\ 00727 int8 BACKCHANNEL=3\n\ 00728 \n\ 00729 # Constants which define the values for the side to use\n\ 00730 int8 NEITHER=0\n\ 00731 int8 LEFT=1\n\ 00732 int8 RIGHT=2\n\ 00733 int8 EITHER=3\n\ 00734 \n\ 00735 ================================================================================\n\ 00736 MSG: bml_msgs/Entity\n\ 00737 #The following constants represent all possible salient objects\n\ 00738 uint8 OBJECT=0\n\ 00739 uint8 HAND=1\n\ 00740 uint8 FACE=2\n\ 00741 uint8 QUADRANT=3\n\ 00742 uint8 UNKNOWN=4\n\ 00743 \n\ 00744 # Constants for the upper quadrants\n\ 00745 string UP_LEFT=UP_LEFT\n\ 00746 string UP_FRONT=UP_FRONT\n\ 00747 string UP_RIGHT=UP_RIGHT\n\ 00748 \n\ 00749 # Constants for the middle quadrants\n\ 00750 string STRAIGHT_LEFT=STRAIGHT_LEFT\n\ 00751 string STRAIGHT_FRONT=STRAIGHT_FRONT\n\ 00752 string STRAIGHT_RIGHT=STRAIGHT_RIGHT\n\ 00753 \n\ 00754 # Constants for the lower quadrants\n\ 00755 string DOWN_LEFT=DOWN_LEFT\n\ 00756 string DOWN_FRONT=DOWN_FRONT\n\ 00757 string DOWN_RIGHT=DOWN_RIGHT\n\ 00758 \n\ 00759 #there is just one field for type\n\ 00760 uint8 type\n\ 00761 \n\ 00762 # The id of the object\n\ 00763 string id\n\ 00764 \n\ 00765 ================================================================================\n\ 00766 MSG: bml_msgs/Direction\n\ 00767 # the direction message is used by offsetting or directing actions\n\ 00768 uint8 value\n\ 00769 \n\ 00770 uint8 RIGHT=1\n\ 00771 uint8 LEFT=2\n\ 00772 uint8 UP=3\n\ 00773 uint8 DOWN=4\n\ 00774 uint8 UP_RIGHT=5\n\ 00775 uint8 UP_LEFT=6\n\ 00776 uint8 DOWN_LEFT=7\n\ 00777 uint8 DOWN_RIGHT=8\n\ 00778 uint8 POLAR=0\n\ 00779 \n\ 00780 "; 00781 } 00782 00783 static const char* value(const ::bml_srvs::BMLGestureRequest_<ContainerAllocator> &) { return value(); } 00784 }; 00785 00786 } // namespace message_traits 00787 } // namespace ros 00788 00789 00790 namespace ros 00791 { 00792 namespace message_traits 00793 { 00794 template<class ContainerAllocator> 00795 struct MD5Sum< ::bml_srvs::BMLGestureResponse_<ContainerAllocator> > { 00796 static const char* value() 00797 { 00798 return "f7423aea1727c03e08611ec029888e5d"; 00799 } 00800 00801 static const char* value(const ::bml_srvs::BMLGestureResponse_<ContainerAllocator> &) { return value(); } 00802 static const uint64_t static_value1 = 0xf7423aea1727c03eULL; 00803 static const uint64_t static_value2 = 0x08611ec029888e5dULL; 00804 }; 00805 00806 template<class ContainerAllocator> 00807 struct DataType< ::bml_srvs::BMLGestureResponse_<ContainerAllocator> > { 00808 static const char* value() 00809 { 00810 return "bml_srvs/BMLGestureResponse"; 00811 } 00812 00813 static const char* value(const ::bml_srvs::BMLGestureResponse_<ContainerAllocator> &) { return value(); } 00814 }; 00815 00816 template<class ContainerAllocator> 00817 struct Definition< ::bml_srvs::BMLGestureResponse_<ContainerAllocator> > { 00818 static const char* value() 00819 { 00820 return "\n\ 00821 bml_msgs/Flag status\n\ 00822 \n\ 00823 \n\ 00824 ================================================================================\n\ 00825 MSG: bml_msgs/Flag\n\ 00826 # A flag which determines between TRUE and FALSE\n\ 00827 int8 value\n\ 00828 \n\ 00829 # Constant for an invalid value\n\ 00830 int8 INVALID=-1\n\ 00831 \n\ 00832 # Constants which define the values for true\n\ 00833 int8 TRUE=1\n\ 00834 int8 START=1\n\ 00835 int8 BEGIN=1\n\ 00836 int8 SUCCESS=1\n\ 00837 int8 DONE=1\n\ 00838 \n\ 00839 # Constants which define the values for false\n\ 00840 int8 FALSE=0\n\ 00841 int8 STOP=0\n\ 00842 int8 END=0\n\ 00843 int8 FAILURE=0\n\ 00844 int8 NOT_DONE=0\n\ 00845 \n\ 00846 # Constants for response types\n\ 00847 int8 OPTIONAL_RESPONSE=0\n\ 00848 int8 IS_A_RESPONSE=1\n\ 00849 int8 REQUIRES_RESPONSE=2\n\ 00850 int8 BACKCHANNEL=3\n\ 00851 \n\ 00852 # Constants which define the values for the side to use\n\ 00853 int8 NEITHER=0\n\ 00854 int8 LEFT=1\n\ 00855 int8 RIGHT=2\n\ 00856 int8 EITHER=3\n\ 00857 \n\ 00858 "; 00859 } 00860 00861 static const char* value(const ::bml_srvs::BMLGestureResponse_<ContainerAllocator> &) { return value(); } 00862 }; 00863 00864 template<class ContainerAllocator> struct IsFixedSize< ::bml_srvs::BMLGestureResponse_<ContainerAllocator> > : public TrueType {}; 00865 } // namespace message_traits 00866 } // namespace ros 00867 00868 namespace ros 00869 { 00870 namespace serialization 00871 { 00872 00873 template<class ContainerAllocator> struct Serializer< ::bml_srvs::BMLGestureRequest_<ContainerAllocator> > 00874 { 00875 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00876 { 00877 stream.next(m.behav); 00878 stream.next(m.type); 00879 stream.next(m.side); 00880 stream.next(m.repetition); 00881 stream.next(m.target); 00882 stream.next(m.handShape); 00883 stream.next(m.fingerDirection); 00884 stream.next(m.palmDirection); 00885 stream.next(m.trajectory); 00886 stream.next(m.twoHanded); 00887 stream.next(m.verticalLocation); 00888 stream.next(m.horizontalLocation); 00889 stream.next(m.distance); 00890 stream.next(m.moveDirection); 00891 stream.next(m.lexeme); 00892 stream.next(m.amplitude); 00893 stream.next(m.power); 00894 } 00895 00896 ROS_DECLARE_ALLINONE_SERIALIZER; 00897 }; // struct BMLGestureRequest_ 00898 } // namespace serialization 00899 } // namespace ros 00900 00901 00902 namespace ros 00903 { 00904 namespace serialization 00905 { 00906 00907 template<class ContainerAllocator> struct Serializer< ::bml_srvs::BMLGestureResponse_<ContainerAllocator> > 00908 { 00909 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00910 { 00911 stream.next(m.status); 00912 } 00913 00914 ROS_DECLARE_ALLINONE_SERIALIZER; 00915 }; // struct BMLGestureResponse_ 00916 } // namespace serialization 00917 } // namespace ros 00918 00919 namespace ros 00920 { 00921 namespace service_traits 00922 { 00923 template<> 00924 struct MD5Sum<bml_srvs::BMLGesture> { 00925 static const char* value() 00926 { 00927 return "1158050cd2a01b70e5b144126b4a6d43"; 00928 } 00929 00930 static const char* value(const bml_srvs::BMLGesture&) { return value(); } 00931 }; 00932 00933 template<> 00934 struct DataType<bml_srvs::BMLGesture> { 00935 static const char* value() 00936 { 00937 return "bml_srvs/BMLGesture"; 00938 } 00939 00940 static const char* value(const bml_srvs::BMLGesture&) { return value(); } 00941 }; 00942 00943 template<class ContainerAllocator> 00944 struct MD5Sum<bml_srvs::BMLGestureRequest_<ContainerAllocator> > { 00945 static const char* value() 00946 { 00947 return "1158050cd2a01b70e5b144126b4a6d43"; 00948 } 00949 00950 static const char* value(const bml_srvs::BMLGestureRequest_<ContainerAllocator> &) { return value(); } 00951 }; 00952 00953 template<class ContainerAllocator> 00954 struct DataType<bml_srvs::BMLGestureRequest_<ContainerAllocator> > { 00955 static const char* value() 00956 { 00957 return "bml_srvs/BMLGesture"; 00958 } 00959 00960 static const char* value(const bml_srvs::BMLGestureRequest_<ContainerAllocator> &) { return value(); } 00961 }; 00962 00963 template<class ContainerAllocator> 00964 struct MD5Sum<bml_srvs::BMLGestureResponse_<ContainerAllocator> > { 00965 static const char* value() 00966 { 00967 return "1158050cd2a01b70e5b144126b4a6d43"; 00968 } 00969 00970 static const char* value(const bml_srvs::BMLGestureResponse_<ContainerAllocator> &) { return value(); } 00971 }; 00972 00973 template<class ContainerAllocator> 00974 struct DataType<bml_srvs::BMLGestureResponse_<ContainerAllocator> > { 00975 static const char* value() 00976 { 00977 return "bml_srvs/BMLGesture"; 00978 } 00979 00980 static const char* value(const bml_srvs::BMLGestureResponse_<ContainerAllocator> &) { return value(); } 00981 }; 00982 00983 } // namespace service_traits 00984 } // namespace ros 00985 00986 #endif // BML_SRVS_SERVICE_BMLGESTURE_H 00987 |