calibrate_evaluate

calibrate_evaluate - function calibrate_evaluate() %...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
function calibrate_evaluate() % CALIBRATE_EVALUATE % ****************** % This function asks the user for and stores the names of the students on % the team, the width of the camera's view, the proportion of the video to % clip off the top and bottom of the frame, and the frame rate of the % camera, so that other scripts can access this information. % clc c % Print a banner. banner = sprintf('\nMEAM 147: Introduction to Mechanics Lab\nUniversity of Pennsylvania\nProfessor K. J. Kuchenbecker\n\n%s\n',mfilename); disp(banner); clear banner; d % Get data from user. STUDENT_NAMES = input('\nWhat are the names of your group members? ', 's'); S CAMERA_FRAME_RATE_FPS = input('\nAt what speed is the camera capturing video,\n in frames per second? '); f CAMERA_VIEW_WIDTH_M = input('\nHow wide is the camera''s view at the depth of the fiducial markers, in meters? '); CAMERA_VIEW_HEIGHT_M = CAMERA_VIEW_WIDTH_M * 480 / 640; C top_crop_proportion = input('\nTo isolate the red markers on the two cars, the
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 09/13/2011 for the course MEAN 147 taught by Professor Pauloe.arratia during the Spring '10 term at UPenn.

Ask a homework question - tutors are online