Robotics StackExchange | Archived questions

Preplexing exception in case of sonar sensor

Hi,

I inserted a sonar sensor in a sdf file to mimic the ultrasonic range sensors. The file can be found here on PasteBin.

I have found out that if I comment the <sensor> </sensor> block, no error is thrown, else the following error is thrown every time any force is applied on it.


Exception [msgs.cc:448] Invalid geometry element

terminate called after throwing an instance of 'gazebo::common::Exception'


Any suggestions? And yes the sensor type is sonar but I am not getting sonar related data in any other way, except by making the sensor type sonar

I use Gazebo v2.2, sdf v1.4 on Ubuntu 12.04

Asked by Kunal yagi on 2014-06-01 06:05:16 UTC

Comments

I was able to load that model with no problems. How do you generate the exception? If it involves a plugin, please include the code for the plugin.

Asked by scpeters on 2014-06-02 19:58:17 UTC

Hi, sorry for not including the following information: To reproduce the error, simply include the model into another model by using the meta-tag of . It has worked for me, so far.

Asked by Kunal yagi on 2014-06-05 11:38:01 UTC

Answers