Way to reduce motor arming spin speed in PX4 params?
-
Hi,
Is there a parameter in the PX4 params to set the speed at which the motors spin up when you arm? On my first test flight after calibrating my ModalAI 4in1 ESC, as soon as I armed the quad it started to take off. Maybe I should reduce the minimum motor RPM in the ESC's configuration?
Thanks!
Matt -
The ESC params should have
min_rpm
parameter set to the minimum RPM that you obtained during your tests, specifically the RPM that motor spins when you send./voxl-esc-spin.py --power 10
command, as 10% power is pretty much the minimum you would want to use on the ESC itself.Then you make sure your PX4 params also use this value for
min_rpm
for the following param:VOXL_ESC_RPM_MIN
, however you also want to make sure themax_rpm
ESC param corresponds toVOXL_ESC_RPM_MAX
in PX4 params, otherwise the rpm range will not work correctly in PX4.You should also do some sanity checking. Knowing your propeller's
thrust vs rpm
curve helps a lot. Then you can check the commanded / actual motor RPMs versus your vehicles weight. It is possible to build a very lightweight vehicle, such that even small amount of thrust % would result in above hover thrust. You typically want to avoid those situations because it would be hard to achieve stable flight.Finally, you should check your px4 log, you could load it here to generate plots, including actuator commands and reported RPMS and you can check if those RPMs make sense. https://review.px4.io/ . Please take note that this is a public site.