removed the need for setmode with m100 adapter
This commit is contained in:
parent
e5e7500b20
commit
7c438c2323
|
@ -762,7 +762,6 @@ script
|
||||||
Arm();
|
Arm();
|
||||||
// Registering HOME POINT.
|
// Registering HOME POINT.
|
||||||
home = cur_pos;
|
home = cur_pos;
|
||||||
BClpose = true;
|
|
||||||
}
|
}
|
||||||
if (current_mode != "GUIDED" && setmode)
|
if (current_mode != "GUIDED" && setmode)
|
||||||
SetMode("GUIDED", 2000); // added for compatibility with 3DR Solo
|
SetMode("GUIDED", 2000); // added for compatibility with 3DR Solo
|
||||||
|
@ -792,7 +791,6 @@ script
|
||||||
{
|
{
|
||||||
armstate = 0;
|
armstate = 0;
|
||||||
Arm();
|
Arm();
|
||||||
BClpose = false;
|
|
||||||
}
|
}
|
||||||
if (mav_client.call(cmd_srv))
|
if (mav_client.call(cmd_srv))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue