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:
parent
c3b5f90b50
commit
ad496ab8a3
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user