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.

Views: 344

Reply to This

Replies to This Discussion

First major mistake: do not spam four forum threads with the same question.

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?

Reply to Discussion

RSS

Groups

Season Two of the Trust Time Trial (T3) Contest 
A list of all T3 contests is here. The current round, the Vertical Horizontal one, is here

© 2018   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service