You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to implement the python bindings for the YarpImplementation of the ParameterHandler. While I was writing the tests I noticed that there is a bug in the setParameter method when a boolean is passed as parameter.
Indeed when I try to call the getParameter method the following error is thrown
[2021-05-24 15:43:46.880] [thread: 71068] [blf] [error] [BipedalLocomotion::YarpUtilities::getElementFromSearchable] The value named: flag is not a bool.
I would suggest checking if this happens also with direct yarp calls. I suspect that this is happening when converting a boolean to string with to_string inside yarp.
I was trying to implement the python bindings for the
YarpImplementation
of theParameterHandler
. While I was writing the tests I noticed that there is a bug in thesetParameter
method when a boolean is passed as parameter.Indeed when I try to call the
getParameter
method the following error is thrownhttps://github.com/dic-iit/bipedal-locomotion-framework/blob/baebbb6686585117d8bc3920cd8725416f116f7f/src/YarpUtilities/include/BipedalLocomotion/YarpUtilities/Helper.tpp#L79-L85
I also created a commit where the test in c++ fails 4561cea
Printing the content of the parameters handler I got the following string. Notice that
flag
is1
and notTrue
This bug does not appear if the configuration is loaded in the configuration file.
cc @traversaro and @S-Dafarra
The text was updated successfully, but these errors were encountered: