Skip to main content
Version: 2.1.0

DC-motor API

The DC-motor service allows to drive a DC motor using only power mode.

Its type has access to all common capabilities.


Functions​

Function name and parametersActionComment
control(self)Displays service type graphical interfaceOnly available using Jupyter notebook

Variables​

Variable nameActionType
power_ratioSets the power quantity send to the motor between -100% and 100%.read / write: float

ROS topics​

Topic nameMessage type
/DC_motor1_mod/variables/power_ratio/readstd_msgs/msg/Float32
/DC_motor1_mod/variables/power_ratio/writestd_msgs/msg/Float32