anyKode Marilou
ContentsIndexHome
PreviousUpNext
DeviceMotor::SetEffectiveMaxAccelerationRAD

Changing the maximum acceleration.

C++
bool SetEffectiveMaxAccelerationRAD(float DeltaVelocityRadsPerSec, M32 * pDeviceResponse = NULL, void * pReserved = NULL);
Parameters 
Description 
float DeltaVelocityRadsPerSec 
[in] Max acceleration (Rad/s^2) 
M32 * pDeviceResponse = NULL 
(see Message
void * pReserved = NULL 
(see Message

true if the motor received the new command, false if otherwise.

DeltaVelocityRadsPerSec is the new motor max acceleration. 

If DeltaVelocityRadsPerSec is 0, the maximum acceleration defined in motor settings is applied. Otherwise the applied acceleration is the minimum between GetMaxAccelerationRAD and DeltaVelocityRadsPerSec.

The acceleration control is available only in velocity regulation ( SetVelocityDPS, SetVelocityRPS).

4.7.17

Documentation v4.7 (18/01/2015), Copyright (c) 2015 anyKode. All rights reserved.
What do you think about this topic? Send feedback!