View Single Post
Old 07-07-2014, 11:53 AM
wimartin wimartin is offline
Join Date: Jul 2014
Posts: 1
Inferring distance traveled

Hey Forum,

First time posting, please forgive the newbie question.

I have an experiment written in Vizard where subjects have to move forward a particular distance. Once they reach the end of the distance, I calculate how far they traveled using the vizmat.distance command. However, in an earlier version of this experiment, I didn't use vizmat.distance, but still collected data, and now I'd like to see if I can go back and infer what distance they were traveling, based on the speed they were moving and how long the trial was. However, this is trickier than I thought, because I'm not sure what unit the speed value is.

For this, I use the CameraHandler module, borrowed from the tutorial here:

At the bottom of that tutorial "def _camUpdate( self, e ):" is what I use for moving the camera viewpoint. Under there is something called e.view.move, where the speed is specified. Does anyone know what e.elapsed is? Is this meters per second, or some other amount of time? Any help would be appreciated, thanks!

Reply With Quote