Skip to content
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

Heightmap models crash Ignition #909

Closed
MarqRazz opened this issue Jul 9, 2021 · 2 comments
Closed

Heightmap models crash Ignition #909

MarqRazz opened this issue Jul 9, 2021 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@MarqRazz
Copy link

MarqRazz commented Jul 9, 2021

Environment

  • OS Version: Ubuntu 20.04
  • Source or binary build?
    Edifice Binary / ROS2 Foxy

Description

  • Expected behavior: Load heightmap sdf
  • Actual behavior: error is printed and Ignition crashes

Steps to reproduce

  1. Add this SDF model to your world file
<include>
      <uri>
      https://fuel.ignitionrobotics.org/1.0/chapulina/models/Heightmap Bowl
      </uri>
</include>
  1. Launch Ignition with the above world file

I also have a sdf created using this tutorial that I have used in Gazebo classic that throws the same error.

Output

[ign gazebo-1] [Err] [SDFFeatures.cc:781] The geometry element of collision [collision] couldn't be created
[ign gazebo-1] terminate called after throwing an instance of 'std::bad_optional_access'
[ign gazebo-1]   what():  bad optional access
@MarqRazz MarqRazz added the bug Something isn't working label Jul 9, 2021
@chapulina
Copy link
Contributor

Heightmap physics support hasn't been merged yet, but it's close. See #661.

It shouldn't crash though, so there's definitely something wrong. Proper support is very close to getting in, so I think we should just wait for that to get in.

@chapulina chapulina self-assigned this Jul 9, 2021
@vatanaksoytezer
Copy link

Heightmaps are merged and seems to work fine in my setup with latest edifice branches @chapulina @MarqRazz I think we can close this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants