just following up to report that shoot() is much more stable compared to press("shoot_full")
function cam.smartShoot(tv,sv,focusDistance)
if(tv ~= nil)then set_prop(propcase.TV,tv) end
if(sv ~= nil)then set_prop(propcase.SV,sv) end
shoot()
local bv=get_bv96()
local av=get_av96()
return bv, av
end