Gazebo | Ignition | Community
Ask Your Question

cakiva's profile - activity

2016-07-03 01:32:40 -0500 received badge  Famous Question (source)
2016-07-03 00:16:35 -0500 commented question is there a limit for sensors in model/link?

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!

2016-06-27 22:56:40 -0500 received badge  Student (source)
2016-06-27 21:33:35 -0500 received badge  Notable Question (source)
2016-06-25 23:10:45 -0500 received badge  Editor (source)
2016-06-25 23:10:29 -0500 received badge  Popular Question (source)
2016-06-19 12:14:45 -0500 asked a question 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/gazebo_ros/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: <sensor name="c15" type="gpu_ray"> <pose>0.044 0.01045 0.000 0 -0.02094395 0</pose> <ray> <scan> <horizontal> <samples>71</samples> <resolution>1</resolution> <min_angle>-0.77667</min_angle> <max_angle>0.44505</max_angle> </horizontal> </scan> <range> <min>0.3</min>
<max>30</max> <resolution>1</resolution> </range> </ray> <always_on>1</always_on> <update_rate>500</update_rate> <visualize>1</visualize> </sensor> (of course the c15 is changing in any sensor).