robksawyer / bikinect

Automatically exported from code.google.com/p/bikinect
0 stars 0 forks source link

Label not shown #8

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.
    <mappingset id="prendimicrofono">   
        <mapping id="start">
            <processor type="action" action="nextSet" filter="greater_than" label="ManoSxSuGomitoDx">
                <element type="joint" target="left_hand" property="position" axis="x" />
                <element type="joint" target="right_elbow" property="position" axis="x" />
            </processor>    
            <output>            
            </output>
        </mapping>
    </mappingset>
2.
3.

What is the expected output? What do you see instead?
I'd wish to see label name over hand or elbow.

What version of the product are you using? On what operating system?
macosx 10.6, mappinect 1.0

Please provide any additional information below.
Don0t know if it depends by the fact output is empty, or that it is a mapping 
based on 2 different body part.

Original issue reported on code.google.com by michele....@gmail.com on 8 Nov 2011 at 10:49

GoogleCodeExporter commented 9 years ago
If you want to trigger an action depending on a condition, you can try nesting 
inside your main processor a boolean processor that contains the 2 elements. 
(Check the live_jazz.xml action processor example).

You can also try adding labelFeedback="true" to your processor to force showing 
the label but i doubt it's the solution here.

Just out of curiosity, does this mapping works well, except for the label not 
showing ?

Original comment by bkuperb...@gmail.com on 8 Nov 2011 at 3:33

GoogleCodeExporter commented 9 years ago
Hi; i'll test your suggestion. 

About this mapping: my tests tells it doesn't work well - sometimes work, 
sometimes not. I'd like to specify better under which conditions, but seems to 
be random to my eyes. Let's consider this is the second issue of this thread.

ciao

Original comment by michele....@gmail.com on 8 Nov 2011 at 11:46

GoogleCodeExporter commented 9 years ago
What are you trying to do exactly ?
From what i see, you want to change the mapping set when your left hand is on 
the right of your right elbow.
I don't know the move you want to achieve, but i often use a distance trigger 
to do such things.

I think you already know that, but that's worth saying it : your mappingset, as 
it is defined, is not permanent, which means that when you trigger the nextSet 
action, this set won't be active until another action change the activeSet to 
this one.

2 more things :
 - Next version (which will come when i get some time) will support user-centric coordinates, so you will be able to define coordinates from the user's point of view.
 - With this feature will also come Pose detection (definition of one or more joint position (camera-centric or user-centric)) and maybe even gesture recognition.

Original comment by bkuperb...@gmail.com on 9 Nov 2011 at 8:44

GoogleCodeExporter commented 9 years ago
Dear,

thanks as always for your support.

I'm trying to do exactly what you described, change the mapping set when my 
left hand is on the right of my right elbow. For sure i could use a distance 
instead, but:
- distance is something one feel worse than relative position of one part of 
the body in respect of another one
- theorically, the mapping is correct, so the fact sometimes works sometimes 
no, make me feel it as a bug

Anyway, also adding labelFeedback="true" to the mapping, if it were a solution, 
would be strange, as the documentation says this is the default.

I understand also the non-permanent mood of the action - i'm trying to define 
several ways of changing mapping all different, not to make easily 
understanding how i do it - anyway, at the moment i'm just experimenting so i 
don't know if this will be "the" choice.

I'm really excited about your plan for next release, i'm really looking forward 
to see it online for downloading!!

thanks for you precious job

michele

Original comment by michele....@gmail.com on 9 Nov 2011 at 3:49

GoogleCodeExporter commented 9 years ago
Ok, i understand.
If you struggle with these problems, you can record a video showing it, i'll 
have a better idea of what could be wrong.

Keep me in touch !
Ben

Original comment by bkuperb...@gmail.com on 9 Nov 2011 at 5:02