mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-29 14:52:12 +01:00
AndroidGCS Map: Make sure to grab the correct uavLocation and homeLocation at startup
This commit is contained in:
parent
69328edd0d
commit
2bf8423ed6
@ -169,9 +169,11 @@ public class UAVLocation extends MapActivity
|
||||
void onOPConnected() {
|
||||
UAVObject obj = objMngr.getObject("HomeLocation");
|
||||
registerObjectUpdates(obj);
|
||||
objectUpdated(obj);
|
||||
|
||||
obj = objMngr.getObject("PositionActual");
|
||||
registerObjectUpdates(obj);
|
||||
objectUpdated(obj);
|
||||
}
|
||||
|
||||
private GeoPoint getUavLocation() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user