simulation
読み取り中…
検索中…
一致する文字列を見つけられません
nav_2d.launch.py
[詳解]
1"""保存済みの2D RTAB-Map地図で位置を推定し、GazeboでNav2を起動する。"""
2
3from launch import LaunchDescription
4from launch.actions import IncludeLaunchDescription
5from launch.launch_description_sources import PythonLaunchDescriptionSource
6from launch.substitutions import PathJoinSubstitution
7from launch_ros.substitutions import FindPackageShare
8
9
11 return LaunchDescription([
12 IncludeLaunchDescription(
13 PythonLaunchDescriptionSource(
14 PathJoinSubstitution([
15 FindPackageShare('simulation'), 'launch', 'simulation_launch.py'])),
16 launch_arguments={
17 'enable_slam': 'false',
18 'enable_nav2': 'true',
19 'enable_nodding_lidar': 'false',
20 'enable_ground_segmentation': 'false',
21 'enable_teleop': 'false',
22 'enable_rtabmap_viz': 'true',
23 'enable_rviz': 'true',
24 }.items()),
25 ])
generate_launch_description()