Skip to content
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

YarpSensorBridge fails in attaching FT IMU in simulation #807

Closed
GiulioRomualdi opened this issue Feb 13, 2024 · 5 comments
Closed

YarpSensorBridge fails in attaching FT IMU in simulation #807

GiulioRomualdi opened this issue Feb 13, 2024 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@GiulioRomualdi
Copy link
Member

I'm trying to test icub-tech-iit/ergocub-software#217 with YarpRobotLoggerDevice. To do so I modified the configuration file of the logger as 9089463

However when I run the device I got

[ERROR] [2024-02-13 09:39:06.481] [thread: 438810] [blf] [YarpSensorBridge::Impl::checkAttachedMASSensors] Expecting the same number of MAS sensors attached to the Bridge as many mentioned in the initialization step. Number of MAS sensor in the interface: 0. Number of sensor in initialization: 4.
[ERROR] [2024-02-13 09:39:06.481] [thread: 438810] [blf] [YarpSensorBridge::Impl::attachAndCheckMASSensors] Could not find at least one of the required sensors.
[ERROR] [2024-02-13 09:39:06.481] [thread: 438810] [blf] [YarpSensorBridge::Impl::attachAllInertials] Unable to attach the accelerometer as MAS.
[ERROR] [2024-02-13 09:39:06.481] [thread: 438810] [blf] [YarpSensorBridge::setDriversList] Failed to attach to one or more device drivers.
[ERROR] [2024-02-13 09:39:06.481] [thread: 438810] [blf] [YarpRobotLoggerDevice::attachAll] Could not attach drivers list to sensor bridge.
[ERROR] Device yarp-robot-logger cannot execute attach
[ERROR] Cannot run attach action on device yarp-robot-logger

@G-Cervettini did you ever expirienced the same issue?

@GiulioRomualdi GiulioRomualdi self-assigned this Feb 13, 2024
@GiulioRomualdi GiulioRomualdi added the bug Something isn't working label Feb 13, 2024
@GiulioRomualdi
Copy link
Member Author

I tried to replicate @G-Cervettini setup but the issue is still there

@G-Cervettini
Copy link
Contributor

G-Cervettini commented Feb 13, 2024

I'm trying to test icub-tech-iit/ergocub-software#217 with YarpRobotLoggerDevice. To do so I modified the configuration file of the logger as 9089463

However when I run the device I got

[ERROR] [2024-02-13 09:39:06.481] [thread: 438810] [blf] [YarpSensorBridge::Impl::checkAttachedMASSensors] Expecting the same number of MAS sensors attached to the Bridge as many mentioned in the initialization step. Number of MAS sensor in the interface: 0. Number of sensor in initialization: 4.
[ERROR] [2024-02-13 09:39:06.481] [thread: 438810] [blf] [YarpSensorBridge::Impl::attachAndCheckMASSensors] Could not find at least one of the required sensors.
[ERROR] [2024-02-13 09:39:06.481] [thread: 438810] [blf] [YarpSensorBridge::Impl::attachAllInertials] Unable to attach the accelerometer as MAS.
[ERROR] [2024-02-13 09:39:06.481] [thread: 438810] [blf] [YarpSensorBridge::setDriversList] Failed to attach to one or more device drivers.
[ERROR] [2024-02-13 09:39:06.481] [thread: 438810] [blf] [YarpRobotLoggerDevice::attachAll] Could not attach drivers list to sensor bridge.
[ERROR] Device yarp-robot-logger cannot execute attach
[ERROR] Cannot run attach action on device yarp-robot-logger

@G-Cervettini did you ever expirienced the same issue?

Looks like the error I had back in time here. Even though my error was mentioning orientation while here it is about accelerometer.

@GiulioRomualdi
Copy link
Member Author

I debugged the issue with @G-Cervettini it turns out to be a typo in the configuration file 😭

#808 adds the logging of the feet IMU in simulation

@S-Dafarra
Copy link
Member

cc @rob-mau I don't remember if you were experiencing the same issue the other day

@rob-mau
Copy link
Contributor

rob-mau commented Feb 15, 2024

Yes, I was experiencing some similar issues (there was a problem with "l_leg_ft", "r_leg_ft" in the yarp-robot-logger.xml configuration file). I solved it by updating the ergocub-software repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants