Go to the documentation of this file.00001
00002 #ifndef PR2_GRIPPER_SENSOR_MSGS_MESSAGE_PR2GRIPPERFORCESERVOGOAL_H
00003 #define PR2_GRIPPER_SENSOR_MSGS_MESSAGE_PR2GRIPPERFORCESERVOGOAL_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/PR2GripperForceServoCommand.h"
00018
00019 namespace pr2_gripper_sensor_msgs
00020 {
00021 template <class ContainerAllocator>
00022 struct PR2GripperForceServoGoal_ {
00023 typedef PR2GripperForceServoGoal_<ContainerAllocator> Type;
00024
00025 PR2GripperForceServoGoal_()
00026 : command()
00027 {
00028 }
00029
00030 PR2GripperForceServoGoal_(const ContainerAllocator& _alloc)
00031 : command(_alloc)
00032 {
00033 }
00034
00035 typedef ::pr2_gripper_sensor_msgs::PR2GripperForceServoCommand_<ContainerAllocator> _command_type;
00036 ::pr2_gripper_sensor_msgs::PR2GripperForceServoCommand_<ContainerAllocator> command;
00037
00038
00039 typedef boost::shared_ptr< ::pr2_gripper_sensor_msgs::PR2GripperForceServoGoal_<ContainerAllocator> > Ptr;
00040 typedef boost::shared_ptr< ::pr2_gripper_sensor_msgs::PR2GripperForceServoGoal_<ContainerAllocator> const> ConstPtr;
00041 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00042 };
00043 typedef ::pr2_gripper_sensor_msgs::PR2GripperForceServoGoal_<std::allocator<void> > PR2GripperForceServoGoal;
00044
00045 typedef boost::shared_ptr< ::pr2_gripper_sensor_msgs::PR2GripperForceServoGoal> PR2GripperForceServoGoalPtr;
00046 typedef boost::shared_ptr< ::pr2_gripper_sensor_msgs::PR2GripperForceServoGoal const> PR2GripperForceServoGoalConstPtr;
00047
00048
00049 template<typename ContainerAllocator>
00050 std::ostream& operator<<(std::ostream& s, const ::pr2_gripper_sensor_msgs::PR2GripperForceServoGoal_<ContainerAllocator> & v)
00051 {
00052 ros::message_operations::Printer< ::pr2_gripper_sensor_msgs::PR2GripperForceServoGoal_<ContainerAllocator> >::stream(s, "", v);
00053 return s;}
00054
00055 }
00056
00057 namespace ros
00058 {
00059 namespace message_traits
00060 {
00061 template<class ContainerAllocator> struct IsMessage< ::pr2_gripper_sensor_msgs::PR2GripperForceServoGoal_<ContainerAllocator> > : public TrueType {};
00062 template<class ContainerAllocator> struct IsMessage< ::pr2_gripper_sensor_msgs::PR2GripperForceServoGoal_<ContainerAllocator> const> : public TrueType {};
00063 template<class ContainerAllocator>
00064 struct MD5Sum< ::pr2_gripper_sensor_msgs::PR2GripperForceServoGoal_<ContainerAllocator> > {
00065 static const char* value()
00066 {
00067 return "72dfec6461d0f26a4433260fc791bc48";
00068 }
00069
00070 static const char* value(const ::pr2_gripper_sensor_msgs::PR2GripperForceServoGoal_<ContainerAllocator> &) { return value(); }
00071 static const uint64_t static_value1 = 0x72dfec6461d0f26aULL;
00072 static const uint64_t static_value2 = 0x4433260fc791bc48ULL;
00073 };
00074
00075 template<class ContainerAllocator>
00076 struct DataType< ::pr2_gripper_sensor_msgs::PR2GripperForceServoGoal_<ContainerAllocator> > {
00077 static const char* value()
00078 {
00079 return "pr2_gripper_sensor_msgs/PR2GripperForceServoGoal";
00080 }
00081
00082 static const char* value(const ::pr2_gripper_sensor_msgs::PR2GripperForceServoGoal_<ContainerAllocator> &) { return value(); }
00083 };
00084
00085 template<class ContainerAllocator>
00086 struct Definition< ::pr2_gripper_sensor_msgs::PR2GripperForceServoGoal_<ContainerAllocator> > {
00087 static const char* value()
00088 {
00089 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00090 # Action to launch the gripper into force servoing mode \n\
00091 \n\
00092 #goals\n\
00093 PR2GripperForceServoCommand command\n\
00094 \n\
00095 ================================================================================\n\
00096 MSG: pr2_gripper_sensor_msgs/PR2GripperForceServoCommand\n\
00097 # the amount of fingertip force (in Newtons) to apply.\n\
00098 # NOTE: the joint will squeeze until each finger reaches this level\n\
00099 # values < 0 (opening force) are ignored\n\
00100 #\n\
00101 # 10 N can crack an egg or crush a soda can.\n\
00102 # 15 N can firmly pick up a can of soup.\n\
00103 # Experiment on your own.\n\
00104 #\n\
00105 float64 fingertip_force\n\
00106 ";
00107 }
00108
00109 static const char* value(const ::pr2_gripper_sensor_msgs::PR2GripperForceServoGoal_<ContainerAllocator> &) { return value(); }
00110 };
00111
00112 template<class ContainerAllocator> struct IsFixedSize< ::pr2_gripper_sensor_msgs::PR2GripperForceServoGoal_<ContainerAllocator> > : public TrueType {};
00113 }
00114 }
00115
00116 namespace ros
00117 {
00118 namespace serialization
00119 {
00120
00121 template<class ContainerAllocator> struct Serializer< ::pr2_gripper_sensor_msgs::PR2GripperForceServoGoal_<ContainerAllocator> >
00122 {
00123 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00124 {
00125 stream.next(m.command);
00126 }
00127
00128 ROS_DECLARE_ALLINONE_SERIALIZER;
00129 };
00130 }
00131 }
00132
00133 namespace ros
00134 {
00135 namespace message_operations
00136 {
00137
00138 template<class ContainerAllocator>
00139 struct Printer< ::pr2_gripper_sensor_msgs::PR2GripperForceServoGoal_<ContainerAllocator> >
00140 {
00141 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::pr2_gripper_sensor_msgs::PR2GripperForceServoGoal_<ContainerAllocator> & v)
00142 {
00143 s << indent << "command: ";
00144 s << std::endl;
00145 Printer< ::pr2_gripper_sensor_msgs::PR2GripperForceServoCommand_<ContainerAllocator> >::stream(s, indent + " ", v.command);
00146 }
00147 };
00148
00149
00150 }
00151 }
00152
00153 #endif // PR2_GRIPPER_SENSOR_MSGS_MESSAGE_PR2GRIPPERFORCESERVOGOAL_H
00154