-
Notifications
You must be signed in to change notification settings - Fork 48
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
Fix for GazeboYarpDepthCameraDriver::getDepthImage #623
Fix for GazeboYarpDepthCameraDriver::getDepthImage #623
Conversation
Removed implicit conversions from the depth data quantization in `GazeboYarpDepthCameraDriver::getDepthImage` which in at least one occasion caused an unexpected crash of the `rgbdSensor_nws_yarp`. Also, the calculation of the scalar coefficient (involving `math::pow`), used to cut the decimal figures from the depth data, has been moved outside the for loop that cycles through the whole image.
Sorry @elandini84, I forgot to update the devel after the recent release on master. Can you rebase on the latest devel? The only relevant change should be on the CHANGELOG. |
I also added a small suggestion to add a link to the PR in the changelog line. |
defe630
to
389f16b
Compare
CHANGELOG.md
Outdated
@@ -18,6 +18,10 @@ The format of this document is based on [Keep a Changelog](https://keepachangelo | |||
- It is now possible to remove and add again to the simulation models that use `gazebo_yarp_robotinterface` without any crash (https://github.com/robotology/gazebo-yarp-plugins/pull/618, https://github.com/robotology/gazebo-yarp-plugins/pull/619). | |||
- Fixed value returned by getDeviceStatus method in `gazebo_yarp_laser` plugin (https://github.com/robotology/gazebo-yarp-plugins/pull/617). | |||
|
|||
### Fixed | |||
- Removed implicit conversions from the depth data quantization in `GazeboYarpDepthCameraDriver::getDepthImage` which in at least one occasion caused an unexpected crash of the `rgbdSensor_nws_yarp`. Also, the calculation of the scalar coefficient (involving `math::pow`), used to cut the decimal figures from the depth data, has been moved outside the for loop that cycles through the whole image. | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@elandini84 the section is under "4.3.0" released, but that release was already done, it should be moved under "Unreleased".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IT should be fine now. Thanks for the warning.
Thanks @elandini84 ! |
Removed implicit conversions from the depth data quantization in
GazeboYarpDepthCameraDriver::getDepthImage
which in at least oneoccasion caused an unexpected crash of the
rgbdSensor_nws_yarp
.Also, the calculation of the scalar coefficient (involving
math::pow
),used to cut the decimal figures from the depth data, has been moved
outside the for loop that cycles through the whole image.