This PR introduces a new modality to detect if the hand is raised, which relies on the normalized 3D skeleton and applies a threshold on the distance hand - elbow, computed on the z axis (with respect to the start-line).
I introduced the flag detect-hand-up in managerTUG:
if set to true, managerTUG is in charge of detecting if the hand is raised using the 3D skeleton;
if set to false, we can rely on humanStructure, using 2D skeleton. I added a check in humanStructure, in order to avoid to send commands to googleSpeech if the trigger port is not connected.
This PR introduces a new modality to detect if the hand is raised, which relies on the normalized 3D skeleton and applies a threshold on the distance hand - elbow, computed on the z axis (with respect to the start-line). I introduced the flag
detect-hand-up
inmanagerTUG
:managerTUG
is in charge of detecting if the hand is raised using the 3D skeleton;humanStructure
, using 2D skeleton. I added a check inhumanStructure
, in order to avoid to send commands togoogleSpeech
if the trigger port is not connected.