Can accelerometer and gyro data be sent to a computer monitor and display as a line which moves according to the sensors
Can accelerometer and gyro data be sent to a computer monitor and display as a line which moves according to the sensors
Yes ......
(I think at least one of the Freescale accelerometer demo boards comes with just such a demo app.)
But you need to explain a bit more about what you want to do to get any more useful advice.
MK
Yes ......
(I think at least one of the Freescale accelerometer demo boards comes with just such a demo app.)
But you need to explain a bit more about what you want to do to get any more useful advice.
MK
I Am trying to connect an accelerometer, gyro, whatever to a dental drill so I can observe the position of the drills on a monitor. Save position of one and have the ability to make the second parallel to the first
Hello Richard,
What you want to do is nearly impossible (if I understand you correctly).
I think you are trying to use accelerometers and gyros to estimate the position of the drill, suppose you accelerometer can measure up to 2g (not much , easily exceeded by rapid hand movement) and has an offset error of 0.1% (very good for a low cost accelerometer), that's equivalent to an acceleration error of 0.02 m/s.
After 60 seconds the error in calculated displacement will be (0.02 * 60^2)/2 = 36m (yes thirty six meters !!).
Of course in real life you get these errors in more dimensions with additional errors from the gyros.
The reason that games use vision/ir etc to estimate position of players is that you can't do it cheaply with just accelerometers and gyros.
MK
I thought he just wanted to plot out the motions of his drill... If he wants to save the exact position of his drill he'd be better off mounting a camera snaping pictures to compare its position.
Fidel
Thanks guys.that answers some of my dilemma. What I am doing is assuming the drill bit is 16mmlong and extending out at a 75 degree angle from the head of the drill. After the sensors are clipped to the drill the position of the tip and angle of the bit will be a mathematical assumption. The bit is drilled into the skull or mandible and the drill can be held in this position in definetely (or until an anesthetic wanes) sensors will also be fixed to the skull or mandible and this drill position(angle) would be our master position. Ideally the next and next drill position will also be at a similar angle which can be approximated by seeing the angle os the drill going into the skull. There is no fast action of the drill. Once the bit enters the bone, the same angle should be maintained. The tip would be a useful thing to see as we near blood vessels and sinuses or extend beyond the boundaries of the bone.
I'm not familiar wth vision/ir but can it be done with other types of sensors
Using vision, a few cameras would be the most accurate way to go. But it's gonna be a LOT of coding and work to get it done.