Please select Into the mobile phone version | Continue to access the computer ver.
Close
You need to log in before you can reply       Login | Register now

[Discussion] How to capture loss of remote signal

Author: newtonian 2017-3-21 04:31
3 228
I want to have the onboard sdk control the M100 when the remote control signal is lost.  In my tests the M100 just ignores my commands and performs a return to home (RTH).

Any suggestions?
Reply
Replies
Eduardo0
You can change the behavior of the finishAction like this:

initData.finishAction = finishAction;
// 0: no action, 1: return to home, 2 (default) : auto landing
// 3: return to point 0, 4: infinite mode (no exit)

If you are using the Linux wrapper you cannot use their function to initilize the WayPointData, I had to write my own to change these parameters.
2017-3-30 12:54
newtonian
Does this specify the action at the end of the waypoint(s) or when the RC signal is lost?
2017-3-30 23:29
Eduardo0
Only the action at the end of the waypoint(s), the RC Lost signal is WayPointInitData.RCLostAction.
2017-4-4 11:24
You need to log in before you can reply Login | Register now

Quick Reply Back to top Back to list
Quick Reply Back to top Back to list