mti300.launch 581 B

1234567891011121314151617
  1. <launch>
  2. <arg name="port" default="/dev/ttyUSB0" />
  3. <arg name="baudrate" default="115200" />
  4. <arg name="mode" default="2" />
  5. <arg name="frequency" default="100" />
  6. <arg name="boot_device" default="true" />
  7. <node pkg="xsens_driver" type="mtdevice.py" name="mtdevice"
  8. args="-d $(arg port) -m $(arg mode) -f $(arg frequency)" if="$(arg boot_device)" />
  9. <node pkg="xsens_driver" type="mtnode.py" name="mtnode" unless="$(arg boot_device)">
  10. <param name="device" value="$(arg port)" />
  11. <param name="baudrate" value="$(arg baudrate)" />
  12. </node>
  13. </launch>