g30esli_interface.launch 1.0 KB

12345678910111213141516171819202122232425
  1. <launch>
  2. <arg name="engaged" default="true"/>
  3. <arg name="device" default="can0"/>
  4. <arg name="steering_offset_deg" default="0.0"/>
  5. <arg name="command_timeout" default="1000"/>
  6. <arg name="use_ds4" default="false"/>
  7. <arg name="enable_reverse_motion" default="false"/>
  8. <arg name="ds4_wired" default="false"/>
  9. <arg name="ds4_timeout" default="1000"/>
  10. <node pkg="ymc" name="g30esli_interface" type="g30esli_interface" output="screen">
  11. <param name="engaged" value="$(arg engaged)"/>
  12. <param name="device" value="$(arg device)"/>
  13. <param name="use_ds4" value="$(arg use_ds4)"/>
  14. <param name="enable_reverse_motion" value="$(arg enable_reverse_motion)"/>
  15. <param name="steering_offset_deg" value="$(arg steering_offset_deg)"/>
  16. <param name="command_timeout" value="$(arg command_timeout)"/>
  17. </node>
  18. <include file="$(find ds4_driver)/launch/ds4_driver.launch" if="$(arg use_ds4)">
  19. <arg name="wired" value="$(arg ds4_wired)" />
  20. <arg name="timeout" value="$(arg ds4_timeout)" />
  21. </include>
  22. </launch>