Petro
(Petro)
May 8, 2024, 6:35pm
1
The docs say
Currently, ArduPilot only supports the use of reversible ESCs for Plane and Rover, not Copter.
… but Turtle mode exists, and it requires reversible ESC.
Which one is it?
I want to be able to reverse any motor on my drone, when it’s put in a special state. Ideally with a Lua script Is this possible?
dkemxr
(Dave)
May 8, 2024, 6:49pm
2
It will work with Dshot ESC’s that accept a Dshot reverse command. The command works but I have never tried the mode.
Petro
(Petro)
May 8, 2024, 7:18pm
3
Can you point me at some docs or give me some example of such a command?
dkemxr
(Dave)
May 8, 2024, 7:25pm
4
By “command” I should have said parameter. The same parameter that will reverse Dshot ESC’s ( SERVO_BLH_RVMASK) is used for Turtle Mode but I don’t know if it’s possible via Lua. @Yuri_Rage would probably have the answer to that.
You could try just dynamically changing SERVO_BLH_RVMASK within the script.
I’m not sure if that requires a reboot to take effect.
Turtle mode specifically sends a reversed DSHOT command that does not appear accessible within Lua.
1 Like