"@Jose. I found the problem they have send me a XL version of the sonar which the output voltage is different of yours. Is there a scale factor so that I can still use this one?.
Yours: 5V yields ~3.8mV/cm.
(my sonar) the XL: 5V yields ~4.9mV/cm…"
"@Jose, If I enable the sonar in the code and arm the motors the green led will blink but if you throttle up the motors are not running.
If you put stable mode ON the motors will run.
If I switch Automatic mode ON (I don't have IR! only sonar) the…"