Home | Tutorials | Wiki | Issues
Ask Your Question
0

"Fake" collision that can be detected by RaySensor but doesnt collide with other models?

asked 2018-06-25 04:19:35 -0500

wentz gravatar image

Hi,

I'm trying to implement some kind of particle system to generate sensor data that look like the sensor is in a smoky or fogy environment. So i implemented a plugin to spawn one model with 3000 tiny collision boxes with random location's. The data's look good so far, I'm planning to move the collision boxes that it look's like real noise jitter.

The Problem is that the "smoke" model also collides with other models. Is there a way to get rid of that?

I know that there are probably more efficient ways to implement this and in the next month i will spend some time on this problem. If someone could give me some hint's i will start to work on that.

Particle_laserSensor_visualization

Greetings Alex

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2018-06-25 11:01:37 -0500

If you use a GPU ray sensor, you can remove collisions from your particles, because the sensor only detects the visuals.

If you use a (CPU) ray sensor, you can try playing with collision bitmasks.

edit flag offensive delete link more

Comments

Thanks, i think this will be a sufficient solution for my task.

wentz gravatar imagewentz ( 2018-06-26 03:52:41 -0500 )edit

One more "tiny" question. Does it make a difference which driver runs on my graphic card?

wentz gravatar imagewentz ( 2018-06-28 03:25:36 -0500 )edit

It may make a difference for the GPU sensor, not for the CPU one.

chapulina gravatar imagechapulina ( 2018-06-28 12:14:45 -0500 )edit

Thank's a lot for the fast answers.

wentz gravatar imagewentz ( 2018-06-30 16:02:53 -0500 )edit
0

answered 2018-09-11 06:30:28 -0500

medz gravatar image

Hi, have you simulated smoke in gazebo?? if so how??

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2018-06-25 04:19:35 -0500

Seen: 70 times

Last updated: Jun 25 '18