Re: Re : Re: accelerometer calibration

2010-12-27 Thread W. B. Kranendonk
--- On Sat, 12/25/10, Timo Juhani Lindfors wrote: > "W. B. Kranendonk" writes: > > I found it after searching for accelerometer-dump, but (the FR) > Just capture the data on FR but run it on your PC. Like > > li...@sauna$ ssh neo cat /dev/accelerometer-top | > accelerometer-dump I get that far

Re: Re : Re: accelerometer calibration

2010-12-25 Thread W. B. Kranendonk
--- On Sat, 12/25/10, Iain B. Findleton wrote: > The output from > the chip is quite noisy. The problem is not that the signal is not reliable: it is. It is just that it is off by a few degrees. > There is a script I wrote in TCL > on the > SourceForge web site under the fltkwish project page.

Re: Re : Re: accelerometer calibration

2010-12-25 Thread Timo Juhani Lindfors
"W. B. Kranendonk" writes: > I found it after searching for accelerometer-dump, but (the FR) > didn't have gcc installed and don't know yet which packages to > install to make it useful. At least a reason now to dive into > figuring that out :-) Just capture the data on FR but run it on your PC.

Re: Re : Re: accelerometer calibration

2010-12-25 Thread W. B. Kranendonk
--- On Sat, 12/25/10, Timo Juhani Lindfors wrote: > "W. B. Kranendonk" > writes: > > Would that mean that (one of) the meter(s) is > connected at an angle? > > Are they not calibrated in software? > > top and bottom accelerometers are oriented differently > anyway. Yes, now you say it I recall

Re: Re : Re: accelerometer calibration

2010-12-25 Thread Timo Juhani Lindfors
"W. B. Kranendonk" writes: > Would that mean that (one of) the meter(s) is connected at an angle? > Are they not calibrated in software? top and bottom accelerometers are oriented differently anyway. > Is the accelerometer-dump standalone, and do you have a binary version > available? http://

Re: Re : Re: accelerometer calibration

2010-12-25 Thread W. B. Kranendonk
--- On Sat, 12/25/10, Timo Juhani Lindfors wrote: > li...@ginger:~$ accelerometer-dump < event4.log | head | > cut -d ';' -f2-|tr ';' ' ' > x y z > 108 36 900 > 144 36 900 > 126 36 900 > li...@ginger:~$ accelerometer-dump < > /dev/accelerometer-top | head | cut -d ';' -f2-|tr ';' ' ' > x y z > 36

Re: Re : Re: accelerometer calibration

2010-12-25 Thread Timo Juhani Lindfors
"W. B. Kranendonk" writes: > See attachment. li...@ginger:~$ accelerometer-dump < event4.log | head | cut -d ';' -f2-|tr ';' ' ' x y z 108 36 900 144 36 900 126 36 900 126 36 882 144 36 900 126 36 900 126 18 900 126 36 900 126 36 882 li...@ginger:~$ accelerometer-dump < /dev/accelerometer-top |

Re: Re : Re: accelerometer calibration

2010-12-24 Thread Timo Juhani Lindfors
"W. B. Kranendonk" writes: > Is that useful? This is while the FR is lying flat on its back. I > haven't compared it to output from the other FR yet. Raw binary output would be a lot easier to parse. ___ Openmoko community mailing list community@lists.

Re: Re : Re: accelerometer calibration

2010-12-24 Thread W. B. Kranendonk
> Le 23 déc. 2010 10:11, Timo Juhani Lindfors > a écrit : > >"W. B. Kranendonk" writes: > > > One of my FRs is dizzy: the accelerometers are off. > > Can you send a sample of the accelerometer data? (Preferably in > > the binary format that you can read from /dev/input/) > On Thu, 12/23/10,

Re : Re: accelerometer calibration

2010-12-23 Thread sylvain.pare
With a command line like this :cat /dev/input/event4 | od -c (or -b or -d dont remember and i am not on my laptop)Le 23 déc. 2010 10:11, Timo Juhani Lindfors a écrit : "W. B. Kranendonk" writes: > One of my FRs is dizzy: the accelerometers are off. Can you send a sample of the accelerometer dat