Go to the documentation of this file.00001
00002 #ifndef PR2_GRIPPER_SENSOR_MSGS_MESSAGE_PR2GRIPPERRELEASEGOAL_H
00003 #define PR2_GRIPPER_SENSOR_MSGS_MESSAGE_PR2GRIPPERRELEASEGOAL_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/PR2GripperReleaseCommand.h"
00018
00019 namespace pr2_gripper_sensor_msgs
00020 {
00021 template <class ContainerAllocator>
00022 struct PR2GripperReleaseGoal_ {
00023 typedef PR2GripperReleaseGoal_<ContainerAllocator> Type;
00024
00025 PR2GripperReleaseGoal_()
00026 : command()
00027 {
00028 }
00029
00030 PR2GripperReleaseGoal_(const ContainerAllocator& _alloc)
00031 : command(_alloc)
00032 {
00033 }
00034
00035 typedef ::pr2_gripper_sensor_msgs::PR2GripperReleaseCommand_<ContainerAllocator> _command_type;
00036 ::pr2_gripper_sensor_msgs::PR2GripperReleaseCommand_<ContainerAllocator> command;
00037
00038
00039 typedef boost::shared_ptr< ::pr2_gripper_sensor_msgs::PR2GripperReleaseGoal_<ContainerAllocator> > Ptr;
00040 typedef boost::shared_ptr< ::pr2_gripper_sensor_msgs::PR2GripperReleaseGoal_<ContainerAllocator> const> ConstPtr;
00041 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00042 };
00043 typedef ::pr2_gripper_sensor_msgs::PR2GripperReleaseGoal_<std::allocator<void> > PR2GripperReleaseGoal;
00044
00045 typedef boost::shared_ptr< ::pr2_gripper_sensor_msgs::PR2GripperReleaseGoal> PR2GripperReleaseGoalPtr;
00046 typedef boost::shared_ptr< ::pr2_gripper_sensor_msgs::PR2GripperReleaseGoal const> PR2GripperReleaseGoalConstPtr;
00047
00048
00049 template<typename ContainerAllocator>
00050 std::ostream& operator<<(std::ostream& s, const ::pr2_gripper_sensor_msgs::PR2GripperReleaseGoal_<ContainerAllocator> & v)
00051 {
00052 ros::message_operations::Printer< ::pr2_gripper_sensor_msgs::PR2GripperReleaseGoal_<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::PR2GripperReleaseGoal_<ContainerAllocator> > : public TrueType {};
00062 template<class ContainerAllocator> struct IsMessage< ::pr2_gripper_sensor_msgs::PR2GripperReleaseGoal_<ContainerAllocator> const> : public TrueType {};
00063 template<class ContainerAllocator>
00064 struct MD5Sum< ::pr2_gripper_sensor_msgs::PR2GripperReleaseGoal_<ContainerAllocator> > {
00065 static const char* value()
00066 {
00067 return "f92a4c7c03d33b62ef7f6041bec6a43d";
00068 }
00069
00070 static const char* value(const ::pr2_gripper_sensor_msgs::PR2GripperReleaseGoal_<ContainerAllocator> &) { return value(); }
00071 static const uint64_t static_value1 = 0xf92a4c7c03d33b62ULL;
00072 static const uint64_t static_value2 = 0xef7f6041bec6a43dULL;
00073 };
00074
00075 template<class ContainerAllocator>
00076 struct DataType< ::pr2_gripper_sensor_msgs::PR2GripperReleaseGoal_<ContainerAllocator> > {
00077 static const char* value()
00078 {
00079 return "pr2_gripper_sensor_msgs/PR2GripperReleaseGoal";
00080 }
00081
00082 static const char* value(const ::pr2_gripper_sensor_msgs::PR2GripperReleaseGoal_<ContainerAllocator> &) { return value(); }
00083 };
00084
00085 template<class ContainerAllocator>
00086 struct Definition< ::pr2_gripper_sensor_msgs::PR2GripperReleaseGoal_<ContainerAllocator> > {
00087 static const char* value()
00088 {
00089 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00090 #goal\n\
00091 PR2GripperReleaseCommand command\n\
00092 \n\
00093 ================================================================================\n\
00094 MSG: pr2_gripper_sensor_msgs/PR2GripperReleaseCommand\n\
00095 # the event conditions we would like to trigger the robot to release on\n\
00096 PR2GripperEventDetectorCommand event\n\
00097 ================================================================================\n\
00098 MSG: pr2_gripper_sensor_msgs/PR2GripperEventDetectorCommand\n\
00099 # state variable that defines what events we would like to trigger on\n\
00100 # Leaving this field blank will result in the robot triggering when \n\
00101 # anything touches the sides of the finger or an impact is detected\n\
00102 # with the hand/arm.\n\
00103 int8 trigger_conditions\n\
00104 # definitions for our various trigger_conditions values\n\
00105 # trigger on either acceleration contact or finger sensor side impact\n\
00106 int8 FINGER_SIDE_IMPACT_OR_ACC = 0\n\
00107 # tigger once both slip and acceleration signals occur\n\
00108 int8 SLIP_AND_ACC = 1 \n\
00109 # trigger on either slip, acceleration, or finger sensor side impact\n\
00110 int8 FINGER_SIDE_IMPACT_OR_SLIP_OR_ACC = 2\n\
00111 # trigger only on slip information\n\
00112 int8 SLIP = 3\n\
00113 # trigger only on acceleration contact information\n\
00114 int8 ACC = 4 \n\
00115 \n\
00116 \n\
00117 # the amount of acceleration to trigger on (acceleration vector magnitude)\n\
00118 # Units = m/s^2\n\
00119 # The user needs to be concerned here about not setting the trigger too\n\
00120 # low so that is set off by the robot's own motions.\n\
00121 #\n\
00122 # For large rapid motions, say by a motion planner, 5 m/s^2 is a good level\n\
00123 # For small delicate controlled motions this can be set MUCH lower (try 2.0)\n\
00124 #\n\
00125 # NOTE: When moving the gripper joint (opening/closing the grippr)\n\
00126 # the high gearing of the PR2 gripper causes large acceleration vibrations\n\
00127 # which will cause triggering to occur. This is a known drawback of the PR2.\n\
00128 #\n\
00129 # NOTE: Leaving this value blank will result in a 0 m/s^2 trigger. If you\n\
00130 # are using a trigger_conditions value that returns on acceleration contact\n\
00131 # events then it will immediately exceed your trigger and return\n\
00132 float64 acceleration_trigger_magnitude\n\
00133 \n\
00134 \n\
00135 # the slip detector gain to trigger on (either finger) : try 0.01\n\
00136 # higher values decrease slip sensitivty (to a point)\n\
00137 # lower values increase sensitivity (to a point)\n\
00138 #\n\
00139 # NOTE: Leaving this value blank will result in the most sensitive slip level.\n\
00140 float64 slip_trigger_magnitude\n\
00141 ";
00142 }
00143
00144 static const char* value(const ::pr2_gripper_sensor_msgs::PR2GripperReleaseGoal_<ContainerAllocator> &) { return value(); }
00145 };
00146
00147 template<class ContainerAllocator> struct IsFixedSize< ::pr2_gripper_sensor_msgs::PR2GripperReleaseGoal_<ContainerAllocator> > : public TrueType {};
00148 }
00149 }
00150
00151 namespace ros
00152 {
00153 namespace serialization
00154 {
00155
00156 template<class ContainerAllocator> struct Serializer< ::pr2_gripper_sensor_msgs::PR2GripperReleaseGoal_<ContainerAllocator> >
00157 {
00158 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00159 {
00160 stream.next(m.command);
00161 }
00162
00163 ROS_DECLARE_ALLINONE_SERIALIZER;
00164 };
00165 }
00166 }
00167
00168 namespace ros
00169 {
00170 namespace message_operations
00171 {
00172
00173 template<class ContainerAllocator>
00174 struct Printer< ::pr2_gripper_sensor_msgs::PR2GripperReleaseGoal_<ContainerAllocator> >
00175 {
00176 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::pr2_gripper_sensor_msgs::PR2GripperReleaseGoal_<ContainerAllocator> & v)
00177 {
00178 s << indent << "command: ";
00179 s << std::endl;
00180 Printer< ::pr2_gripper_sensor_msgs::PR2GripperReleaseCommand_<ContainerAllocator> >::stream(s, indent + " ", v.command);
00181 }
00182 };
00183
00184
00185 }
00186 }
00187
00188 #endif // PR2_GRIPPER_SENSOR_MSGS_MESSAGE_PR2GRIPPERRELEASEGOAL_H
00189