anyKode Marilou
ContentsIndexHome
PreviousUpNext
DeviceMotor::GetMaxAccelerationRAD

Getting the maximum acceleration defined in motor's settings (Rad/s^2).

C++
float GetMaxAccelerationRAD(M32 * pDeviceResponse = NULL, void * pReserved = NULL);
Parameters 
Description 
M32 * pDeviceResponse = NULL 
(see Message
void * pReserved = NULL 
(see Message

The maximum acceleration, as defined in device's settings.

GetMaxAccelerationRAD returns the maximum acceleration (after gearbox) that the motor can produce for changing its velocity (the device's mechanical constraint). This value is the one defined in the motor's settings, not the really applied one. The really applied value can be obtained by a call to GetEffectiveMaxAcceleration.

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

Message, GetEffectiveMaxAcceleration.

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