ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

Running the Drop node from a launch file

asked 2019-05-12 08:27:37 -0500

yakovkor gravatar image

updated 2019-05-12 15:06:40 -0500

gvdhoorn gravatar image

I want to run the drop node from topic_tools package with others nodes in a launch file, how can i do this?

i saw this example:

<node name="listener1" pkg="rospy_tutorials" type="" args="--test" respawn="true" />

but i don't know what 'name' and 'type' should be.


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2019-05-12 15:11:34 -0500

gvdhoorn gravatar image

This is almost a duplicate of #q40304, but that is with throttle instead of drop.

The idea is similar though:

  <node name="foo_dropper" type="drop" pkg="topic_tools" args="<intopic> <X> <Y> [outtopic]" />

Where you'd replace <intopic> <X> <Y> [outtopic] with the appropriate values of course.

Refer to the wiki page for more information on the usage and command line arguments of drop.

edit flag offensive delete link more


Hi, i'll try this tomorrow. thanks!

yakovkor gravatar image yakovkor  ( 2019-05-12 15:32:00 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2019-05-12 08:27:37 -0500

Seen: 177 times

Last updated: May 12 '19