00001 #ifndef _ROS_bond_Constants_h 00002 #define _ROS_bond_Constants_h 00003 00004 #include <stdint.h> 00005 #include <string.h> 00006 #include <stdlib.h> 00007 #include "ros/msg.h" 00008 00009 namespace bond 00010 { 00011 00012 class Constants : public ros::Msg 00013 { 00014 public: 00015 enum { DEAD_PUBLISH_PERIOD = 0.05 }; 00016 enum { DEFAULT_CONNECT_TIMEOUT = 10.0 }; 00017 enum { DEFAULT_HEARTBEAT_TIMEOUT = 4.0 }; 00018 enum { DEFAULT_DISCONNECT_TIMEOUT = 2.0 }; 00019 enum { DEFAULT_HEARTBEAT_PERIOD = 1.0 }; 00020 enum { DISABLE_HEARTBEAT_TIMEOUT_PARAM = /bond_disable_heartbeat_timeout }; 00021 00022 virtual int serialize(unsigned char *outbuffer) const 00023 { 00024 int offset = 0; 00025 return offset; 00026 } 00027 00028 virtual int deserialize(unsigned char *inbuffer) 00029 { 00030 int offset = 0; 00031 return offset; 00032 } 00033 00034 const char * getType(){ return "bond/Constants"; }; 00035 const char * getMD5(){ return "6fc594dc1d7bd7919077042712f8c8b0"; }; 00036 00037 }; 00038 00039 } 00040 #endif