Home Questions How to make either of two hand reach target

How to make either of two hand reach target

DWQA QuestionsCategory: Custom Task DevelopmentHow to make either of two hand reach target
Michael Huang asked 7 years ago
Hi, I am creating a task that reach the target regardless of dominant hand or nondominant hand. As long as one of the hand reach the target, the target changes the color. I have read the task 'bimanual_Diedrichsen'. I am not sure what does HandIn2ndTarget do. Will it help?
2 Answers
Duncan McLean Staff answered 7 years ago
Hi Michael, The HandIn2ndTarget input is about a second target location, not the second hand. In your case you would just need a second HandInTarget block where you uncheck "dominant arm". In this case "dominant" refers to the arm the task was loaded for - i.e. the "arm to be assessed" radio buttons in Dexterit-E. Cheers! Duncan
Michael Huang replied 7 years ago

Hi, does it mean I need to combine these two blocks with a component and then connect to the main trail as HandInTarget? If so, which component should I use?

Duncan McLean Staff answered 7 years ago
How you make use of the hand in target arrays is up to you. You can use a matrix concatenation to put the two arrays together. But it's likely just as simple to make a new input to Stateflow like "HandInTarget2". If you do make the second input be sure to check that you set the first array position to 1 in the model explorer. Cheers!