00001
00002 #ifndef PR2_GRIPPER_SENSOR_MSGS_MESSAGE_PR2GRIPPERSLIPSERVOCOMMAND_H
00003 #define PR2_GRIPPER_SENSOR_MSGS_MESSAGE_PR2GRIPPERSLIPSERVOCOMMAND_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
00014 namespace pr2_gripper_sensor_msgs
00015 {
00016 template <class ContainerAllocator>
00017 struct PR2GripperSlipServoCommand_ : public ros::Message
00018 {
00019 typedef PR2GripperSlipServoCommand_<ContainerAllocator> Type;
00020
00021 PR2GripperSlipServoCommand_()
00022 {
00023 }
00024
00025 PR2GripperSlipServoCommand_(const ContainerAllocator& _alloc)
00026 {
00027 }
00028
00029
00030 private:
00031 static const char* __s_getDataType_() { return "pr2_gripper_sensor_msgs/PR2GripperSlipServoCommand"; }
00032 public:
00033 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }
00034
00035 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); }
00036
00037 private:
00038 static const char* __s_getMD5Sum_() { return "d41d8cd98f00b204e9800998ecf8427e"; }
00039 public:
00040 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }
00041
00042 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); }
00043
00044 private:
00045 static const char* __s_getMessageDefinition_() { return "# this command is currently blank, but may see additional variable\n\
00046 # additions in the future\n\
00047 \n\
00048 # see the param server documentation for a list of variables that effect\n\
00049 # slip servo performance\n\
00050 "; }
00051 public:
00052 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00053
00054 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00055
00056 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00057 {
00058 ros::serialization::OStream stream(write_ptr, 1000000000);
00059 return stream.getData();
00060 }
00061
00062 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00063 {
00064 ros::serialization::IStream stream(read_ptr, 1000000000);
00065 return stream.getData();
00066 }
00067
00068 ROS_DEPRECATED virtual uint32_t serializationLength() const
00069 {
00070 uint32_t size = 0;
00071 return size;
00072 }
00073
00074 typedef boost::shared_ptr< ::pr2_gripper_sensor_msgs::PR2GripperSlipServoCommand_<ContainerAllocator> > Ptr;
00075 typedef boost::shared_ptr< ::pr2_gripper_sensor_msgs::PR2GripperSlipServoCommand_<ContainerAllocator> const> ConstPtr;
00076 };
00077 typedef ::pr2_gripper_sensor_msgs::PR2GripperSlipServoCommand_<std::allocator<void> > PR2GripperSlipServoCommand;
00078
00079 typedef boost::shared_ptr< ::pr2_gripper_sensor_msgs::PR2GripperSlipServoCommand> PR2GripperSlipServoCommandPtr;
00080 typedef boost::shared_ptr< ::pr2_gripper_sensor_msgs::PR2GripperSlipServoCommand const> PR2GripperSlipServoCommandConstPtr;
00081
00082
00083 template<typename ContainerAllocator>
00084 std::ostream& operator<<(std::ostream& s, const ::pr2_gripper_sensor_msgs::PR2GripperSlipServoCommand_<ContainerAllocator> & v)
00085 {
00086 ros::message_operations::Printer< ::pr2_gripper_sensor_msgs::PR2GripperSlipServoCommand_<ContainerAllocator> >::stream(s, "", v);
00087 return s;}
00088
00089 }
00090
00091 namespace ros
00092 {
00093 namespace message_traits
00094 {
00095 template<class ContainerAllocator>
00096 struct MD5Sum< ::pr2_gripper_sensor_msgs::PR2GripperSlipServoCommand_<ContainerAllocator> > {
00097 static const char* value()
00098 {
00099 return "d41d8cd98f00b204e9800998ecf8427e";
00100 }
00101
00102 static const char* value(const ::pr2_gripper_sensor_msgs::PR2GripperSlipServoCommand_<ContainerAllocator> &) { return value(); }
00103 static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL;
00104 static const uint64_t static_value2 = 0xe9800998ecf8427eULL;
00105 };
00106
00107 template<class ContainerAllocator>
00108 struct DataType< ::pr2_gripper_sensor_msgs::PR2GripperSlipServoCommand_<ContainerAllocator> > {
00109 static const char* value()
00110 {
00111 return "pr2_gripper_sensor_msgs/PR2GripperSlipServoCommand";
00112 }
00113
00114 static const char* value(const ::pr2_gripper_sensor_msgs::PR2GripperSlipServoCommand_<ContainerAllocator> &) { return value(); }
00115 };
00116
00117 template<class ContainerAllocator>
00118 struct Definition< ::pr2_gripper_sensor_msgs::PR2GripperSlipServoCommand_<ContainerAllocator> > {
00119 static const char* value()
00120 {
00121 return "# this command is currently blank, but may see additional variable\n\
00122 # additions in the future\n\
00123 \n\
00124 # see the param server documentation for a list of variables that effect\n\
00125 # slip servo performance\n\
00126 ";
00127 }
00128
00129 static const char* value(const ::pr2_gripper_sensor_msgs::PR2GripperSlipServoCommand_<ContainerAllocator> &) { return value(); }
00130 };
00131
00132 template<class ContainerAllocator> struct IsFixedSize< ::pr2_gripper_sensor_msgs::PR2GripperSlipServoCommand_<ContainerAllocator> > : public TrueType {};
00133 }
00134 }
00135
00136 namespace ros
00137 {
00138 namespace serialization
00139 {
00140
00141 template<class ContainerAllocator> struct Serializer< ::pr2_gripper_sensor_msgs::PR2GripperSlipServoCommand_<ContainerAllocator> >
00142 {
00143 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00144 {
00145 }
00146
00147 ROS_DECLARE_ALLINONE_SERIALIZER;
00148 };
00149 }
00150 }
00151
00152 namespace ros
00153 {
00154 namespace message_operations
00155 {
00156
00157 template<class ContainerAllocator>
00158 struct Printer< ::pr2_gripper_sensor_msgs::PR2GripperSlipServoCommand_<ContainerAllocator> >
00159 {
00160 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::pr2_gripper_sensor_msgs::PR2GripperSlipServoCommand_<ContainerAllocator> & v)
00161 {
00162 }
00163 };
00164
00165
00166 }
00167 }
00168
00169 #endif // PR2_GRIPPER_SENSOR_MSGS_MESSAGE_PR2GRIPPERSLIPSERVOCOMMAND_H
00170