Skip to main content
richard orengo
Associate II
September 16, 2020
Solved

What is the real duration time to reach the new speed reference with MCI_ExecSpeedRamp, with hDurationms = 0 ?

  • September 16, 2020
  • 3 replies
  • 1077 views

I have a drone bad behavior when i request opposite large stick movement. I think i need to set a ramp to have homogenous movement . For little stick movement there is normal reaction then i stabilize it easily but when i need to inverse the command with a large stick movement example before i reach a wall, there is over reaction. I would like to set a ramp near the ramp value when hDurationms = 0

This topic has been closed for replies.
Best answer by msingh

"I have a drone bad behavior when i request opposite large stick movement" have you tried Tuning the PIDs? There are 2 reasons why you aren't achieving instantaneous fast speeds: 1) the motor is not able to achieve that 2) PIDs needs tuning (try increasing KP or decrease kd of the speed PID regulator) . At least this was the case for me.

3 replies

msingh
msinghAnswer
Senior
September 16, 2020

"I have a drone bad behavior when i request opposite large stick movement" have you tried Tuning the PIDs? There are 2 reasons why you aren't achieving instantaneous fast speeds: 1) the motor is not able to achieve that 2) PIDs needs tuning (try increasing KP or decrease kd of the speed PID regulator) . At least this was the case for me.

Laurent Ca...
Senior III
October 1, 2020

Dear @richard orengo​ 

Does the @msingh​'s answer solve your problem?

Best regards

Laurent Ca...

richard orengo
Associate II
October 1, 2020

hello,

yes. I have successfully tuned PID, thx