adxl345.launch 511 B

1234567891011121314151617
  1. <launch>
  2. <arg name="device" default="/dev/ttyACM0"/>
  3. <arg name="with_plot" default="false"/>
  4. <node name="adxl345" pkg="adi_driver" type="adxl345_node">
  5. <param name="device" value="$(arg device)"/>
  6. </node>
  7. <group ns="plot" if="$(arg with_plot)">
  8. <node name="accl" pkg="rqt_plot" type="rqt_plot"
  9. args="/adxl345/data_raw/linear_acceleration/x:y:z"/>
  10. </group>
  11. <!-- Connect sensors before tests -->
  12. <test test-name="test_adxl345" pkg="adi_driver" type="test_adxl345.py"/>
  13. </launch>