microstrain.launch 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <?xml version="1.0"?>
  2. <launch>
  3. <!-- Standalone example launch file -->
  4. <!-- For setting debug level to debug -->
  5. <env name="ROSCONSOLE_CONFIG_FILE"
  6. value="$(find microstrain_3dm_gx5_45)/config/custom_rosconsole.conf"/>
  7. <!-- Microstain sensor node -->
  8. <node name="microstrain_3dm_gx5_45_node"
  9. pkg="microstrain_3dm_gx5_45"
  10. type="microstrain_3dm_gx5_45_node" output="screen">
  11. <!--<param name="port" value="/dev/ttyACM0" type="str" />-->
  12. <param name="port" value="/dev/ttyUSB0" type="str" />
  13. <param name="baudrate" value="115200" type="int" />
  14. <param name="device_setup" value="true" type="bool" />
  15. <param name="readback_settings" value="true" type="bool" />
  16. <param name="save_settings" value="true" type="bool" />
  17. <param name="auto_init" value="true" type="bool" />
  18. <param name="gps_rate" value="4" type="int" />
  19. <param name="imu_rate" value="10" type="int" />
  20. <param name="nav_rate" value="10" type="int" />
  21. <param name="dynamics_mode" value="1" type="int" />
  22. <param name="declination_source" value="2" type="int" />
  23. <param name="declination" value="0.23" type="double" />
  24. <param name="gps_frame_id" value="wgs84" type="str" />
  25. <param name="imu_frame_id" value="base_link" type="str" />
  26. <param name="odom_frame_id" value="wgs84" type="str" />
  27. <param name="odom_child_frame_id" value="base_link" type="str" />
  28. <param name="publish_gps" value="true" type="bool" />
  29. <param name="publish_imu" value="true" type="bool" />
  30. <param name="publish_odom" value="true" type="bool" />
  31. </node>
  32. <!-- Diagnostics -->
  33. <node pkg="rqt_topic" type="rqt_topic" name="rqt_topic"/>
  34. <!--<node pkg="rqt_plot" type="rqt_plot" name="pid_setpoints"
  35. args="/yaw_pid_debug/Setpoint /vel_pid_debug/Setpoint"/>-->
  36. </launch>