2025-07-11 19:42:45 +08:00
|
|
|
<launch>
|
|
|
|
|
<!--
|
2025-07-12 21:01:38 +08:00
|
|
|
Usage: roslaunch odin_ros_driver odin1_ros1.launch
|
2025-07-11 19:42:45 +08:00
|
|
|
-->
|
|
|
|
|
|
2025-07-12 21:01:38 +08:00
|
|
|
<!-- Set node name -->
|
2025-07-11 19:42:45 +08:00
|
|
|
<arg name="node_name" default="host_sdk_sample"/>
|
|
|
|
|
|
2025-07-12 21:01:38 +08:00
|
|
|
<!-- Set parameter file path -->
|
|
|
|
|
<arg name="config_file" default="$(find odin_ros_driver)/config/control_command.yaml"/>
|
|
|
|
|
|
|
|
|
|
<!-- Set RViz configuration file path -->
|
|
|
|
|
<arg name="rviz_config" default="$(find odin_ros_driver)/config/odin_ros.rviz"/>
|
|
|
|
|
|
|
|
|
|
<!-- Launch main node -->
|
2025-07-11 19:42:45 +08:00
|
|
|
<node name="$(arg node_name)" pkg="odin_ros_driver" type="host_sdk_sample" output="screen">
|
2025-07-12 21:01:38 +08:00
|
|
|
<param name="config_file" value="$(arg config_file)"/>
|
2025-07-11 19:42:45 +08:00
|
|
|
</node>
|
2025-09-09 21:11:04 +08:00
|
|
|
|
|
|
|
|
<node pkg="odin_ros_driver" type="pcd2depth_node" name="pcd2depth_node" output="screen" >
|
|
|
|
|
<rosparam command="load" file="$(find odin_ros_driver)/config/control_command.yaml"/>
|
|
|
|
|
<param name="calib_file_path" value="$(find odin_ros_driver)/config/calib.yaml"/>
|
|
|
|
|
</node>
|
2025-07-12 21:01:38 +08:00
|
|
|
|
|
|
|
|
<!-- Launch RViz with configuration -->
|
|
|
|
|
<node name="rviz" pkg="rviz" type="rviz" args="-d $(arg rviz_config)" output="screen"/>
|
|
|
|
|
</launch>
|