hi
i use arducopter firmware which i use that for my agriculture UAV, i use flame60a esc , my question is during my flight suddenly my motor3 turnoff and i have hud warning potenital thrust loss (3) . i do some of my tasks with lua script. i talk about this problem with t-motor and they told me you have to put transmitter position to low and then restart motors. i want to know can i set pwm value for one motor in flight to low and then restart ESC just for one motor , can i do it with lua script ?
I think in principle this will be possible with a script.
But more interessting is to figure out why this happened as this issue can directly crash your drone
can you explain me more about how can i do it with script use which library for in flight change pwm of motors ?
In detail I can’t help with a script right now as my system dosen’t support scripts, so I am not deep in this.
But again more necessary is first to analyse why the issue happens.
this happens because it has startup protection and i gets my motors into this mode
A startup protection normally don’t happens during flight. So what was the reason for your ESC reset if it reseted. This could be for excample
- a lose or bad power connection,
- an ESC failure
- or something else
To me it sounds like either the ESC did not like your *_SMAX or your MOT_THR_MIN parameters.
Change them to fix the root cause of the issue.
thanks .
i have another question i want to know is there anyway to know which motor lost during flight such query from motors and see if one motor lost or not ?
Lua script has function for it which is : MotorsMatrix:get_lost_motor() , but i don’t know this works on quadcopter or not maybe @Yuri_Rage can answer me . thanks again
The flight log should make that readily apparent.