Closed xumeng367 closed 3 months ago
Can you show your code?
Yeah, take photo method: drone.getCamera().takePhoto().subscribe();
listener photo info when create: Disposable captureInfoDisposable = drone.getCamera().getCaptureInfo().subscribe( captureInfo -> { Log.d(TAG, "run: " + captureInfo);
when connect drone ,first take photo, It's ok ,getCaptureInfo is called ,but take photo again, no response, getCaptureInfo not called;disconnect the drone and reconnect , ,first take photo, It's ok again.but take photo again, no response, again
What are you testing against? Do you know if that implementation is actually sending the required message CAMERA_IMAGE_CAPTURED?
@julianoes just thinking: say the drone does not send the camera status, and hence does not increment image_count
. Won't MAVSDK ignore new CAMERA_IMAGE_CAPTURED
updates? :thinking:
Next question would be: is it mandatory for a camera to send the camera status? :sweat_smile:
is it mandatory for a camera to send the camera status?
Mandatory? Who knows, probably not. Does it work without it? Probably not :smile:
This has been inactive for years, let's close it.
When i take photo, and Listen for this method Disposable captureInfoDisposable = drone.getCamera().getCaptureInfo().subscribe( captureInfo -> { Log.d(TAG, "run: " + captureInfo); });
but i unable to receive notification of picture info update, is this a Bug?