The DC-motor container allows to drive a DC motor using only power mode.
Its type has access to all common capabilities.
Function name and parameters | Action | Comment |
control(self) | Displays container type graphical interface | Only available using Jupyter notebook |
Variable name | Action | Type |
power_ratio | Sets the power quantity send to the motor between -100% and 100%. | read / write: float |
Topic name | Message type |
/DC_motor1_mod/variables/power_ratio/read | std_msgs/msg/Float32 |
/DC_motor1_mod/variables/power_ratio/write | std_msgs/msg/Float32 |