00001
00002 #ifndef PR2_GRIPPER_SENSOR_MSGS_MESSAGE_PR2GRIPPEREVENTDETECTORACTION_H
00003 #define PR2_GRIPPER_SENSOR_MSGS_MESSAGE_PR2GRIPPEREVENTDETECTORACTION_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 #include "pr2_gripper_sensor_msgs/PR2GripperEventDetectorActionGoal.h"
00014 #include "pr2_gripper_sensor_msgs/PR2GripperEventDetectorActionResult.h"
00015 #include "pr2_gripper_sensor_msgs/PR2GripperEventDetectorActionFeedback.h"
00016
00017 namespace pr2_gripper_sensor_msgs
00018 {
00019 template <class ContainerAllocator>
00020 struct PR2GripperEventDetectorAction_ : public ros::Message
00021 {
00022 typedef PR2GripperEventDetectorAction_<ContainerAllocator> Type;
00023
00024 PR2GripperEventDetectorAction_()
00025 : action_goal()
00026 , action_result()
00027 , action_feedback()
00028 {
00029 }
00030
00031 PR2GripperEventDetectorAction_(const ContainerAllocator& _alloc)
00032 : action_goal(_alloc)
00033 , action_result(_alloc)
00034 , action_feedback(_alloc)
00035 {
00036 }
00037
00038 typedef ::pr2_gripper_sensor_msgs::PR2GripperEventDetectorActionGoal_<ContainerAllocator> _action_goal_type;
00039 ::pr2_gripper_sensor_msgs::PR2GripperEventDetectorActionGoal_<ContainerAllocator> action_goal;
00040
00041 typedef ::pr2_gripper_sensor_msgs::PR2GripperEventDetectorActionResult_<ContainerAllocator> _action_result_type;
00042 ::pr2_gripper_sensor_msgs::PR2GripperEventDetectorActionResult_<ContainerAllocator> action_result;
00043
00044 typedef ::pr2_gripper_sensor_msgs::PR2GripperEventDetectorActionFeedback_<ContainerAllocator> _action_feedback_type;
00045 ::pr2_gripper_sensor_msgs::PR2GripperEventDetectorActionFeedback_<ContainerAllocator> action_feedback;
00046
00047
00048 private:
00049 static const char* __s_getDataType_() { return "pr2_gripper_sensor_msgs/PR2GripperEventDetectorAction"; }
00050 public:
00051 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }
00052
00053 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); }
00054
00055 private:
00056 static const char* __s_getMD5Sum_() { return "d4e2ee2d04e941280f34bdb366daa9a4"; }
00057 public:
00058 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }
00059
00060 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); }
00061
00062 private:
00063 static const char* __s_getMessageDefinition_() { return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00064 \n\
00065 PR2GripperEventDetectorActionGoal action_goal\n\
00066 PR2GripperEventDetectorActionResult action_result\n\
00067 PR2GripperEventDetectorActionFeedback action_feedback\n\
00068 \n\
00069 ================================================================================\n\
00070 MSG: pr2_gripper_sensor_msgs/PR2GripperEventDetectorActionGoal\n\
00071 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00072 \n\
00073 Header header\n\
00074 actionlib_msgs/GoalID goal_id\n\
00075 PR2GripperEventDetectorGoal goal\n\
00076 \n\
00077 ================================================================================\n\
00078 MSG: std_msgs/Header\n\
00079 # Standard metadata for higher-level stamped data types.\n\
00080 # This is generally used to communicate timestamped data \n\
00081 # in a particular coordinate frame.\n\
00082 # \n\
00083 # sequence ID: consecutively increasing ID \n\
00084 uint32 seq\n\
00085 #Two-integer timestamp that is expressed as:\n\
00086 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00087 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00088 # time-handling sugar is provided by the client library\n\
00089 time stamp\n\
00090 #Frame this data is associated with\n\
00091 # 0: no frame\n\
00092 # 1: global frame\n\
00093 string frame_id\n\
00094 \n\
00095 ================================================================================\n\
00096 MSG: actionlib_msgs/GoalID\n\
00097 # The stamp should store the time at which this goal was requested.\n\
00098 # It is used by an action server when it tries to preempt all\n\
00099 # goals that were requested before a certain time\n\
00100 time stamp\n\
00101 \n\
00102 # The id provides a way to associate feedback and\n\
00103 # result message with specific goal requests. The id\n\
00104 # specified must be unique.\n\
00105 string id\n\
00106 \n\
00107 \n\
00108 ================================================================================\n\
00109 MSG: pr2_gripper_sensor_msgs/PR2GripperEventDetectorGoal\n\
00110 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00111 # Event Detector action used to tell detect events happening on the \n\
00112 # palm mounted accelerometer and finger pressure sensors\n\
00113 \n\
00114 #goal\n\
00115 PR2GripperEventDetectorCommand command\n\
00116 \n\
00117 ================================================================================\n\
00118 MSG: pr2_gripper_sensor_msgs/PR2GripperEventDetectorCommand\n\
00119 # state variable that defines what events we would like to trigger on\n\
00120 # Leaving this field blank will result in the robot triggering when \n\
00121 # anything touches the sides of the finger or an impact is detected\n\
00122 # with the hand/arm.\n\
00123 int8 trigger_conditions\n\
00124 # definitions for our various trigger_conditions values\n\
00125 # trigger on either acceleration contact or finger sensor side impact\n\
00126 int8 FINGER_SIDE_IMPACT_OR_ACC = 0\n\
00127 # tigger once both slip and acceleration signals occur\n\
00128 int8 SLIP_AND_ACC = 1 \n\
00129 # trigger on either slip, acceleration, or finger sensor side impact\n\
00130 int8 FINGER_SIDE_IMPACT_OR_SLIP_OR_ACC = 2\n\
00131 # trigger only on slip information\n\
00132 int8 SLIP = 3\n\
00133 # trigger only on acceleration contact information\n\
00134 int8 ACC = 4 \n\
00135 \n\
00136 \n\
00137 # the amount of acceleration to trigger on (acceleration vector magnitude)\n\
00138 # Units = m/s^2\n\
00139 # The user needs to be concerned here about not setting the trigger too\n\
00140 # low so that is set off by the robot's own motions.\n\
00141 #\n\
00142 # For large rapid motions, say by a motion planner, 5 m/s^2 is a good level\n\
00143 # For small delicate controlled motions this can be set MUCH lower (try 2.0)\n\
00144 #\n\
00145 # NOTE: When moving the gripper joint (opening/closing the grippr)\n\
00146 # the high gearing of the PR2 gripper causes large acceleration vibrations\n\
00147 # which will cause triggering to occur. This is a known drawback of the PR2.\n\
00148 #\n\
00149 # NOTE: Leaving this value blank will result in a 0 m/s^2 trigger. If you\n\
00150 # are using a trigger_conditions value that returns on acceleration contact\n\
00151 # events then it will immediately exceed your trigger and return\n\
00152 float64 acceleration_trigger_magnitude\n\
00153 \n\
00154 \n\
00155 # the slip detector gain to trigger on (either finger) : try 0.01\n\
00156 # higher values decrease slip sensitivty (to a point)\n\
00157 # lower values increase sensitivity (to a point)\n\
00158 #\n\
00159 # NOTE: Leaving this value blank will result in the most sensitive slip level.\n\
00160 float64 slip_trigger_magnitude\n\
00161 ================================================================================\n\
00162 MSG: pr2_gripper_sensor_msgs/PR2GripperEventDetectorActionResult\n\
00163 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00164 \n\
00165 Header header\n\
00166 actionlib_msgs/GoalStatus status\n\
00167 PR2GripperEventDetectorResult result\n\
00168 \n\
00169 ================================================================================\n\
00170 MSG: actionlib_msgs/GoalStatus\n\
00171 GoalID goal_id\n\
00172 uint8 status\n\
00173 uint8 PENDING = 0 # The goal has yet to be processed by the action server\n\
00174 uint8 ACTIVE = 1 # The goal is currently being processed by the action server\n\
00175 uint8 PREEMPTED = 2 # The goal received a cancel request after it started executing\n\
00176 # and has since completed its execution (Terminal State)\n\
00177 uint8 SUCCEEDED = 3 # The goal was achieved successfully by the action server (Terminal State)\n\
00178 uint8 ABORTED = 4 # The goal was aborted during execution by the action server due\n\
00179 # to some failure (Terminal State)\n\
00180 uint8 REJECTED = 5 # The goal was rejected by the action server without being processed,\n\
00181 # because the goal was unattainable or invalid (Terminal State)\n\
00182 uint8 PREEMPTING = 6 # The goal received a cancel request after it started executing\n\
00183 # and has not yet completed execution\n\
00184 uint8 RECALLING = 7 # The goal received a cancel request before it started executing,\n\
00185 # but the action server has not yet confirmed that the goal is canceled\n\
00186 uint8 RECALLED = 8 # The goal received a cancel request before it started executing\n\
00187 # and was successfully cancelled (Terminal State)\n\
00188 uint8 LOST = 9 # An action client can determine that a goal is LOST. This should not be\n\
00189 # sent over the wire by an action server\n\
00190 \n\
00191 #Allow for the user to associate a string with GoalStatus for debugging\n\
00192 string text\n\
00193 \n\
00194 \n\
00195 ================================================================================\n\
00196 MSG: pr2_gripper_sensor_msgs/PR2GripperEventDetectorResult\n\
00197 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00198 #results\n\
00199 PR2GripperEventDetectorData data\n\
00200 \n\
00201 ================================================================================\n\
00202 MSG: pr2_gripper_sensor_msgs/PR2GripperEventDetectorData\n\
00203 # Time the data was recorded at\n\
00204 time stamp\n\
00205 \n\
00206 # true if the trigger conditions have been met \n\
00207 # (see PR2GripperEventDetectorCommand)\n\
00208 bool trigger_conditions_met\n\
00209 \n\
00210 # true if the pressure sensors detected a slip event\n\
00211 # slip events occur when the finger pressure sensors\n\
00212 # high-freq. content exceeds the slip_trigger_magnitude variable\n\
00213 # (see PR2GripperEventDetectorCommand)\n\
00214 bool slip_event\n\
00215 \n\
00216 # true if the hand-mounted accelerometer detected a contact acceleration\n\
00217 # acceleration events occur when the palm accelerometer\n\
00218 # high-freq. content exceeds the acc_trigger_magnitude variable\n\
00219 # (see PR2GripperEventDetectorCommand)\n\
00220 bool acceleration_event\n\
00221 \n\
00222 # the high-freq acceleration vector that was last seen (x,y,z)\n\
00223 float64[3] acceleration_vector\n\
00224 ================================================================================\n\
00225 MSG: pr2_gripper_sensor_msgs/PR2GripperEventDetectorActionFeedback\n\
00226 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00227 \n\
00228 Header header\n\
00229 actionlib_msgs/GoalStatus status\n\
00230 PR2GripperEventDetectorFeedback feedback\n\
00231 \n\
00232 ================================================================================\n\
00233 MSG: pr2_gripper_sensor_msgs/PR2GripperEventDetectorFeedback\n\
00234 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00235 # feedback\n\
00236 PR2GripperEventDetectorData data\n\
00237 \n\
00238 \n\
00239 \n\
00240 "; }
00241 public:
00242 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00243
00244 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00245
00246 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00247 {
00248 ros::serialization::OStream stream(write_ptr, 1000000000);
00249 ros::serialization::serialize(stream, action_goal);
00250 ros::serialization::serialize(stream, action_result);
00251 ros::serialization::serialize(stream, action_feedback);
00252 return stream.getData();
00253 }
00254
00255 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00256 {
00257 ros::serialization::IStream stream(read_ptr, 1000000000);
00258 ros::serialization::deserialize(stream, action_goal);
00259 ros::serialization::deserialize(stream, action_result);
00260 ros::serialization::deserialize(stream, action_feedback);
00261 return stream.getData();
00262 }
00263
00264 ROS_DEPRECATED virtual uint32_t serializationLength() const
00265 {
00266 uint32_t size = 0;
00267 size += ros::serialization::serializationLength(action_goal);
00268 size += ros::serialization::serializationLength(action_result);
00269 size += ros::serialization::serializationLength(action_feedback);
00270 return size;
00271 }
00272
00273 typedef boost::shared_ptr< ::pr2_gripper_sensor_msgs::PR2GripperEventDetectorAction_<ContainerAllocator> > Ptr;
00274 typedef boost::shared_ptr< ::pr2_gripper_sensor_msgs::PR2GripperEventDetectorAction_<ContainerAllocator> const> ConstPtr;
00275 };
00276 typedef ::pr2_gripper_sensor_msgs::PR2GripperEventDetectorAction_<std::allocator<void> > PR2GripperEventDetectorAction;
00277
00278 typedef boost::shared_ptr< ::pr2_gripper_sensor_msgs::PR2GripperEventDetectorAction> PR2GripperEventDetectorActionPtr;
00279 typedef boost::shared_ptr< ::pr2_gripper_sensor_msgs::PR2GripperEventDetectorAction const> PR2GripperEventDetectorActionConstPtr;
00280
00281
00282 template<typename ContainerAllocator>
00283 std::ostream& operator<<(std::ostream& s, const ::pr2_gripper_sensor_msgs::PR2GripperEventDetectorAction_<ContainerAllocator> & v)
00284 {
00285 ros::message_operations::Printer< ::pr2_gripper_sensor_msgs::PR2GripperEventDetectorAction_<ContainerAllocator> >::stream(s, "", v);
00286 return s;}
00287
00288 }
00289
00290 namespace ros
00291 {
00292 namespace message_traits
00293 {
00294 template<class ContainerAllocator>
00295 struct MD5Sum< ::pr2_gripper_sensor_msgs::PR2GripperEventDetectorAction_<ContainerAllocator> > {
00296 static const char* value()
00297 {
00298 return "d4e2ee2d04e941280f34bdb366daa9a4";
00299 }
00300
00301 static const char* value(const ::pr2_gripper_sensor_msgs::PR2GripperEventDetectorAction_<ContainerAllocator> &) { return value(); }
00302 static const uint64_t static_value1 = 0xd4e2ee2d04e94128ULL;
00303 static const uint64_t static_value2 = 0x0f34bdb366daa9a4ULL;
00304 };
00305
00306 template<class ContainerAllocator>
00307 struct DataType< ::pr2_gripper_sensor_msgs::PR2GripperEventDetectorAction_<ContainerAllocator> > {
00308 static const char* value()
00309 {
00310 return "pr2_gripper_sensor_msgs/PR2GripperEventDetectorAction";
00311 }
00312
00313 static const char* value(const ::pr2_gripper_sensor_msgs::PR2GripperEventDetectorAction_<ContainerAllocator> &) { return value(); }
00314 };
00315
00316 template<class ContainerAllocator>
00317 struct Definition< ::pr2_gripper_sensor_msgs::PR2GripperEventDetectorAction_<ContainerAllocator> > {
00318 static const char* value()
00319 {
00320 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00321 \n\
00322 PR2GripperEventDetectorActionGoal action_goal\n\
00323 PR2GripperEventDetectorActionResult action_result\n\
00324 PR2GripperEventDetectorActionFeedback action_feedback\n\
00325 \n\
00326 ================================================================================\n\
00327 MSG: pr2_gripper_sensor_msgs/PR2GripperEventDetectorActionGoal\n\
00328 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00329 \n\
00330 Header header\n\
00331 actionlib_msgs/GoalID goal_id\n\
00332 PR2GripperEventDetectorGoal goal\n\
00333 \n\
00334 ================================================================================\n\
00335 MSG: std_msgs/Header\n\
00336 # Standard metadata for higher-level stamped data types.\n\
00337 # This is generally used to communicate timestamped data \n\
00338 # in a particular coordinate frame.\n\
00339 # \n\
00340 # sequence ID: consecutively increasing ID \n\
00341 uint32 seq\n\
00342 #Two-integer timestamp that is expressed as:\n\
00343 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00344 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00345 # time-handling sugar is provided by the client library\n\
00346 time stamp\n\
00347 #Frame this data is associated with\n\
00348 # 0: no frame\n\
00349 # 1: global frame\n\
00350 string frame_id\n\
00351 \n\
00352 ================================================================================\n\
00353 MSG: actionlib_msgs/GoalID\n\
00354 # The stamp should store the time at which this goal was requested.\n\
00355 # It is used by an action server when it tries to preempt all\n\
00356 # goals that were requested before a certain time\n\
00357 time stamp\n\
00358 \n\
00359 # The id provides a way to associate feedback and\n\
00360 # result message with specific goal requests. The id\n\
00361 # specified must be unique.\n\
00362 string id\n\
00363 \n\
00364 \n\
00365 ================================================================================\n\
00366 MSG: pr2_gripper_sensor_msgs/PR2GripperEventDetectorGoal\n\
00367 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00368 # Event Detector action used to tell detect events happening on the \n\
00369 # palm mounted accelerometer and finger pressure sensors\n\
00370 \n\
00371 #goal\n\
00372 PR2GripperEventDetectorCommand command\n\
00373 \n\
00374 ================================================================================\n\
00375 MSG: pr2_gripper_sensor_msgs/PR2GripperEventDetectorCommand\n\
00376 # state variable that defines what events we would like to trigger on\n\
00377 # Leaving this field blank will result in the robot triggering when \n\
00378 # anything touches the sides of the finger or an impact is detected\n\
00379 # with the hand/arm.\n\
00380 int8 trigger_conditions\n\
00381 # definitions for our various trigger_conditions values\n\
00382 # trigger on either acceleration contact or finger sensor side impact\n\
00383 int8 FINGER_SIDE_IMPACT_OR_ACC = 0\n\
00384 # tigger once both slip and acceleration signals occur\n\
00385 int8 SLIP_AND_ACC = 1 \n\
00386 # trigger on either slip, acceleration, or finger sensor side impact\n\
00387 int8 FINGER_SIDE_IMPACT_OR_SLIP_OR_ACC = 2\n\
00388 # trigger only on slip information\n\
00389 int8 SLIP = 3\n\
00390 # trigger only on acceleration contact information\n\
00391 int8 ACC = 4 \n\
00392 \n\
00393 \n\
00394 # the amount of acceleration to trigger on (acceleration vector magnitude)\n\
00395 # Units = m/s^2\n\
00396 # The user needs to be concerned here about not setting the trigger too\n\
00397 # low so that is set off by the robot's own motions.\n\
00398 #\n\
00399 # For large rapid motions, say by a motion planner, 5 m/s^2 is a good level\n\
00400 # For small delicate controlled motions this can be set MUCH lower (try 2.0)\n\
00401 #\n\
00402 # NOTE: When moving the gripper joint (opening/closing the grippr)\n\
00403 # the high gearing of the PR2 gripper causes large acceleration vibrations\n\
00404 # which will cause triggering to occur. This is a known drawback of the PR2.\n\
00405 #\n\
00406 # NOTE: Leaving this value blank will result in a 0 m/s^2 trigger. If you\n\
00407 # are using a trigger_conditions value that returns on acceleration contact\n\
00408 # events then it will immediately exceed your trigger and return\n\
00409 float64 acceleration_trigger_magnitude\n\
00410 \n\
00411 \n\
00412 # the slip detector gain to trigger on (either finger) : try 0.01\n\
00413 # higher values decrease slip sensitivty (to a point)\n\
00414 # lower values increase sensitivity (to a point)\n\
00415 #\n\
00416 # NOTE: Leaving this value blank will result in the most sensitive slip level.\n\
00417 float64 slip_trigger_magnitude\n\
00418 ================================================================================\n\
00419 MSG: pr2_gripper_sensor_msgs/PR2GripperEventDetectorActionResult\n\
00420 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00421 \n\
00422 Header header\n\
00423 actionlib_msgs/GoalStatus status\n\
00424 PR2GripperEventDetectorResult result\n\
00425 \n\
00426 ================================================================================\n\
00427 MSG: actionlib_msgs/GoalStatus\n\
00428 GoalID goal_id\n\
00429 uint8 status\n\
00430 uint8 PENDING = 0 # The goal has yet to be processed by the action server\n\
00431 uint8 ACTIVE = 1 # The goal is currently being processed by the action server\n\
00432 uint8 PREEMPTED = 2 # The goal received a cancel request after it started executing\n\
00433 # and has since completed its execution (Terminal State)\n\
00434 uint8 SUCCEEDED = 3 # The goal was achieved successfully by the action server (Terminal State)\n\
00435 uint8 ABORTED = 4 # The goal was aborted during execution by the action server due\n\
00436 # to some failure (Terminal State)\n\
00437 uint8 REJECTED = 5 # The goal was rejected by the action server without being processed,\n\
00438 # because the goal was unattainable or invalid (Terminal State)\n\
00439 uint8 PREEMPTING = 6 # The goal received a cancel request after it started executing\n\
00440 # and has not yet completed execution\n\
00441 uint8 RECALLING = 7 # The goal received a cancel request before it started executing,\n\
00442 # but the action server has not yet confirmed that the goal is canceled\n\
00443 uint8 RECALLED = 8 # The goal received a cancel request before it started executing\n\
00444 # and was successfully cancelled (Terminal State)\n\
00445 uint8 LOST = 9 # An action client can determine that a goal is LOST. This should not be\n\
00446 # sent over the wire by an action server\n\
00447 \n\
00448 #Allow for the user to associate a string with GoalStatus for debugging\n\
00449 string text\n\
00450 \n\
00451 \n\
00452 ================================================================================\n\
00453 MSG: pr2_gripper_sensor_msgs/PR2GripperEventDetectorResult\n\
00454 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00455 #results\n\
00456 PR2GripperEventDetectorData data\n\
00457 \n\
00458 ================================================================================\n\
00459 MSG: pr2_gripper_sensor_msgs/PR2GripperEventDetectorData\n\
00460 # Time the data was recorded at\n\
00461 time stamp\n\
00462 \n\
00463 # true if the trigger conditions have been met \n\
00464 # (see PR2GripperEventDetectorCommand)\n\
00465 bool trigger_conditions_met\n\
00466 \n\
00467 # true if the pressure sensors detected a slip event\n\
00468 # slip events occur when the finger pressure sensors\n\
00469 # high-freq. content exceeds the slip_trigger_magnitude variable\n\
00470 # (see PR2GripperEventDetectorCommand)\n\
00471 bool slip_event\n\
00472 \n\
00473 # true if the hand-mounted accelerometer detected a contact acceleration\n\
00474 # acceleration events occur when the palm accelerometer\n\
00475 # high-freq. content exceeds the acc_trigger_magnitude variable\n\
00476 # (see PR2GripperEventDetectorCommand)\n\
00477 bool acceleration_event\n\
00478 \n\
00479 # the high-freq acceleration vector that was last seen (x,y,z)\n\
00480 float64[3] acceleration_vector\n\
00481 ================================================================================\n\
00482 MSG: pr2_gripper_sensor_msgs/PR2GripperEventDetectorActionFeedback\n\
00483 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00484 \n\
00485 Header header\n\
00486 actionlib_msgs/GoalStatus status\n\
00487 PR2GripperEventDetectorFeedback feedback\n\
00488 \n\
00489 ================================================================================\n\
00490 MSG: pr2_gripper_sensor_msgs/PR2GripperEventDetectorFeedback\n\
00491 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00492 # feedback\n\
00493 PR2GripperEventDetectorData data\n\
00494 \n\
00495 \n\
00496 \n\
00497 ";
00498 }
00499
00500 static const char* value(const ::pr2_gripper_sensor_msgs::PR2GripperEventDetectorAction_<ContainerAllocator> &) { return value(); }
00501 };
00502
00503 }
00504 }
00505
00506 namespace ros
00507 {
00508 namespace serialization
00509 {
00510
00511 template<class ContainerAllocator> struct Serializer< ::pr2_gripper_sensor_msgs::PR2GripperEventDetectorAction_<ContainerAllocator> >
00512 {
00513 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00514 {
00515 stream.next(m.action_goal);
00516 stream.next(m.action_result);
00517 stream.next(m.action_feedback);
00518 }
00519
00520 ROS_DECLARE_ALLINONE_SERIALIZER;
00521 };
00522 }
00523 }
00524
00525 namespace ros
00526 {
00527 namespace message_operations
00528 {
00529
00530 template<class ContainerAllocator>
00531 struct Printer< ::pr2_gripper_sensor_msgs::PR2GripperEventDetectorAction_<ContainerAllocator> >
00532 {
00533 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::pr2_gripper_sensor_msgs::PR2GripperEventDetectorAction_<ContainerAllocator> & v)
00534 {
00535 s << indent << "action_goal: ";
00536 s << std::endl;
00537 Printer< ::pr2_gripper_sensor_msgs::PR2GripperEventDetectorActionGoal_<ContainerAllocator> >::stream(s, indent + " ", v.action_goal);
00538 s << indent << "action_result: ";
00539 s << std::endl;
00540 Printer< ::pr2_gripper_sensor_msgs::PR2GripperEventDetectorActionResult_<ContainerAllocator> >::stream(s, indent + " ", v.action_result);
00541 s << indent << "action_feedback: ";
00542 s << std::endl;
00543 Printer< ::pr2_gripper_sensor_msgs::PR2GripperEventDetectorActionFeedback_<ContainerAllocator> >::stream(s, indent + " ", v.action_feedback);
00544 }
00545 };
00546
00547
00548 }
00549 }
00550
00551 #endif // PR2_GRIPPER_SENSOR_MSGS_MESSAGE_PR2GRIPPEREVENTDETECTORACTION_H
00552