Robotics StackExchange | Archived questions

is there a limit for sensors in model/link?

Hello all,

I am trying to create a plugin with 20 parallel gpu_ray sensors, but, when i run it the process dies, with the following output :

[gazebo-2] process has died [pid 22062, exit code 139, cmd /opt/ros/indigo/lib/gazeboros/gzserver -e ode /home/test/test.world _name:=gazebo __log:=/home/test/.ros/log/e21302fc-360b-11e6-b928-ac162d066232/gazebo-2.log]. log file: /home/test/.ros/log/e21302fc-360b-11e6-b928-ac162d066232/gazebo-2*.log

The same code with 8 sensors works well, but as I add the rest of sensors it fails. i searched the Internet regarding the limit of the amount of sensors in a model or link but i have found nothing,

does anybody have any ideas?

EDIT: in another sensors not have a limit. i put a lot of them (the another sensors) and it is work well.

in addition, in Gazebo 5 the limit of gpu_ray grown up to 18.

EDIT 2: the relavant part from SDF: 0.044 0.01045 0.000 0 -0.02094395 0 71 1 -0.77667 0.44505 0.3
30 1
1 500 1
(of course the c15 is changing in any sensor).

Asked by cakiva on 2016-06-19 06:21:22 UTC

Comments

what version of Gazebo are you using ?

Asked by dmeltz on 2016-06-27 22:47:12 UTC

Can you provide a backtrace, and you SDF file? Also, gazebo2 is EOL. I suggest you upgrade to gazebo7.

Asked by nkoenig on 2016-06-28 10:48:27 UTC

dmeltz, i was using in Gazebo 2. but, see my edit. nkoenig, i added the relevant part of SDF to EDIT 2. thanks a lot for both of you!

Asked by cakiva on 2016-07-03 00:16:35 UTC

Answers