InterfaceGripper Class Reference
#include <p_driver.h>
Public Member Functions | |
InterfaceGripper (player_devaddr_t addr, StgDriver *driver, ConfigFile *cf, int section) | |
virtual int | ProcessMessage (QueuePointer &resp_queue, player_msghdr_t *hdr, void *data) |
virtual void | Publish (void) |
virtual | ~InterfaceGripper (void) |
Constructor & Destructor Documentation
InterfaceGripper::InterfaceGripper | ( | player_devaddr_t | addr, | |
StgDriver * | driver, | |||
ConfigFile * | cf, | |||
int | section | |||
) |
virtual InterfaceGripper::~InterfaceGripper | ( | void | ) | [inline, virtual] |
Member Function Documentation
int InterfaceGripper::ProcessMessage | ( | QueuePointer & | resp_queue, | |
player_msghdr_t * | hdr, | |||
void * | data | |||
) | [virtual] |
Reimplemented from Interface.
References stg_pose_t::a, Interface::addr, stg_gripper_cmd_t::arg, stg_gripper_cmd_t::cmd, Interface::driver, Interface::mod, PRINT_WARN1, PRINT_WARN2, stg_geom_t::size, STG_GRIPPER_CMD_CLOSE, STG_GRIPPER_CMD_OPEN, stg_model_get_geom(), stg_model_get_pose(), stg_model_set_cmd(), stg_size_t::x, stg_pose_t::x, stg_size_t::y, and stg_pose_t::y.
void InterfaceGripper::Publish | ( | void | ) | [virtual] |
Reimplemented from Interface.
References Interface::addr, Interface::driver, stg_gripper_data_t::inner_break_beam, Interface::mod, stg_gripper_data_t::outer_break_beam, stg_gripper_data_t::paddles, STG_GRIPPER_PADDLE_CLOSED, STG_GRIPPER_PADDLE_CLOSING, STG_GRIPPER_PADDLE_OPEN, and STG_GRIPPER_PADDLE_OPENING.
The documentation for this class was generated from the following files:
Generated on Wed Jun 3 23:12:29 2009 for Stage by
