ergoCubSN00*: Fix name of waist_imu_0 sensor in real robots and imuFrameName in wbd files #614
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Before this PR, there was a discrepancy between:
1.The sensor name of the waist imu as returned by thegetThreeAxisLinearAccelerometerFrameNameandgetThreeAxisGyroscopeFrameNamemethods YARP methods of multipleanalogensors interfaces in Gazeobo-simulated ergoCub robots2.The sensor name of the waist imu as returned by thegetThreeAxisLinearAccelerometerFrameNameandgetThreeAxisGyroscopeFrameNamemethods YARP methods of multipleanalogensors interfaces in real ergoCub robots3.The sensor name of the waist imu used in URDF models, of both real and Gazebo-simulated robotsIn particular, 1 and 3 were using
waist_imu_0, while 2 were usingsensor_imu_xsensmt, i.e. the default sensor name of https://github.com/robotology/yarp-device-xsensmt . I guess 2 was a leftover and/or error, while the real name iswaist_imu_0, so this PR fixes the sensor name used in real robots to be coherent with the one used in the URDF. Furthermore, some wbd configuration file contained the wrongimuFrameName, i.e.head_imu_0, even ifwaist_imu_0was actually used. This PR also fixes this problem.Probably this fixes icub-tech-iit/ergocub-software#221, but I did not actually tested this.