Closed lrapetti closed 2 years ago
I have taken care of this modification in https://github.com/robotology/human-dynamics-estimation/pull/274. In order to have such visualization, accordingly to the repo structure, I have added:
IWearableTargets
interfaceHumanStateProvider
WearableTargetsWrapper
deviceWearableTargetsRemapper
deviceHumanStateVisualizer
In order to visualize the targets, or the model frames the following options are added to the visualizer:
visualizeFrames
bool flagvisualizeTargets
bool flagvisualizedLinksFrame
list of model frames to visualizelinksFrameScalingFactor
scale factor for the model framesvisualizedTargetsFrame
list of target to visualizetargetsFrameScalingFactor
scaling factor for the targets frameThe frames are visualized as follow:
pose
and poseAndVelocity
targets: position and orientation of the targetposition
and positionAndVelocity
targets: position of the target, orientation of the associated linkorientation
and oritentationAndVelocity
targets: position of the associated link, orientation of the targetreference code for this can be found in https://github.com/robotology/human-dynamics-estimation/blob/dfe74f86c0c55912ad6b9d44dfde719584101e41/modules/HumanStateVisualizer/src/main.cpp#L663-L678
An example of visualization is the following where you can see:
cc @S-Dafarra @RiccardoGrieco
Targets visualization was achieved in add-different-target-types
branch, We can close this issue, and I will open a new one for merging the changes in master
We should add the possibility to add in the visualizer the targets used by the
HumanStateProvider
for solving IK problem