MotorSetAcceleration Method
Configures motor acceleration by specifying the time (in seconds) it takes to reach maximum speed from stationary position.
The motor will also decelerate at the same rate.
Namespace: RoboTx.ApiAssembly: Robo-Tx.Api (in Robo-Tx.Api.dll) Version: 2.0.0+2fa4249a9eb2bae6a5092a98b9ebf36d639ce1b7
public void SetAcceleration(
float timeToMaxSpeed
)
Public Sub SetAcceleration (
timeToMaxSpeed As Single
)
member SetAcceleration :
timeToMaxSpeed : float32 -> unit
Parameters
- timeToMaxSpeed Single
- Time (in seconds) to reach maximum speed from stationary. Minimum value is 0, maximum is 10.