Gazebo | Ignition | Community
Ask Your Question
0

QApplication error when using collada model

asked 2016-03-22 13:21:08 -0500

sm02 gravatar image

I am trying to follow the Import Meshes tutorial with a model that I downloaded from the Google Sketchup 3D Warehouse. I downloaded the .dae Collada file. I made a simple world according to the tutorial in the same directory as the model. When I try to launch Gazebo with the world, I get the following error:

Qt has caught an exception thrown from an event handler. Throwing exceptions from an event handler is not supported in Qt. You must reimplement QApplication::notify() and catch all exceptions there.

terminate called after throwing an instance of 'std::logic_error' what(): basic_string::_S_construct null not valid

edit retag flag offensive close merge delete

Comments

Can you provide a full backtrace? Also let us know what version of Gazebo you are using, and how you are running Gazebo.

nkoenig gravatar imagenkoenig ( 2016-03-23 09:50:37 -0500 )edit

Same problem here! Did you find a solution? The example .dae file (yellow duck) works perfectly fine - any downloaded .dae file will cause 'std::logic_error' what(): basic_string::_S_construct null not valid

subs gravatar imagesubs ( 2016-05-12 10:36:32 -0500 )edit

I have the same problem: if I insert a model that has a mesh (which uses jpg images, downloaded from 3D Warehouse) and run Gazebo in verbose mode I obtain: Qt has caught an exception thrown from an event handler. Throwing exceptions from an event handler is not supported in Qt. You must reimplement QApplication::notify() and catch all exceptions there. terminate called after throwing an instance of 'std::logic_error' what(): basic_string::_S_construct null not valid I'm using Gazebo 6.6.0

Marco gravatar imageMarco ( 2016-05-23 09:49:39 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-05-24 07:42:37 -0500

nkoenig gravatar image

Can you open the collada file, and check that the image path is correct?

You can also try using a different image.

It would also be helpful if you point us to the model in the 3d warehouse.

edit flag offensive delete link more

Comments

I ran into similar problem with : https://3dwarehouse.sketchup.com/model.html?id=bb6d77fb0397a1caa3ed516aa372c122 terminate called after throwing an instance of 'std::logic_error' what(): basic_string::_S_construct null not valid Warning [gazebo_main.cc:91] escalating to SIGKILL on server Gazebo 2.2.3 on 14.04 32bit Not sure how to open collada file in linux without gazebo The yellow duck example works. I will try other examples on sketchworks too

shaviland3 gravatar imageshaviland3 ( 2016-09-09 10:43:31 -0500 )edit

I tried some different models and found that if I export only with 'Triangulate all Faces' and don't include 'export edges' it works. Not sure if that works for all models

shaviland3 gravatar imageshaviland3 ( 2016-09-11 11:17:26 -0500 )edit
Login/Signup to Answer

Question Tools

2 followers

Stats

Asked: 2016-03-22 13:21:08 -0500

Seen: 378 times

Last updated: May 24 '16