|
Detailed Description
The motor proxy provides an interface a simple, single motor.
Function Documentation
|
|
Create a motor device proxy.
|
|
|
Destroy a motor device proxy.
|
|
|
Subscribe to the motor device.
|
|
|
Un-subscribe from the motor device.
|
|
|
Enable/disable the motors.
|
|
|
Change position control.
- Parameters:
-
| device | Pointer to proxy object. |
| type | Control type: 0 = velocity, 1 = position. |
|
| int playerc_motor_set_cmd_vel |
( |
playerc_motor_t * |
device, |
|
|
double |
vt, |
|
|
int |
state |
|
) |
|
|
|
|
Set the target rotational velocity.
- Parameters:
-
| device | Pointer to proxy object. |
| vt | Velocity in in rad/s. |
| state | |
- Todo:
- Document state
|
| int playerc_motor_set_cmd_pose |
( |
playerc_motor_t * |
device, |
|
|
double |
gt, |
|
|
int |
state |
|
) |
|
|
|
|
Set the target pose.
- Parameters:
-
| device | Pointer to proxy object. |
| gt | Target pose in rad. |
| state | |
- Todo:
- Document state
|
Generated on Tue May 3 14:16:14 2005 for Player by 1.3.6
|