Add ros pub test.

This commit is contained in:
James Goppert 2018-12-12 10:57:17 -08:00 committed by Nuno Marques
parent a6121e1655
commit 78f109bbab
1 changed files with 8 additions and 0 deletions

8
launch/pub_test.launch Normal file
View File

@ -0,0 +1,8 @@
<launch>
<include file="$(find px4)/launch/mavros_posix_sitl.launch"/>
<param name="pub_test/topic" value="/mavros/local_position/pose"/>
<param name="pub_test/hz" value="30.0"/>
<param name="pub_test/hzerror" value="1.0"/>
<param name="pub_test/test_duration" value="10.0"/>
<test test-name="pub_test" pkg="rostest" type="hztest" name="pub_test"/>
</launch>