Added receiver/sender for drive from ground station.

This commit is contained in:
2018-02-26 22:54:00 -08:00
parent 92d67222a1
commit 8cc7048b9e
2 changed files with 22 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
<launch>
<node name="udp_receiver_drive" pkg="nimbro_topic_transport" type="udp_receiver" output="screen">
<param name="port" value="17020" />
</node>
</launch>

View File

@@ -0,0 +1,17 @@
<launch>
<arg name="target" default="192.168.1.10" />
<!-- The UDP sender node -->
<node name="udp_sender4" pkg="nimbro_topic_transport" type="udp_sender" output="screen">
<!-- The destination host name or IP address -->
<param name="destination_addr" value="$(arg target)" />
<param name="destination_port" value="17020" />
<!-- Load the list of topics from a YAML file -->
<rosparam param="topics">
[{name: "/command_control/groundstation_drive", compress: true, rate: 15.0}]
</rosparam>
</node>
</launch>