anyKode Marilou
ContentsIndexHome
PreviousUpNext
DeviceMotor::SetEffectiveMaxAccelerationDEG

Changing the maximum acceleration.

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

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

DeltaVelocityDegsPerSec is the new motor max acceleration. 

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

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!