You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As best as I can tell the FocusDriverListener event is not raising on my A7 (original model). Latest firmware: 3.20
I built from source (and tried the shipped local installer build) v1.5. But no matter what I try, I always get a m_curFocus == 0
The logging messages are not hit either so it seems that this whole code block never fires. Other log messages are written fine so logging is generally working.
Hi,
As best as I can tell the FocusDriverListener event is not raising on my A7 (original model). Latest firmware: 3.20
I built from source (and tried the shipped local installer build) v1.5. But no matter what I try, I always get a m_curFocus == 0
The logging messages are not hit either so it seems that this whole code block never fires. Other log messages are written fine so logging is generally working.
m_camera.setFocusDriveListener(new CameraEx.FocusDriveListener()
{
@OverRide
public void onChanged(CameraEx.FocusPosition focusPosition, CameraEx cameraEx)
{
Logger.info("FocusDriveListener: currentPosition " + focusPosition.currentPosition);
m_handler.removeCallbacks(m_checkFocusRunnable);
m_focusScaleView.setMaxPosition(focusPosition.maxPosition);
m_focusScaleView.setCurPosition(focusPosition.currentPosition);
m_tvMsg.setText(focusPosition.currentPosition);
m_curFocus = focusPosition.currentPosition;
if (m_waitingForFocus)
{
if (m_curFocus == m_focusQueue.getFirst())
{
// Focused, take picture
Logger.info("Taking picture (FocusDriveListener)");
takePicture();
}
else
focus();
}
}
});
The text was updated successfully, but these errors were encountered: