* Re: TODO task for MMA8452 Accelerometer
[not found] <20161102155018.GA5226@mani-Aspire-E5-573>
@ 2016-11-02 16:21 ` Martin Kepplinger
2016-11-02 16:31 ` Peter Meerwald-Stadler
1 sibling, 0 replies; 3+ messages in thread
From: Martin Kepplinger @ 2016-11-02 16:21 UTC (permalink / raw)
To: Mani Sadhasivam; +Cc: pmeerw, Linux iio
Am 02.11.2016 16:50 schrieb Mani Sadhasivam:
> Hi Martin/Peter,
Hi Mani,
It'd be nice to keep a relevant public list in CC, in this case
linux-iio or kernelnewbies
>
> This is Mani, working on MMA8452 Accelerometer with Beaglebone black.
> I just wanna know whether the TODO : 'Orientation events' task for
> this Accelerometer is undergoing or not. If not, can I work on the
> same under your mentoring.
It's not done and not being worked on (afaik).
>
> For your kind info, I'm a recent undergraduate working in a Product
> development company called MathWorks. I'm learning Linux Kernel
> development as a hobby. Also, I thought taking up this task would be a
> good starting point for Linux Kernel Development.
I doubt this is a very good first task. iirc, you'd have to work with
with Jon, Daniel, Peter ... on an interface first. This is no gyrosensor
where iio has a proper user interface for orientation. That means,
coming up with your own, to discuss, and have example implementations
ready.
>
> If this task is already done, kindly suggest me a task to help me get
> involved with Linux community.
This mma8452 driver supports a few devices. Which one do you have?
Depending on that, I may have a simpler task for you.
>
> Please share your views.
>
> Thanks,
> Mani.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: TODO task for MMA8452 Accelerometer
[not found] <20161102155018.GA5226@mani-Aspire-E5-573>
2016-11-02 16:21 ` TODO task for MMA8452 Accelerometer Martin Kepplinger
@ 2016-11-02 16:31 ` Peter Meerwald-Stadler
2016-11-05 16:46 ` Jonathan Cameron
1 sibling, 1 reply; 3+ messages in thread
From: Peter Meerwald-Stadler @ 2016-11-02 16:31 UTC (permalink / raw)
To: Mani Sadhasivam; +Cc: martink, linux-iio
Hello Mani,
adding linux-iio@
> This is Mani, working on MMA8452 Accelerometer with Beaglebone black. I
> just wanna know whether the TODO : 'Orientation events' task for this
> Accelerometer is undergoing or not. If not, can I work on the same under
> your mentoring.
> For your kind info, I'm a recent undergraduate working in a Product
> development company called MathWorks. I'm learning Linux Kernel
> development as a hobby. Also, I thought taking up this task would be a
> good starting point for Linux Kernel Development.
not sure if someone is working on it, I have not seen patches
> If this task is already done, kindly suggest me a task to help me get
> involved with Linux community.
you have probably chosen a quite involved task; it is not immediately
clear how to realize orientation detection (at least to me :)
regards, p.
--
Peter Meerwald-Stadler
+43-664-2444418 (mobile)
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: TODO task for MMA8452 Accelerometer
2016-11-02 16:31 ` Peter Meerwald-Stadler
@ 2016-11-05 16:46 ` Jonathan Cameron
0 siblings, 0 replies; 3+ messages in thread
From: Jonathan Cameron @ 2016-11-05 16:46 UTC (permalink / raw)
To: Peter Meerwald-Stadler, Mani Sadhasivam; +Cc: martink, linux-iio
On 02/11/16 16:31, Peter Meerwald-Stadler wrote:
> Hello Mani,
>
> adding linux-iio@
>
>> This is Mani, working on MMA8452 Accelerometer with Beaglebone black. I
>> just wanna know whether the TODO : 'Orientation events' task for this
>> Accelerometer is undergoing or not. If not, can I work on the same under
>> your mentoring.
>> For your kind info, I'm a recent undergraduate working in a Product
>> development company called MathWorks. I'm learning Linux Kernel
>> development as a hobby. Also, I thought taking up this task would be a
>> good starting point for Linux Kernel Development.
>
> not sure if someone is working on it, I have not seen patches
>
>> If this task is already done, kindly suggest me a task to help me get
>> involved with Linux community.
>
> you have probably chosen a quite involved task; it is not immediately
> clear how to realize orientation detection (at least to me :)
We could do it in a number of different ways.
One option to think about would be to do it in a 'clasification sense'
similar to we do for human activity detection. There we assign
a percentage likelihood (scaling is a bit arbitrary) to the various
possible states. Might fit well for orientation detection as
it's not really a binary thing.
If we treat it as more of a threshold with hysteresis then a
more conventional 'event' might fit. For this device it's actually
nicely defined in the docs for once. Could be done
as an event on each of the angle axis with hysteresis.
Now the angl type is rather poorly documented right now and there
is no way of knowing what frame of reference it is measured in so
there are some loose ends to tie up in that case as well.
As Peter and Martin have said. Non obvious!
So if you want to do this have a good think about possible interfaces
and propose one for review (perhaps with code implementing it).
Jonathan
>
> regards, p.
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-11-05 16:46 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20161102155018.GA5226@mani-Aspire-E5-573>
2016-11-02 16:21 ` TODO task for MMA8452 Accelerometer Martin Kepplinger
2016-11-02 16:31 ` Peter Meerwald-Stadler
2016-11-05 16:46 ` Jonathan Cameron
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).