1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-30 15:52:12 +01:00

AndroidGCS: Output all fields from the UAVObjects

This commit is contained in:
James Cotton 2012-08-04 22:20:00 -05:00
parent c3b5f90b50
commit ad496ab8a3

View File

@ -469,7 +469,14 @@ public class UAVObjectField {
public String toString() {
String sout = new String();
sout += name + ": " + getValue().toString();
sout += name + ": ";
for (int i = 0; i < numElements; i++) {
sout += getValue(i).toString();
if (i != numElements-1)
sout += ", ";
else
sout += " ";
}
if (units.length() > 0)
sout += " (" + units + ")\n";
else