How to generate large number of random particles which are continually moving in to one direction for collision detection [closed]

asked 2018-10-08 22:55:25 -0500

sajithsam gravatar image

updated 2018-10-09 00:19:05 -0500

ahendrix gravatar image

Hi ,

I am using gazebo + Ros (melodic) + URDF for my robot. I have created a contact sensor as below. Now I need to generate huge number of random particles (like small bubbles) which are continuously moving towards my robot. (without effect of the gravity) and get the hit count for a given time

Is there any way to generate these particles? Please help here

My code

  <gazebo reference="head__link_LP">
    <sensor name="lp_contactsensor_sensor" type="contact">
      <always_on>true</always_on>
      <contact>
        <collision>head__link_LP_fixed_joint_lump__LP_col_collision</collision>
      </contact>
      <plugin filename="libgazebo_ros_bumper.so" name="left_arm_fist_plugin">
        <bumperTopicName>left_arm_fist_contact</bumperTopicName>
        <frameName>head__link_LP</frameName>
      </plugin>
    </sensor>
  </gazebo>
edit retag flag offensive reopen merge delete

Closed for the following reason Gazebo Question: The Gazebo community prefers to answer questions at: http://answers.gazebosim.org by gvdhoorn
close date 2018-10-09 02:22:57.883559

Comments

I would suggest to ask this over at Gazebo Answers, as it's more a simulation issue right now than something to do with ROS per se.

If you do post there, please post a link here to the new question so we keep things connected.

gvdhoorn gravatar image gvdhoorn  ( 2018-10-09 02:23:48 -0500 )edit