spark-groupx/src/spark/spark_teleop/launch/teleop.launch

25 lines
1.2 KiB
XML
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!--让SPARK跑起来-->
<launch>
<!-- 启动哪种摄像机 -->
<arg name="camera_type_tel" default="astrapro" doc="camera type [astrapro, astra, d435...]"/>
<arg name="lidar_type_tel" default="3iroboticslidar2" doc="lidar type [3iroboticslidar2, ydlidar_g2]"/>
<!--spark底盘驱动机器人描述,底盘,相机-->
<include file="$(find spark_bringup)/launch/driver_bringup.launch">
<arg name="camera_type_tel" value="$(arg camera_type_tel)"/>
<arg name="lidar_type_tel" value="$(arg lidar_type_tel)"/>
</include>
<!-- 启动雷达 -->
<include file="$(find lidar_driver_transfer)/launch/$(arg lidar_type_tel).launch">
</include>
<!--spark键盘控制 “wsad”分别代表“前后左右”-->
<!--node pkg="spark_teleop" type="spark_teleop_node" name="spark_teleop_node" args="0.15 0.5"/-->
<!--在rviz显示-->
<arg name="rvizconfig" default="$(find spark_teleop)/rviz/teleop_$(arg camera_type_tel).rviz" />
<node name="rviz" pkg="rviz" type="rviz" args="-d $(arg rvizconfig)" required="true" />
<!--创建新的终端spark键盘控制 “wsad”分别代表“前后左右”-->
<node pkg="spark_teleop" type="keyboard_control.sh" name="kc" />
</launch>