I am trying to develop a series of tests to try and evaluate a uses identiy through the mouse, I noticed that I never move my wrist. I only move the mouse with my hand from piviting around my wrist. Hence I want to see if the radius of a mouse movements curve is directly related to the actual distance from the mouse ball or led to the wrist.
Chris
User Profile
Collapse
-
Mouse movement curve radis.
Hi
I am trying to test to see if there is a link between the curve of a mouses movement and the length from the ball to the wrist (pivet point). I am recording a series of points as the mouse moves approxamatly every 20ms. From this I need to try calculate a circle of best fit from idealy 2 points or 3. I was thinking start, middle and end positions. The calculations I have found online are somewhat over my level of knowlege.
... -
Calculate radius of best fit circle from 2 or 3 points
Hi
I am trying to calculate the radius of a circle of best fit from 2 or 3 mouse positions. At present I am recording a series of points a mouse passes, I intended to pick the first and last point to calculate the circle but also considering a 3rd point in the centre. Also what about the gradient of the path, could this be used to determin the radius. I am no maths genius, and some of the calculations found online are baffaling, also... -
Hi
You were right there is no problem with running the timers in the main class, the issue seems to be writing the data to the database. The code below works perfectly if I comment out the writeDataToDB. I am guessing that its going to have to be this that I run in a seperate thread or maybe using the backgound worker? any suggestions?
Thanks
Chris
private void mouseDown(objec t sender, MouseEventArgs...Leave a comment:
-
Might want to take a look at latest post. Might help you out. -
Hi
Your right the code you wrote in the main class works perfectly, must of been something to do with the class and writing the data to the database.
You have given me a idea of how to get around this, I will post back the results.
Many Thanks
ChrisLeave a comment:
-
Yeh my code is very similar to that. The next step unfortinatly gets a bit more complicated with Tridrgraphs, They are the time taken to enter 3 consecutive keystrokes so hello would produce a time for hel ell llo. This will require 3 seperate stop watches.
Thanks
ChrisLeave a comment:
-
More Detail
The issue I was having was I may have multiple timers working at the same time, for instance;
MouseButtonPres sed - MouseDurationTi mer Started
MouseButtonRele ased - MouseDurationTi mer Stopped / MouseLatencyTim er Started
MouseButtonPres sed - MouseLatencyTim er Stopped / MouseDurationTi merStarted.
When I was running these 2 together in the main thread, the latencytimer would give...Leave a comment:
-
Threading & Event Handlers
I am trying to build a peice of software to survey how a user interacts with a pc. I need to record keystroke latencies and durations etc.
I have got the event handler working and I was wanting to create a seperate class for each parameter such as keystroke latency etc. I got it working on the main thread but when I ran latency and duration together they interfiered with each other. Im guessing I am going to have to run them on sperate...
No activity results to display
Show More
Leave a comment: