-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error while testing attaching MAS FTs to wholeBodyDynamics
#163
Comments
wholeBodyDynamics
wholeBodyDynamics
CC @traversaro |
If I recall correctly the current logic is that you should either have all sensors exposed via IAnalogSensors or all via ISixAxisForceTorqueSensors, you can't mix some sensors exposed via IAnalogSensors and some others via ISixAxisForceTorqueSensors. |
I'm not sure this is the cause of this particular error, anyhow I tried with all FTs exposed via The error happens because attach methods in whole-body-estimators/devices/wholeBodyDynamics/WholeBodyDynamicsDevice.cpp Lines 1734 to 1735 in c46c185
are executed with no errors but still return 0 devices because I found that I am missing the group whole-body-estimators/devices/wholeBodyDynamics/WholeBodyDynamicsDevice.cpp Lines 772 to 795 in c46c185
But I still can't get it right because I don't know how to properly add this group. |
Adding this configuration worked (we are using 4 FTs in iRonCub): <group name="multipleAnalogSensorsNames">
<param name="SixAxisForceTorqueSensorsNames">("l_arm_ft_sensor", "r_arm_ft_sensor", "l_leg_ft_sensor", "r_leg_ft_sensor")</param>
<param name="TemperatureSensorsNames">("l_arm_ft_sensor", "r_arm_ft_sensor", "l_leg_ft_sensor", "r_leg_ft_sensor")</param>
</group> Probably we need to document this somewhere.. I was also able to launch the device successfully with mixing attaching CC @traversaro |
I think we can close this issue! |
Here's the config file I used
config file
Basically, I replaced 2
analogServer
FTs withmultipleanalogservers
.I am getting the following error
It happens due to this line:
whole-body-estimators/devices/wholeBodyDynamics/WholeBodyDynamicsDevice.cpp
Lines 1743 to 1747 in c46c185
Which is strange because the MAS sensors are detected based on
From line
whole-body-estimators/devices/wholeBodyDynamics/WholeBodyDynamicsDevice.cpp
Line 1720 in c46c185
Which means
ftSensorList.size()
is actually not empty.What could I be possibly missing?
The text was updated successfully, but these errors were encountered: