Just changed OUTPUT_SIZE and INPUT_SIZE in ros/node_handle.h
Dependents: WRS2020_mecanum_node
Constants.h
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 Constants() 00023 { 00024 } 00025 00026 virtual int serialize(unsigned char *outbuffer) const 00027 { 00028 int offset = 0; 00029 return offset; 00030 } 00031 00032 virtual int deserialize(unsigned char *inbuffer) 00033 { 00034 int offset = 0; 00035 return offset; 00036 } 00037 00038 const char * getType(){ return "bond/Constants"; }; 00039 const char * getMD5(){ return "6fc594dc1d7bd7919077042712f8c8b0"; }; 00040 00041 }; 00042 00043 } 00044 #endif
Generated on Tue Jul 12 2022 18:49:18 by 1.7.2