robotics专项课程Perception Assignment 1:Dolly Zoom(滑动变焦)
function[f]=compute_focal_length(d_ref,f_ref,pos)%%Computecamerafocallengthwithgivencameraposition.%%Inthisfunction,multiplecamerapositionswillbegiven.Thecamerais%placedonzaxisandthusonlyzaxisfortheca