00001
00002 #ifndef PR2_GRIPPER_SENSOR_MSGS_MESSAGE_PR2GRIPPERSLIPSERVOGOAL_H
00003 #define PR2_GRIPPER_SENSOR_MSGS_MESSAGE_PR2GRIPPERSLIPSERVOGOAL_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 "pr2_gripper_sensor_msgs/PR2GripperSlipServoCommand.h"
00018
00019 namespace pr2_gripper_sensor_msgs
00020 {
00021 template <class ContainerAllocator>
00022 struct PR2GripperSlipServoGoal_ {
00023 typedef PR2GripperSlipServoGoal_<ContainerAllocator> Type;
00024
00025 PR2GripperSlipServoGoal_()
00026 : command()
00027 {
00028 }
00029
00030 PR2GripperSlipServoGoal_(const ContainerAllocator& _alloc)
00031 : command(_alloc)
00032 {
00033 }
00034
00035 typedef ::pr2_gripper_sensor_msgs::PR2GripperSlipServoCommand_<ContainerAllocator> _command_type;
00036 ::pr2_gripper_sensor_msgs::PR2GripperSlipServoCommand_<ContainerAllocator> command;
00037
00038
00039 private:
00040 static const char* __s_getDataType_() { return "pr2_gripper_sensor_msgs/PR2GripperSlipServoGoal"; }
00041 public:
00042 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }
00043
00044 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); }
00045
00046 private:
00047 static const char* __s_getMD5Sum_() { return "bf76e656d304158c04ab279db7cefc85"; }
00048 public:
00049 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }
00050
00051 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); }
00052
00053 private:
00054 static const char* __s_getMessageDefinition_() { return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00055 # Action to launch the gripper into slip servoing mode \n\
00056 \n\
00057 #goals\n\
00058 PR2GripperSlipServoCommand command\n\
00059 \n\
00060 ================================================================================\n\
00061 MSG: pr2_gripper_sensor_msgs/PR2GripperSlipServoCommand\n\
00062 # this command is currently blank, but may see additional variable\n\
00063 # additions in the future\n\
00064 \n\
00065 # see the param server documentation for a list of variables that effect\n\
00066 # slip servo performance\n\
00067 "; }
00068 public:
00069 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00070
00071 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00072
00073 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00074 {
00075 ros::serialization::OStream stream(write_ptr, 1000000000);
00076 ros::serialization::serialize(stream, command);
00077 return stream.getData();
00078 }
00079
00080 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00081 {
00082 ros::serialization::IStream stream(read_ptr, 1000000000);
00083 ros::serialization::deserialize(stream, command);
00084 return stream.getData();
00085 }
00086
00087 ROS_DEPRECATED virtual uint32_t serializationLength() const
00088 {
00089 uint32_t size = 0;
00090 size += ros::serialization::serializationLength(command);
00091 return size;
00092 }
00093
00094 typedef boost::shared_ptr< ::pr2_gripper_sensor_msgs::PR2GripperSlipServoGoal_<ContainerAllocator> > Ptr;
00095 typedef boost::shared_ptr< ::pr2_gripper_sensor_msgs::PR2GripperSlipServoGoal_<ContainerAllocator> const> ConstPtr;
00096 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00097 };
00098 typedef ::pr2_gripper_sensor_msgs::PR2GripperSlipServoGoal_<std::allocator<void> > PR2GripperSlipServoGoal;
00099
00100 typedef boost::shared_ptr< ::pr2_gripper_sensor_msgs::PR2GripperSlipServoGoal> PR2GripperSlipServoGoalPtr;
00101 typedef boost::shared_ptr< ::pr2_gripper_sensor_msgs::PR2GripperSlipServoGoal const> PR2GripperSlipServoGoalConstPtr;
00102
00103
00104 template<typename ContainerAllocator>
00105 std::ostream& operator<<(std::ostream& s, const ::pr2_gripper_sensor_msgs::PR2GripperSlipServoGoal_<ContainerAllocator> & v)
00106 {
00107 ros::message_operations::Printer< ::pr2_gripper_sensor_msgs::PR2GripperSlipServoGoal_<ContainerAllocator> >::stream(s, "", v);
00108 return s;}
00109
00110 }
00111
00112 namespace ros
00113 {
00114 namespace message_traits
00115 {
00116 template<class ContainerAllocator> struct IsMessage< ::pr2_gripper_sensor_msgs::PR2GripperSlipServoGoal_<ContainerAllocator> > : public TrueType {};
00117 template<class ContainerAllocator> struct IsMessage< ::pr2_gripper_sensor_msgs::PR2GripperSlipServoGoal_<ContainerAllocator> const> : public TrueType {};
00118 template<class ContainerAllocator>
00119 struct MD5Sum< ::pr2_gripper_sensor_msgs::PR2GripperSlipServoGoal_<ContainerAllocator> > {
00120 static const char* value()
00121 {
00122 return "bf76e656d304158c04ab279db7cefc85";
00123 }
00124
00125 static const char* value(const ::pr2_gripper_sensor_msgs::PR2GripperSlipServoGoal_<ContainerAllocator> &) { return value(); }
00126 static const uint64_t static_value1 = 0xbf76e656d304158cULL;
00127 static const uint64_t static_value2 = 0x04ab279db7cefc85ULL;
00128 };
00129
00130 template<class ContainerAllocator>
00131 struct DataType< ::pr2_gripper_sensor_msgs::PR2GripperSlipServoGoal_<ContainerAllocator> > {
00132 static const char* value()
00133 {
00134 return "pr2_gripper_sensor_msgs/PR2GripperSlipServoGoal";
00135 }
00136
00137 static const char* value(const ::pr2_gripper_sensor_msgs::PR2GripperSlipServoGoal_<ContainerAllocator> &) { return value(); }
00138 };
00139
00140 template<class ContainerAllocator>
00141 struct Definition< ::pr2_gripper_sensor_msgs::PR2GripperSlipServoGoal_<ContainerAllocator> > {
00142 static const char* value()
00143 {
00144 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00145 # Action to launch the gripper into slip servoing mode \n\
00146 \n\
00147 #goals\n\
00148 PR2GripperSlipServoCommand command\n\
00149 \n\
00150 ================================================================================\n\
00151 MSG: pr2_gripper_sensor_msgs/PR2GripperSlipServoCommand\n\
00152 # this command is currently blank, but may see additional variable\n\
00153 # additions in the future\n\
00154 \n\
00155 # see the param server documentation for a list of variables that effect\n\
00156 # slip servo performance\n\
00157 ";
00158 }
00159
00160 static const char* value(const ::pr2_gripper_sensor_msgs::PR2GripperSlipServoGoal_<ContainerAllocator> &) { return value(); }
00161 };
00162
00163 template<class ContainerAllocator> struct IsFixedSize< ::pr2_gripper_sensor_msgs::PR2GripperSlipServoGoal_<ContainerAllocator> > : public TrueType {};
00164 }
00165 }
00166
00167 namespace ros
00168 {
00169 namespace serialization
00170 {
00171
00172 template<class ContainerAllocator> struct Serializer< ::pr2_gripper_sensor_msgs::PR2GripperSlipServoGoal_<ContainerAllocator> >
00173 {
00174 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00175 {
00176 stream.next(m.command);
00177 }
00178
00179 ROS_DECLARE_ALLINONE_SERIALIZER;
00180 };
00181 }
00182 }
00183
00184 namespace ros
00185 {
00186 namespace message_operations
00187 {
00188
00189 template<class ContainerAllocator>
00190 struct Printer< ::pr2_gripper_sensor_msgs::PR2GripperSlipServoGoal_<ContainerAllocator> >
00191 {
00192 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::pr2_gripper_sensor_msgs::PR2GripperSlipServoGoal_<ContainerAllocator> & v)
00193 {
00194 s << indent << "command: ";
00195 s << std::endl;
00196 Printer< ::pr2_gripper_sensor_msgs::PR2GripperSlipServoCommand_<ContainerAllocator> >::stream(s, indent + " ", v.command);
00197 }
00198 };
00199
00200
00201 }
00202 }
00203
00204 #endif // PR2_GRIPPER_SENSOR_MSGS_MESSAGE_PR2GRIPPERSLIPSERVOGOAL_H
00205