ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

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="listener.py" args="--test" respawn="true" />

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

thanks

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

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:

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

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

Comments

Hi, i'll try this tomorrow. thanks!

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

Question Tools

Stats

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

Seen: 237 times

Last updated: May 12 '19