Android app for drone

Hi,

I am new to Ardupilot, I want to develop android app to control drone. As a initial step i want to send waypoints(mission) from android app to QGroundControl software and check QGroundControl received the waypoints.

Using below softwares
- Ubuntu 16.04.3 LTS
- QGroundControl softare
- pixhawk
- 3dr radio telemetry(433 MHz)

I am able to successfully connect QGC using below android code
java code snippet:
Bundle extraParams = new Bundle();
extraParams.putInt(ConnectionType.EXTRA_USB_BAUD_RATE, 57600);
ConnectionParameter connectionParams = new ConnectionParameter(ConnectionType.TYPE_USB, extraParams, null);
drone.connect(connectionParams);

I am sending waypoints(mission) on successful connection established.
java code snippet:
String lParam = "12.962738,77.596650:12.964442,77.595191";
String[] values = lParam.split(":");
for (int i = 0; i < values.length; i++) {
String[] latLongValues = values[i].split(",");
points.add(new LatLong(Double.parseDouble(latLongValues[0]),
Double.parseDouble(latLongValues[1])));
}
MissionApi.getApi(drone).generateDronie();
MissionApi.getApi(drone).setMission(generateMission(points), true);
MissionApi.getApi(drone).loadWaypoints();
problem : when i connect 3dr radio telemetry with QGC software it does not load mission data which i sent.

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • Sorry I can't be of any help. Wondering if you got an app working or if you know of any apps to work with the 2.4 board?

  • First major mistake: do not spam four forum threads with the same question.
This reply was deleted.

Activity