In a motor system with high inertia (For example, a 5 times rated torque), it will happen that if putting the motor at 0 position, It will swing around the 0 position. Can this be improved by changing the rise slope of the current?
And which is the variable of current rise slope?
#define USER_MAX_CURRENT_SLOPE(USER_MOTOR_RES_EST_CURRENT/USER_IQ_FULL_SCALE_CURRENT_A/USER_TRAJ_FREQ_Hz)?
There is no effect after I reduce the value of USER_MAX_CURRENT_SLOPE.