forked from moveit/moveit2
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed segmentation fault in depth_image_octomap_updater (moveit#2963)
- Loading branch information
1 parent
bb69934
commit c786c7b
Showing
7 changed files
with
15 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -106,7 +106,7 @@ class GLRenderer | |
* \author Suat Gedikli ([email protected]) | ||
* \param[out] buffer pointer to memory where the depth values need to be stored | ||
*/ | ||
void getDepthBuffer(double* buffer) const; | ||
void getDepthBuffer(float* buffer) const; | ||
|
||
/** | ||
* \brief loads, compiles, links and adds GLSL shaders from files to the current OpenGL context. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -131,7 +131,7 @@ class MeshFilterBase | |
* \author Suat Gedikli ([email protected]) | ||
* \param[out] depth pointer to buffer to be filled with depth values. | ||
*/ | ||
void getFilteredDepth(double* depth) const; | ||
void getFilteredDepth(float* depth) const; | ||
|
||
/** | ||
* \brief retrieves the labels of the rendered model | ||
|
@@ -149,7 +149,7 @@ class MeshFilterBase | |
* \author Suat Gedikli ([email protected]) | ||
* \param[out] depth pointer to buffer to be filled with depth values. | ||
*/ | ||
void getModelDepth(double* depth) const; | ||
void getModelDepth(float* depth) const; | ||
|
||
/** | ||
* \brief set the shadow threshold. points that are further away than the rendered model are filtered out. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters