Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add particle scatter ratio field to particle emitter #162

Merged
merged 2 commits into from
May 11, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions proto/ignition/msgs/particle_emitter.proto
Original file line number Diff line number Diff line change
Expand Up @@ -106,4 +106,12 @@ message ParticleEmitter
/// \brief The topic name used by the particle emitter for control and
/// modification.
StringMsg topic = 19;

/// \brief The ratio of particles that will be detected by sensors.
/// Increasing the ratio means there is a higher chance of particles
/// reflecting and interfering with depth sensing, making the emitter
/// appear more dense. Decreasing the ratio decreases the chance of
/// particles reflecting and interfering with depth sensing, making it
/// appear less dense. Value is in the range of [0, 1].
Float particle_scatter_ratio = 20;
chapulina marked this conversation as resolved.
Show resolved Hide resolved
}