Closed jtanx closed 8 years ago
@BrettRD you can add the following in the Run
function (around line 153; just after we've checked that we got authorisation):
//Get the launch position.
if (!fc->fb->GetHomePosition(&launch_point)) {
Log(LOG_WARNING, "I don't know the launch position! Bailing!!!");
return;
}
From my brief testing in the simulator it still looks like the copter will go flying off into the horizon (at 5m/s) with the current gains. The tracking arrow shouldn't be near 100% (extends from the centre to the edge of the frame) when the object is close to centre.