Skip to content

Commit 739695d

Browse files
nkoenigNate Koenig
andauthored
Add particle emitters to link.proto and add topic to particle_emitter.proto (#153)
Signed-off-by: Nate Koenig <nate@openrobotics.org> Co-authored-by: Nate Koenig <nate@openrobotics.org>
1 parent 903e79b commit 739695d

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

proto/ignition/msgs/link.proto

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ import "ignition/msgs/collision.proto";
2929
import "ignition/msgs/visual.proto";
3030
import "ignition/msgs/light.proto";
3131
import "ignition/msgs/sensor.proto";
32+
import "ignition/msgs/particle_emitter.proto";
3233
import "ignition/msgs/projector.proto";
3334
import "ignition/msgs/pose.proto";
3435
import "ignition/msgs/battery.proto";
@@ -60,4 +61,7 @@ message Link
6061

6162
/// \brief A vector of lights attached to this link
6263
repeated Light light = 17;
64+
65+
/// \brief A vector of particle emitters attached to this link.
66+
repeated ParticleEmitter particle_emitter = 18;
6367
}

proto/ignition/msgs/particle_emitter.proto

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,4 +102,8 @@ message ParticleEmitter
102102

103103
/// \brief The path to the color image used as an affector.
104104
StringMsg color_range_image = 18;
105+
106+
/// \brief The topic name used by the particle emitter for control and
107+
/// modification.
108+
StringMsg topic = 19;
105109
}

0 commit comments

Comments
 (0)