djiuser_odtl46RTpTES
lvl.2
Australia
Offline
|
Having issues getting the Vision assisted Positioning state back using the Mobile SDK for a M300.
I get back an error saying "Not supported"
Is there a way of knowing if the Vision Poisitioning is enabled as you can enable nad disable it using the DJI Pilot app?
Thanks
KeyManager.getInstance().getValue(FlightControllerKey.create(FlightControllerKey.VISION_ASSISTED_POSITIONING_ENABLED), new GetCallback() {
@Override
public void onSuccess(@NonNull Object value) {
setVisionPositionInUse((Boolean) value);
}
@Override
public void onFailure(@NonNull DJIError error) {
ToastUtils.setResultToToast("VISION_ASSISTED_POSITIONING_ENABLED Failed. " + error.toString());
}
});
|
|