◆ Actuator() [1/2]
Creates an Actuator using motor port position 1
◆ Actuator() [2/2]
Actuator.Actuator |
( |
int |
actuator, |
|
|
int |
direction, |
|
|
int |
port |
|
) |
| |
Creates an Actuator using the given motor port position
- Parameters
-
actuator | actuator index |
port | motor port position for actuator |
◆ get_actuator()
int Actuator.get_actuator |
( |
| ) |
|
◆ get_direction()
int Actuator.get_direction |
( |
| ) |
|
- Returns
- actuator direction
◆ get_port()
int Actuator.get_port |
( |
| ) |
|
- Returns
- current motor port position in use
◆ get_torque()
float Actuator.get_torque |
( |
| ) |
|
- Returns
- current torque information
◆ set_actuator()
void Actuator.set_actuator |
( |
int |
actuator | ) |
|
Set actuator index parameter of sensor
- Parameters
-
◆ set_direction()
void Actuator.set_direction |
( |
int |
direction | ) |
|
Set actuator rotation direction
- Parameters
-
◆ set_port()
void Actuator.set_port |
( |
int |
port | ) |
|
Sets motor port position to be used by Actuator
- Parameters
-
◆ set_torque()
void Actuator.set_torque |
( |
float |
torque | ) |
|
Sets torque variable to the given torque value
- Parameters
-
torque | new torque value for update |
The documentation for this class was generated from the following file: