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

Revision history [back]

Since the question was unclear, I am quoting from the comment below.

I want to make a launch file for this command (rostopic pub -1 /mavros/rc/override mavros_msgs/OverrideRCIn '[1000,1900,1100,1100,1125,1560,1500,1500,0,0,0,0,0,0,0,0,1500,1500]')

In your launch file, please use a node in the following manner:

<node pkg="rostopic" type="rostopic" name="arbitrary_name" args="pub /pkg_topic pkg_executable_file/message" output="screen"/>

For more details, please check here.