robotology / human-dynamics-estimation

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

human_wrench_provider returning zeros if not attached to HumanStateProvider #318

Closed lrapetti closed 1 year ago

lrapetti commented 1 year ago

After merging https://github.com/robotology/human-dynamics-estimation/pull/309, the human_wrench_provider returns all zero if it is not attached to the HumanStateProvider, without returning any error. We should either make it work even without a HumanStateProvider attached, or return an error in case it is not present.

cc @RiccardoGrieco

RiccardoGrieco commented 1 year ago

I will open a PR to address this issue. For the time being, #317 should be a good workaround.

lrapetti commented 1 year ago

With https://github.com/robotology/human-dynamics-estimation/pull/347, an error will be returned if no IHumanState interface is provided. We can wait for the PR and close it.

lrapetti commented 1 year ago

Closed via https://github.com/robotology/human-dynamics-estimation/pull/347