The motor speed is controlled by the power output of the ThunderBorg. This is easily adjusted in the provided examples.
When using the GUI the slider level controls the speed.
The joystick script (tbJoystick.py) allows you to control the speed by how far you push the left stick forward. You can also set the maximum by changing the voltageOut value in the script.
If you are writing your own script the values passed to TB.SetMotor1 and TB.SetMotor2 set the power output for the motors. The values should be between 1.0 (100% forward) and -1.0 (100% reverse).
piborg
Wed, 07/17/2019 - 10:25
Permalink
ThunderBorg motor speeds
The motor speed is controlled by the power output of the ThunderBorg. This is easily adjusted in the provided examples.
When using the GUI the slider level controls the speed.
The joystick script (
tbJoystick.py
) allows you to control the speed by how far you push the left stick forward. You can also set the maximum by changing thevoltageOut
value in the script.If you are writing your own script the values passed to
TB.SetMotor1
andTB.SetMotor2
set the power output for the motors. The values should be between 1.0 (100% forward) and -1.0 (100% reverse).rajeetharan
Wed, 07/17/2019 - 14:15
Permalink
thanks
it works , thanks