drone-rigide/launch/test_derivative.launch
2019-06-05 08:54:37 +02:00

24 lines
1.1 KiB
XML

<launch>
<node name="reconf" pkg="rqt_reconfigure" type="rqt_reconfigure"/>
<node name="D_param" pkg="dynamic_reconfigure" type="dynparam" args="load /D $(find detect_targets)/params/settings_test_D.yaml"/>
<node name="Rate_param" pkg="dynamic_reconfigure" type="dynparam" args="load /rate $(find detect_targets)/params/settings_test_D_rate.yaml"/>
<node name="publisher" pkg="detect_targets" type="publish_csv.py" args="$(find detect_targets)/utils/data/walk.csv" output="screen">
<remap from="output" to="rate_input" />
</node>
<node name="rate" pkg="detect_targets" type="control_compute.py" args="rate" output="screen">
<remap from="input" to="rate_input" />
<remap from="output" to="derivative_input" />
</node>
<node name="D" pkg="detect_targets" type="control_compute.py" args="derivative" output="screen">
<remap from="input" to="derivative_input" />
<remap from="output" to="derivative_output" />
</node>
<node name="graph" pkg="rqt_graph" type="rqt_graph" output="screen"></node>
<node name="plot" pkg="rqt_plot" type="rqt_plot" args="/derivative_input /derivative_output" output="screen">
</node>
</launch>