-
Notifications
You must be signed in to change notification settings - Fork 2
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
Bosch IMU never starts the first time #876
Comments
Hi @S-Dafarra , |
This patch(robotology/yarp#2034) introduced an error message in case the first 10 read from the sensor fail(at startup time). |
I want to underline that probably it is a problem that exists since forever, simply before robotology/yarp#2034 there was that other problem robotology/yarp#1994. BTW the imubosch mounted on the rfe board seems to not have this issue and it is ready to be used(robotology/icub-main#570). |
I tried on double sum_squared = quaternion_tmp.w() * quaternion_tmp.w() +
quaternion_tmp.x() * quaternion_tmp.x() +
quaternion_tmp.y() * quaternion_tmp.y() +
quaternion_tmp.z() * quaternion_tmp.z();
if( (sum_squared < 0.9) || (sum_squared > 1.2) )
{
dataIsValid = false;
return;
} I don't remember the rationale behind this check. |
I think it is checking the quaternion to have unit norm 🤔 |
Would it be possible to find the reason why it needs 2 tarts to have the condition accpeted? or how long it takes to have the condition accpeted? |
The reason of the fail of the condition is this robotology/yarp#1994. Removing that check, at the first startup the imu doesn't work, it gives only
I'm afraid forever, unless restarting the |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
I honestly don't know how to approach this issue 🤔 In my opinion is not something software related, but I don't know how to check it. |
I just noticed that in the error log posted by @S-Dafarra there is also a related error from the
I wonder if the two issues may be related, even if the device are attached to the robot using two different bus. If we want to investigate the issue, I would try the following:
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
This has not been fixed yet and the suggestions in #876 (comment) have not been tried AFAIK. |
A workaround could be do the restart of the device inside of the code of |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
Hi good friend @Stale, I am afraid that this issue is still present. |
@Nicogene , do u have any other good ideas to make it ok? |
A bug fix has been requested on icub-fix channel and will be addressed when FW guy available |
Unfortunately not, but I'd try what @traversaro suggested here -> #876 (comment) |
Hi all, unfortunately we keep having this issue. So, I am going to re-open it. Let un know how you prefer to proceed CC |
a feasibility study was recently carried out to introduce RFE master on the robot head, which should help solve this problem as well as the problem of face expressions #1083. |
This issue has been automatically marked as stale because it did not have recent activity. It will be closed if no further activity occurs. |
This issue has been automatically closed due to inactivity. Feel free to open it again if needed. |
Brief description of the request/failure
Every time we switch on the robot head, the Bosch IMU device fails to start and we get the following error:
To run the robot is sufficient to restart the
yarprobotinterface
.Detailed context
log_icub-head_bosch_not_starting.txt
Accompanying material
The text was updated successfully, but these errors were encountered: