-
Notifications
You must be signed in to change notification settings - Fork 487
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DARTHeightmapShape: correctly load asymmetric terrains (#2818)
The heightmap_valley.png used in the heightmap tests for ODE and DART is symmetric, which obscures the fact that DART is not treating asymmetric heightmaps properly. This adds a test using worlds/heightmap.world and heightmap_bowl.png to illustrate the bug. * DARTHeightmapShape: set flipY = false This variable was uninitialized and was causing problems with asymmetric heightmaps. Signed-off-by: Steve Peters <scpeters@openrobotics.org>
Showing
3 changed files
with
84 additions
and
0 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
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