WG05 Class Reference
#include <wg0x.h>
List of all members.
Public Types |
enum | { PRODUCT_CODE = 6805005
} |
Public Member Functions |
int | initialize (pr2_hardware_interface::HardwareInterface *, bool allow_unprogrammed=true) |
void | packCommand (unsigned char *buffer, bool halt, bool reset) |
bool | unpackState (unsigned char *this_buffer, unsigned char *prev_buffer) |
Detailed Description
Definition at line 652 of file wg0x.h.
Member Enumeration Documentation
- Enumerator:
-
Definition at line 658 of file wg0x.h.
Member Function Documentation
int WG05::initialize |
( |
pr2_hardware_interface::HardwareInterface * |
hw, |
|
|
bool |
allow_unprogrammed = true | |
|
) |
| | [virtual] |
void WG05::packCommand |
( |
unsigned char * |
buffer, |
|
|
bool |
halt, |
|
|
bool |
reset | |
|
) |
| | [virtual] |
- Parameters:
-
| reset | when asserted this will clear diagnostic error conditions device safety disable |
| halt | while asserted will disable actuator, usually by disabling H-bridge |
Reimplemented from WG0X.
Definition at line 771 of file wg0x.cpp.
bool WG05::unpackState |
( |
unsigned char * |
this_buffer, |
|
|
unsigned char * |
prev_buffer | |
|
) |
| | [virtual] |
The documentation for this class was generated from the following files: