You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
QGC can be connected via TCP, but the dronekit-android connection is not successful. #1889
The QGC client can be successfully connected with the TCP connection device, but it is not successful for the dronekit-android phone to run on the phone. Is there any difference? Thank you very much!
` @OverRide
protected void initData() {
final Context context = getApplicationContext();
this.controlTower = new ControlTower(context);
this.drone = new Drone(context);
mainHandler = new Handler(getApplicationContext().getMainLooper());
}
@OverRide
public void onStart() {
super.onStart();
this.controlTower.connect(this);
}
@OverRide
public void onStop() {
super.onStop();
if (this.drone.isConnected()) {
this.drone.disconnect();
}
Activity