robotology / human-dynamics-estimation

Software repository for estimating human dynamics
BSD 3-Clause "New" or "Revised" License
75 stars 28 forks source link

Add the possibility to visualize the IK targets used in HumanStateProvider #263

Closed lrapetti closed 2 years ago

lrapetti commented 2 years ago

We should add the possibility to add in the visualizer the targets used by the HumanStateProvider for solving IK problem

lrapetti commented 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:

In order to visualize the targets, or the model frames the following options are added to the visualizer:

The frames are visualized as follow:

reference 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:

https://user-images.githubusercontent.com/35487806/146382494-f7ad118e-c68c-4a19-8c40-1bad776fa6e8.mov

lrapetti commented 2 years ago

cc @S-Dafarra @RiccardoGrieco

lrapetti commented 2 years ago

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