Gripper open with low batt Rtl or signal loss rtl

Hi All.

Is there a way to open the gripper, if a low battery condition is reached? The same for signal loss.

This is to ensure a load is dropped if the battery is low or Rtl of any type engaged.

This will be particularly useful in a fishing drone application.
Thx.
Gary

look up onboard LUA scripting…

Thx.
I don’t know how to write a script to achieve this function.
Can you recommend someone?